This set of MCQ(multiple choice questions) focuses on the NPTEL Operating System Fundamentals Week 11 Assignment Solutions.
You should practice these questions to improve Operating System Fundamentals needed for various interviews (like company interview, campus interview, walk-in interview), entrance exams, placements and other competitive exams. All the questions in this particular section are based on only “NPTEL Operating System Fundamentals Week 11 Assignment Solutions“.
Week 1: Introduction
Week 2: Processes and Threads – Part I
Week 3: Processes and Threads – Part II
Week 4: Inter-process Communication
Week 5: Concurrency and Synchronization – Part I
Week 6: Concurrency and Synchronization – Part II
Week 7: Deadlock
Week 8: CPU Scheduling
Week 9: Memory Management
Week 10: Virtual Memory – Part I
Week 11: Virtual Memory – Part II
Week 12: File System Processes and Threads – Part I
NPTEL Operating System Fundamentals Week 11 Assignment Solutions
Q1. For the page reference string 2, 3, 0, 1, 5, 4, 0, 1, 2, 5, 4, 3, 4, 2, 3, 5 compute the number of page faults following a LRU page replacement policy with 3 memory frames (initially empty).
a) 16
b) 14
c) 12
d) 10
Answer: a) 16
Q2. An optimal page replacement algorithm –
a) Always has lowest page fault rate among all algorithms
b) Will never suffer from Belady’s anomaly
c) Difficult to implement as it needs future knowledge of the reference string
d) All of the above
Answer: d) All of the above
Q3. Select the incorrect statement regarding thrashing –
a) Local page replacement can limit the effects of thrashing
b) Priority page replacement can limit the effects of thrashing
c) Thrashing occurs when the size of all locality exceeds the memory size
d) None of the above
Answer: d) None of the above
Q4. Which of the following page replacement algorithm exhibits Belady’s anomaly?
a) Least recently used (LRU)
b) First in First out (FIFO)
c) Optimal page replacement
d) None of the above
Answer: b) First in First out (FIFO)
Q5. When a page is selected for replacement, and its modify bit is set –
a) the page is clean
b) the page has been modified since it was read in from the disk
c) the page is dirty
d) the page has been modified since it was read in from the disk & page is dirty
Answer: d)
Q6. Select the correct order of basic page replacement –
a) I, II, IV, III
b) III, IV, I, II
c) III, I, IV, II
d)I, IV, II, III
Answer: c) III, I, IV, II
Q7. For the following reference-modify ordered pair, match the following columns –
a) I-Q, II-P, III-R, IV-S
b) I-Q, II-P, III-S, IV-R
c) I-R, II-P, III-Q, IV-S
d) I-R, II-P, III-S, IV-Q
Answer: d) I-R, II-P, III-S, IV-Q
Q8. The aim of creating page replacement algorithms is to-
a) replace the page faster
b) maximize the page fault rate
c) minimize the page fault rate
d) to allocate multiple pages to processes
Answer: c) minimize the page fault rate
Q9. A page replacement occurs when –
a) Free frames become available
b) A page fault occurs and we need to bring the desired page into memory
c) Multiple pages are to be allocated to a process
d) None of the above
Answer: b)
Q10. Which of the following statement is correct about replacement policy?
a) A local replacement policy considers all unblocked pages in main memory as candidates for replacement regardless of which process owns a particular page
b) Global replacement policy shows more consistent per-process performance
c) In local replacement policy, process selects a replacement frame from the set of all frames
d) Global replacement policy has greater throughput and thus is more commonly used policy
Answer: d)
<< Prev- Operating System Fundamentals Week 10 Assignment Solutions
Introduction To Internet Of Things | NPTEL | Assignment Solutions
170+ Grammar quiz: Beginner’s Level questions
Java Programming: Coursera quiz answers
Online Web development Test for Hiring and Recruitment
The above question set contains all the correct answers. But in any case, you find any typographical, grammatical or any other error in our site then kindly inform us. Don’t forget to provide the appropriate URL along with error description. So that we can easily correct it.
Thanks in advance.
For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.