πŸ§ͺ 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

ο»ΏPaging policy is :-





βœ… Correct Answer: 2

Which type of partitioning we can do in paging policy-





βœ… Correct Answer: 3

Which policy should we use in space allocation method ?





βœ… Correct Answer: 4

Next fit is a policy of -





βœ… Correct Answer: 3

Next fit is a improvement version of -





βœ… Correct Answer: 2

Variable sized partition may suffers with which kind of fragmentation ?





βœ… Correct Answer: 2

Fixed sized partition may suffers with which kind of fragmentation ?





βœ… Correct Answer: 1

Page table in paging is a





βœ… Correct Answer: 2

Which of the following are true ?





βœ… Correct Answer: 4

Which of the following are true ?





βœ… Correct Answer: 2

Paging policy is independent from the -





βœ… Correct Answer: 2

PTBR stands for-





βœ… Correct Answer: 3

Physical address are the combination of -





βœ… Correct Answer: 3

Page fault is occur when-





βœ… Correct Answer: 2

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.





βœ… Correct Answer: 2

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.





βœ… Correct Answer: 4

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.





βœ… Correct Answer: 3

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.





βœ… Correct Answer: 1

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.





βœ… Correct Answer: 2

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.





βœ… Correct Answer: 3

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





βœ… Correct Answer: 1

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.





βœ… Correct Answer: 1

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.





βœ… Correct Answer: 4

which of the following are true ?





βœ… Correct Answer: 4

TLB stands for -





βœ… Correct Answer: 2

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.





βœ… Correct Answer: 3

Which of the following are true about TLB ?





βœ… Correct Answer: 2

TLB may be-





βœ… Correct Answer: 4

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





βœ… Correct Answer: 2

TLB is -





βœ… Correct Answer: 1

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 ?





βœ… Correct Answer: 4

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 ?





βœ… Correct Answer: 3

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





βœ… Correct Answer: 1

Belady anomaly is occur in case of-





βœ… Correct Answer: 2

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





βœ… Correct Answer: 3

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 ?





βœ… Correct Answer: 4

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





βœ… Correct Answer: 1

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 ?





βœ… Correct Answer: 3

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 ?





βœ… Correct Answer: 2

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 ?





βœ… Correct Answer: 4

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 ?





βœ… Correct Answer: 3

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 ?





βœ… Correct Answer: 1

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





βœ… Correct Answer: 2

In single inter-leaving, the transfer time is





βœ… Correct Answer: 1

In double inter-leaving , the transfer time is become





βœ… Correct Answer: 3

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.





βœ… Correct Answer: 4

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.





βœ… Correct Answer: 1

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.





βœ… Correct Answer: 2

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.





βœ… Correct Answer: 1

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.





βœ… Correct Answer: 2