GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 1409 - 1414 of 2080

Access detailed explanations (illustrated with images and videos) to 2080 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. Unlimited Access, Unlimited Time, on Unlimited Devices!

View Sample Explanation or View Features.

Rs. 550.00 -OR-

How to register? Already Subscribed?

Question 1409

Question

MCQ▾

What is the Big-O estimate for the function given below?

Choices

Choice (4)Response

a.

b.

c.

d.

Question 1410

Question

MCQ▾

What is the output of the program given below?

  1. #include<iostream>
  2. usingnamespacestd;
  3. intfun(inta,intb=1,intc=2)
  4. {
  5.     return(a+b+c);
  6. }
  7. intmain()
  8. {
  9.     coutfun(12,,2);
  10.     return0;
  11. }

Choices

Choice (4)Response

a.

14

b.

Compiler Error

c.

15

d.

3

Question 1411

Question

MCQ▾

In Computer networks, Tunneling is also known as ________.

Choices

Choice (4)Response

a.

Port Forwarding

b.

Route Forwarding

c.

Source Forwarding

d.

Question does not provide sufficient data or is vague

Question 1412

Question

MCQ▾

In an operating system, resources can only be released by the process holding it, after the process is finished. No operating system intervention is allowed. This satisfies which condition of the deadlock?

Choices

Choice (4)Response

a.

Hold and wait

b.

Circular Wait

c.

Mutual exclusion

d.

No preemption

Question 1413

Question

MCQ▾

________ is the order of drives that the system follows when looking for the operating system to boot.

Choices

Choice (4)Response

a.

BIOS

b.

Boot Sequence

c.

POST

d.

Question does not provide sufficient data or is vague

Question 1414

Question

MCQ▾

Below is a C ++ program fragment.

  1. intmain()
  2. {
  3.     chara[50];
  4.     printf("%d",scanf("%s",a));
  5.     getchar();
  6. }

When prompted for the input value, the user types “Switzerland” .

What is the output of this program?

Choices

Choice (4)Response

a.

1

b.

83

c.

11

d.

Compiler error

Developed by: