Operating System - Memory Management

6:  

In real-time operating systems, which of the following is the most suitable scheduling scheme?

A.

round-robin

B.

first-come-first-served

C.

preemptive

D.

random scheduling

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



7:  

Dirty bit is used to show the

A.

page with corrupted data

B.

the wrong page in the memory

C.

page that is modified after being loaded into cache memory

D.

page that is less frequently accessed

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



8:  

If there are 32 segments, each of size 1 K byte, then the logical address should have

A.

13 bits

B.

14 bits

C.

15 bits

D.

16 bits

 
 

Option: C

Explanation :

Th specify a particular segment, 5 bits are required (since 25 = 32). . Having selected a page, to select a particular byte one needs 10 bits (since 210 = 1 k byte). So, totally 5 + 10 =15 bits are needed.

Click on Discuss to view users comments.

Write your comments here:



9:  

The first-fit, best-fit and the worst-fit algorithm can be used for

A.

contiguous allocation of memory

B.

linked allocation of memory

C.

indexed allocation of memory

D.

all of these

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



10:  

Consider a computer with 8 Mbytes of main memory and a 128 K cache. The cache block size is 4 K. It uses a direct mapping scheme for cache management. How many different main memory blocks can map onto a given physical cache block ?

A.

2048

B.

256

C.

64

D.

None of these

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Amit Kumar said: (1:51pm on Monday 5th October 2015)
No of blocks in cache= 128k/4k = 32 and 1 main memory=8 Mb/128k=8*2^20/128*2^10 = 64 cache memories So no of blocks in main memory=32*64 So Number of main memory blocks map onto 32 blocks of cache=64*32 and number of main memory blocks map onto any given physical cache block=64*32/32=64
Debendra said: (7:49pm on Sunday 19th June 2016)
No of Frames in Main memory= 8*2^20 Bytes/4*2^10Bytes=2^11No of Cache Blocks:128*2^10/4*2^10=32=2^5So Ans: 2^11/2^5=2^6=64

Write your comments here:




Syllabus covered in this section is-

  • Main functions of operating systems
  • Multiprogramming, multiprocessing and multitasking
  • Memory Management- Virtual memory, paging, fragmentation
  • Concurrent Processing: Mutual exclusion, Critical regions, locks and unlock.
  • Scheduling: CPU scheduling. I/O scheduling, Resource scheduling
  • Deadlock and scheduling algorithms.
  • 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
  • Undergraduate Computer Science Examinations
  • 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,
  • You can download Operating System mcq pdf from this site.
  • You can get access to Operating System multiple choice questions answers EBook.

Various search terms used for This section are

  • Operating System Quiz Questions With Answers

  • Operating System Exam Questions Answers

  • Operating System Mcq Questions Answers

  • Operating System Mcq Pdf Download