Programming and Data Structures [GATE (Graduate Aptitude Test in Engineering) Computer Science & IT (CS)]: Questions 78 - 82 of 470
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 78
Question MCQ▾
Thrashing can be avoided if
Choices
Choice (4) | Response | |
---|---|---|
a. | the speed of CPU is increased | |
b. | the speed of I/O processor is increased | |
c. | the pages, belonging to the working set of the programs, are in main memory | |
d. | Question does not provide sufficient data or is vague |
Question 79
Question MCQ▾
The LRU algorithm
Choices
Choice (4) | Response | |
---|---|---|
a. | pages out pages that have been least used recently | |
b. | pages out pages that have been used recently | |
c. | pages out pages that have not been used recently | |
d. | All of the above |
Question 80
Question MCQ▾
Situation where two or more processes are reading or writing some shared data and the final result depends upon who runs precisely is called?
Choices
Choice (4) | Response | |
---|---|---|
a. | mutual exclusion | |
b. | critical section | |
c. | race condition | |
d. | message passing |
Question 81
Question MCQ▾
What will be output if you will compile and execute the following c code?
#define message "union is power of c" void main(){
clrscr();
printf("%s",message);
getch();
}
Choices
Choice (4) | Response | |
---|---|---|
a. | union is power of c | |
b. | compiler error | |
c. | power is of c | |
d. | All of the above |
Question 82
Question MCQ▾
A regular grammar is a … ?
Choices
Choice (4) | Response | |
---|---|---|
a. | Non context free grammar | |
b. | Context free grammar | |
c. | English grammar | |
d. | None of the above |