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. |
Question 1408
Question MCQ▾
What is the output of the program given below?
#include<iostream>
usingnamespacestd;
intfun(inta,intb=1,intc=2)
{
return(a+b+c);
}
intmain()
{
cout≪fun(12,,2);
return0;
}
Choices
Choice (4) | Response | |
---|---|---|
a. | 14 | |
b. | Compiler Error | |
c. | 15 | |
d. | 3 |
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 |
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 |
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 |
Question 1412
Question MCQ▾
Below is a C ++ program fragment.
intmain()
{
chara[50];
printf("%d",scanf("%s",a));
getchar();
}
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 |