Operating system/paging Sample Test,Sample questions

Question: 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.

1.10,32,25

2.22,10,15

3.15,32,22

4.10,22,15


Question: 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.

1.12

2.10

3.3

4.23


Question: 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.

1.16 KB

2.16 MB

3.8 KB

4.8 MB


Question: 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

1.16 KB

2.16 MB

3.8 KB

4.8 MB


Question: 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.

1.8 MB

2.16 MB

3.4 GB

4.None of the above


Question: 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.

1.7GB

2.4GB

3.8GB

4.16GB


Question: 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.

1.16 MB

2.8 MB

3.32 MB

4.None of the above


Question: Fixed sized partition may suffers with which kind of fragmentation ?

1.Internal fragmentation

2.External fragmentation

3.Global fragmentation

4.local fragmentation


Question: 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.

1.32MB

2.16MB

3.8MB

4.64MB


Question: 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.

1.no change

2.34%

3.3.44%

4.2.5%


Question: Next fit is a improvement version of -

1.Best fit

2.first fit

3.worst fit

4.All of the above


Question: Next fit is a policy of -

1.Disc scheduling

2.Process management

3.Space allocation method

4.None of the above


Question: Page fault is occur when-

1.frame of process are not present in main memory

2.required page of process are not present in main memory

3.all page of process are not present in main memory

4.process in not present in secondary memory


Question: Page table in paging is a

1.Hardware solution

2.Software solution

3.We implement in both way

4.None of the above


Question: Paging policy is :-

1.contiguous memory allocation

2.non contiguous allocation

3.Memory allocation

4.None of the above


Question: Paging policy is independent from the -

1.Internal fragmentation

2.External fragmentation

3.Both of the above

4.None of the above


Question: Physical address are the combination of -

1.page number with offset

2.virtual address with offset

3.frame number with offset

4.its a 32 bit address


Question: PTBR stands for-

1.primary table base register

2.process time block register

3.page table base register

4.None of the above


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

1.operating entry

2.wired down entry

3.wired up entry

4.No such kind of entry are available in TLB


Question: TLB is -

1.Hardware solution

2.Software solution

3.Both of the above

4.None of the above


Question: TLB may be-

1.2-K set associative

2.4-K set associative

3.8-K set associative

4.All of the above


Question: TLB stands for -

1.transfer lookaside buffer

2.translation lookaside buffer

3.Both of the above

4.None of the above


Question: Variable sized partition may suffers with which kind of fragmentation ?

1.Internal fragmentation

2.External fragmentation

3.Global fragmentation

4.local fragmentation


Question: 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.

1.16MB

2.2MB

3.8MB

4.24MB


Question: Which of the following are true ?

1.Blocks in secondary memory are called as page while block in main memory are called as frame

2.Blocks in secondary memory are called as frame while block in main memory are called as page

3.The page size is equal as the frame size

4.1 and 3 are true


Question: Which of the following are true ?

1.Every process have common page table

2.Every process have separate page table

3.depend on process

4.depends on number


Question: which of the following are true ?

1.page table size is equal to the size of each entry multiple with number of enrty in page table

2.number of pages in process is equal to the process size divided by page size

3.page table contain meta data

4.All of the above


Question: Which of the following are true about TLB ?

1.It is a buffer which have one column contain the corresponding frame number

2.It is a buffer which have two column, first column contain page number and second number contain corresponding frame number

3.TLB are have some special bit like valid bit, flag bit

4.All of the above


Question: Which policy should we use in space allocation method ?

1.First fit

2.best fit

3.worst fit

4.All of the above


Question: Which type of partitioning we can do in paging policy-

1.Global partitioning

2.Variable paritioning

3.Fixed partitioning

4.All of the above


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!