🧪 Operating system MCQ Quiz Hub

paging|Page replacement policy|Secondary memory and Disk scheduling

Choose a topic to test your knowledge and improve your Operating system skills

1. Paging policy is :-




2. Which type of partitioning we can do in paging policy-




3. Which policy should we use in space allocation method ?




4. Next fit is a policy of -




5. Next fit is a improvement version of -




6. Variable sized partition may suffers with which kind of fragmentation ?




7. Fixed sized partition may suffers with which kind of fragmentation ?




8. Page table in paging is a




9. Which of the following are true ?




10. Which of the following are true ?




11. Paging policy is independent from the -




12. PTBR stands for-




13. Physical address are the combination of -




14. Page fault is occur when-




15. Consider a system where main memory is 32 MB and length of logical address is 32 bit, if size of each page is 1 KB, find the number of offset bit.




16. Consider a system where main memory is 32 MB and length of logical address is 32 bit, if size of each page is 1 KB, find the number of offset bit, frame bit and page bit.




17. Consider main memory of 64 MB, each page are of 1 KB and the secondary memory is of 16 GB, find the total wastage in maintaining the page table.




18. If virtual address are of 34 bit and number of offset bit is 10. and each entry of frame in page table is of 2B, then find the total wastage in maintaining the page table.




19. we have main memory is of 64 MB, virtual address is of 32 bit, page size is 4 KB, find total wastage in page table.




20. Consider a system where secondary memory is 256 GB, each page is 2 KB , if main memory is of 512 KB, find space wastage in page table because of a process of size 16 MB.




21. Consider a system where secondary memory is 256 GB, each page is 2 KB , if main memory is of 512 KB, find space wastage in page table because of a process of size 32 MB




22. Consider a system where secondary memory is 4 TB, each page is 512 B , if main memory is of 8 GB, page table size is of 42 MB, find the size of a process.




23. Consider a system where secondary memory is 4 TB, each page is 512 B , if main memory is of 8 GB, if process of size 72 MB, find the size of its page table.




24. which of the following are true ?




25. TLB stands for -




26. Main memory excess time is 400ms, TLB excess time is 100ms, if hit ratio of TLB is 80%, find the percent improvement with parallel to TLB excess compared to sequential excess.




27. Which of the following are true about TLB ?




28. TLB may be-




29. Some of the entry in TLB are reserved for operating system called as




30. TLB is -




31. Consider a page string 1 2 3 4 1 2 5 1 2 3 4 5, and we have 3 number of frame available, and if we use FIFO policy for page replacement policy then the number of page fault occur is ?




32. Consider a page string 1 2 3 4 1 2 5 1 2 3 4 5, and we have 4 number of frame available, and if we use FIFO policy for page replacement policy then the number of page fault occur is ?




33. When we increases the number of frame so instead of decreasing the page fault it can increases, this type of anomaly known as




34. Belady anomaly is occur in case of-




35. Which of the page replacement policy are not to be implemented in practical situation ?




36. While executing some processes,Page fault occur in FIFO, LRU and optimal are x,y and z respectively. which of the following are always considered as true ?




37. Which of the following page replacement policy guarantees minimal page fault ?




38. Number of frame given is 3, and page strings are 2,3,4,2,1,5,3,2,4,6 if we use optimal page replacement policy then number of page faults occurs is ?




39. Number of frame given is 5, and page strings are 3,8,2,3,9,1,6,3,8,9,3,6,2,1,3 if we use FIFO page replacement policy then number of page faults occurs is ?




40. Number of frame given is 5, and page strings are 3,8,2,3,9,1,6,3,8,9,3,6,2,1,3 if we use LRU page replacement policy then number of page faults occurs is ?




41. Consider a disk where each sector contain 256 bytes, each track contains 512 sectors and disk contain 64 tracks, what is the capacity of disk ?




42. Consider a disk where each sector contain 64 bytes, each track contains 128 sectors and disk contain 1000 tracks, what is the capacity of disk ?




43. Time taken by read/write header to reach the correct track is -




44. In single inter-leaving, the transfer time is




45. In double inter-leaving , the transfer time is become




46. Consider a circular disk where tracks are numbered from 0 to 100, if we have a following request vector 4,34,10,19,73,89,17 If currently header at 22 and moving up,find the total head moment in order to satisfy this request using FCFS.




47. Consider a circular disk where tracks are numbered from 0 to 100, if we have a following request vector 4,34,10,19,73,89,17 If currently header at 22 and moving up,find the total head moment in order to satisfy this request using SSTF.




48. Consider a circular disk where tracks are numbered from 0 to 100, if we have a following request vector 4,34,10,19,73,89,17 If currently header at 22 and moving up,find the total head moment in order to satisfy this request using Scan.




49. Consider a circular disk where tracks are numbered from 0 to 100, if we have a following request vector 4,34,10,19,73,89,17 If currently header at 22 and moving up,find the total head moment in order to satisfy this request using LOOK.




50. Consider a circular disk where tracks are numbered from 0 to 100, if we have a following request vector 4,34,10,19,73,89,17 If currently header at 22 and moving up,find the total head moment in order to satisfy this request using C-Scan.