Monday, April 14, 2014

Operating System PART 1

MCQ – Operating System

1. Moving Process from main memory to disk is called
a) scheduling
b)caching
c) swapping
d) spooling
Ans: C
2. Producer consumer problem can be solved using
a) semaphores
b)event counters
c)monitors
d) All of the above
Ans: D
3. Special software to create a job queue is called a
a)Drive
b) Spooler
c)Interpreter
d) Linkage editor
Ans: B
4. Thrashing
a) is a natural consequences of virtual memory system
b) can always be avoided by swapping
c)always occurs on large computers
d)can be caused by poor paging algorithms
Ans: D
5. Memory management is
a) not used in modern operating system
b)replaced with virtual memory on current system
c) not used on multiprogramming systems
d) critical for even the simplest operating system
Ans: B
6. Which is not true about the memory management?
a)virtual memory is used in multi-user system
b) segmentation suffers from external fragmentation
c) paging suffers from internal fragmentation
d) segmented memory can be paged
Ans: A
7. In the multiprogramming system, a set of processes is deadlock if each process in the set is waiting for an event to occur that can be initialized only by another process in the set. Which of the following is not one of the four conditions that are necessary for deadlock to occur?
a) nonpreemption
b) process suspension
c) partial assigment of resources
d)circular wait
Ans: B
8. Block or Buffer caches are used
a) to improve disk performance
b) to handle interrupts
c) to increase the capacity of main memory
d) to speed up main memory read operation
Ans: A
9. In virtual memory systems, Dynamic address translation
a) is the hardware necessary to implemented paging
b) stores pages at a specifies location on disk
c) is useless when swapping is used.
d) is part of the operating system paging algorithm
Ans: A
10. Real time systems are
a) primarily used on mainframe computers
b) used for monitoring events as they occur
c) used for program analysis
d) used for real-time interactive
Ans: B



No comments:

Post a Comment