My Report

Operating System Practice Test 7


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 5%

Question 1 of 20

1. In the tree structured directories _____________

Question 1 of 20

Question 2 of 20

2. When using counters to implement LRU, we replace the page with the ____________

Question 2 of 20

Question 3 of 20

3. Which file is a sequence of bytes organized into blocks understandable by the system's linker?

Question 3 of 20

Question 4 of 20

4. When a user job starts in a two level directory system, or a user logs in _____________

Question 4 of 20

Question 5 of 20

5. System wide table in UNIX contains process independent information such as ____________

Question 5 of 20

Question 6 of 20

6. Consider the following page reference string.
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
For Optimal page replacement algorithms with 3 frames, the number of page faults is?

Question 6 of 20

Question 7 of 20

7. What will happen in the two level directory structure?

Question 7 of 20

Question 8 of 20

8. The directory can be viewed as a _________ that translates file names into their directory entries.

Question 8 of 20

Question 9 of 20

9. A relative block number is an index relative to ____________

Question 9 of 20

Question 10 of 20

10. A memory page containing a heavily used variable that was initialized very early and is in constant use is removed, then the page replacement algorithm used is ____________

Question 10 of 20

Question 11 of 20

11. If the memory access time is denoted by 'ma' and 'p' is the probability of a page fault (0 <= p <= 1). Then the effective access time for a demand paged memory is ____________

Question 11 of 20

Question 12 of 20

12. Increasing the RAM of a computer typically improves performance because ____________

Question 12 of 20

Question 13 of 20

13. What is raw disk?

Question 13 of 20

Question 14 of 20

14. Consider the following page reference string.
1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
For LRU page replacement algorithm with 4 frames, the number of page faults is?

Question 14 of 20

Question 15 of 20

15. Applying the LRU page replacement to the following reference string.
1 2 4 5 2 1 2 4
The main memory can accommodate 3 pages and it already has pages 1 and 2. Page 1 came in before page 2.
How many page faults will occur?

Question 15 of 20

Question 16 of 20

16. Data cannot be written to secondary storage unless written within a ______

Question 16 of 20

Question 17 of 20

17. Thrashing _______ the CPU utilization.

Question 17 of 20

Question 18 of 20

18. _________ replacement allows a process to select a replacement frame from the set of all frames, even if the frame is currently allocated to some other process.

Question 18 of 20

Question 19 of 20

19. In UNIX, what is a link?

Question 19 of 20

Question 20 of 20

20. The data structure used for file directory is called ____________

Question 20 of 20


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.