Click to Get updated NTA UGC NET CS Test Series           Study Material for UGC NET Computer Science- 2019

Operating System - Virtual Memory

6:

If a virtual memory system has 4 pages in real memory and the rest must be swapped to disk. Which of the following is the hit ratio for the following page address stream. Assume that memory starts emply. Use the First In First Out (FIFO) algorithm.

 A. 10% B. 15% C. 25% D. 31% Answer Report Discuss Option: D Explanation : Click on Discuss to view users comments. Write your comments here:
7:

A computer system has 4 k word cache organised in a block-set-associative manner, with 4 blocks per set, 64 words per block. The number of bits in the SET and WORD fields of the main memory address format is

 A. 15, 4 B. 6, 4 C. 7, 2 D. 4, 6 Answer Report Discuss Option: D Explanation : There are 64 words in a block. So 4K cache has ( 4 x 1024)/64 = 64 blocks. Since 1 set has 4 blocks, there are 16 sets. 16 sets needs 4 bits for representation. In a set there are 4 blocks, which needs 2 bits. Each block has 64 words. So, the word field has 6 bits. Click on Discuss to view users comments. Write your comments here:
8:

The address sequence generated by tracing a particular program executing in a pure demand paging system with 100 records per page, with a free main memory frame is recorded as follows. What is the number of page faults ? 0100,0200,0430,0499,0510,0530,0560,0120, 0220,0240,0260,0320,0370.

 A. 13 B. 8 C. 7 D. 10 Answer Report Discuss Option: C Explanation : When it tries to access 0100, it results in a page fault as the memory is empty. right now. So, it loads the second page (which has the addresses 100-199). Trying to access 200 will result in a page fault, as it is not in memory right now. So the third page with the addresses from 200 to 299 will replace the second page in memory. Trying to access 430 will result in another page fault. Proceeding this way, we find trying to access the addresses 0510, 0120, 0220, 0320 will all result in page faults. So, altogether 7 page faults. Click on Discuss to view users comments. Write your comments here:
9:

In a paged segmented scheme of memory management, the segment table itself must have a page table because

 A. the segment is spread over a number to hit in one page B. each segment is spread over a number of pages C. segment tables point to page tables and not to the physical location of the segment D. the processor's description base register points to a page table Answer Report Discuss Option: B Explanation : Click on Discuss to view users comments. Write your comments here:

Related MCQ

Syllabus covered in this section is-

• Main functions of operating systems
• Memory Management- Virtual memory, paging, fragmentation
• Concurrent Processing: Mutual exclusion, Critical regions, locks and unlock.
• Scheduling: CPU scheduling. I/O scheduling, Resource scheduling
• Banker's algorithm for deadlock handling.

This Section covers Operating System Questions Answers .These questions can be used for the preparation of various competitive and academic exams like

• UGC NET Computer Science
• Pre PhD Entrance Exam
• DOEACC Exams
• Kendriya Vidyalaya Sangathan Entrance Exam
• GATE Computer Science
• Post Graduate Computer Science Test
•  PhD Entrance Exam
• Computer Engineering
• State Eligibility Test (SET)
• National Eligibility Test (NET)

Who can benefit

• Operating System Objective Questions Answers can be used by any student who is preparing for PhD entrance exam, pre PhD entrance exam, entrance exam or any other such exam.
• Any student who is preparing for DOEACC exams can also use Operating System questions answers for preparation of his exams.
• Operating System mcq can be useful for the students who are pursuing any undergraduate or post graduate degree in computer science like BE, ME , Btech, Mtech, .BSc, MSc, BCA, MCA, BS, MS  or any other such degree
• Operating System mcq with answers and explanation can also be useful for the students who are preparing for any competitive exam or recruitment exams like GATE Computer Science, UGC NET Computer Science, Kendriya Vidyalaya Sangathan PGT exam, PSU, IES or any other such exam.
• Operating System multiple choice questions answers  can also be used by any candidate who wants to gain credits in Operating System in BS Computer science or MS Computer science,