This set of MCQ(multiple choice questions) focuses on the NPTEL Operating System Fundamentals Week 9 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 9 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
Operating System Fundamentals NPTEL 2022 Week 9 Assignment Solutions
Q1. Which of the following statements regarding a segment table is incorrect?
a) STBR points to the segment table’s location in memory
b) Base contains the starting physical address where a segments reside in memory
c) STLR indicates number of segments used by a program
d) Segment number s is legal if s>STLR
Answer: d) Segment number s is legal if s>STLR
Q2. The reason why the CPU has to stall occasionally is? –
a) The processor might not have enough data to carry out the instruction since access to the register may take many CPU clocks.
b) Memory access may take multiple CPU clocks and the processor might not have the data required to complete the instruction execution
c) Access to cache may not be allowed for several clock cycles, thus the processor might lack data for execution of the instruction
d) None of the above
Answer: b)
Q3. Which of the following techniques is used to secure memory?
a) One user process cannot access the memory of another user process
b) A base register and a limit register define the boundary of a program in memory
c) CPU must check that every memory access generated in user mode is restricted within the base and base + some limit for that user
d) All of the above
Answer: d) All of the above
Q4. Which of the following claims about external fragmentation is true?
a) Compaction is possible only when I/O is in progress involving memory that is being compacted
b) Compaction is not possible if relocation is dynamic, and is done at execution time
c) The memory contents are shuffled to place all the free memory together in one large block
d) None of the above
Answer: c)
Q5. In dynamic linking –
a) Stub is used for locating the appropriate memory-resident library routine
b) Can be postponed until the execution time
c) OS checks if routing is in processes’ memory address and if it not in address space, then it is added to the address space
d) All of the above
Answer: d) All of the above
Q6. Map the following columns –
a) p-v, q-u, r-w
b) p-w, q-v, r-u
c) p-v, q-w, r-u
d) none of the above
Answer: c) p-v, q-w, r-u
Q7. Which of the below statements is false?
a) Absolute code can be created at compile time when a memory location is known, but it must be recompiled each time the beginning point changes
b) If hardware support is unavailable at load time and memory location is unknown at compile time, relocatable code must be produced (in software)
c) If the process may be transferred while it is running from one memory segment to another, binding is postponed until run time
d) None of the above
Answer: d) None of the above
Q8. Between logical and physical addresses
a) Both are generated by MMU
b) Both are generated by CPU
c) MMU generates logical address while CPU generates physical address
d) While MMU creates physical addresses, the CPU creates logical addresses.
Answer: d)
Q9. In a hierarchical paging policy, there are 4 hierarchical pages. The system does not use cache. The number of actual memory accesses to access a particular memory location will be
a) 2
b) 3
c) 4
d) 5
Answer: d) 5
Q10. Which of the below statements is false?
a) Depending on the value of the program counter, the CPU fetches instructions from Main memory
b) The memory of another user process cannot be accessed by another user process
c) Memory unit only sees a stream of address and read requests or, address, data and write requests
d) Memory unit keeps track of how the addresses were generated
Answer: d)
Previous Course – Week 9 Assignment Solutions
Q1. Which one of the following is the address generated by CPU?
a. physical address
b. absolute address
c. logical address
d. none of the mentioned
Ans. c
Q2. What is the swap space in the disk used for?
a. Saving temporary html pages
b. Saving process data
c. Storing the super-block
d. Storing device drivers
Ans. b
Q3. Which register holds the smallest legal address of a program in memory?
a. base register
b. limit register
c. count register
d. none of the above
Ans. a
Q4. Address binding of instructions and data to memory address can happen in?
a. Compile time
b. Load time
c. Execution time
d. all of the above
Ans. d
Q5. External fragmentation exists when?
a. there is enough memory to satisfy request but it is not contiguous
b. a request cannot be satisfied even when total memory is free
c. total memory is insufficient to satisfy a request
d. none of the above
Ans. a
Q6. Which table contains the base address of each page in physical memory?
a. process table
b. page table
c. memory table
d. none
Ans. b
Q7. What is compaction?
a. a technique for overcoming internal fragmentation
b. a paging technique
c. a technique for external fragmentation
d. none
Ans. c
Q8. Which address is generated by the Memory Management Unit (MMU)?
a. logical address
b. physical address
c. absolute address
d. none of the mentioned
Ans. b
Q9. The size of a page is ?
a. power of 3
b. power of 9
c. power of 2
d. none of the mentioned
Ans. c
Q10. Logical is divided into which of the following one?
a. Frames
b. Pages
c. partitions
d. none of the above
Ans. b)
<< Prev- Operating System Fundamentals Week 8 Assignment Solutions
<< Next- Operating System Fundamentals Week 10 Assignment Solutions
NPTEL answers: Problem solving through programming in C
Introduction To Internet Of Things | NPTEL | Assignment Solutions
NPTEL Leadership assignment solutions
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.