GATE (Graduate Aptitude Test in Engineering) Computer Science & IT (CS): Questions 1407 - 1412 of 3196

Choose Programs:

🎓 Study Material (1190 Notes): 2024-2025 Syllabus

Rs. 1000.00 -OR-

3 Year Validity (Multiple Devices)

Topic-wise Notes & SampleDetails

🎯 302 Numeric, 2894 MCQs (& PYQs) with Full Explanations (2024-2025 Exam)

Rs. 650.00 -OR-

3 Year Validity (Multiple Devices)

CoverageDetailsSample Explanation

Help me Choose & Register (Watch Video) Already Subscribed?

Question 1407

Question MCQ▾

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

Choices

Choice (4)Response

a.

b.

c.

d.

Edit

Question 1408

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

Edit

Question 1409

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

Edit

Question 1410

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

Edit

Question 1411

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

Edit

Question 1412

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

Edit