Thursday, 13 June 2013

MCQ – Operating System-I

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
11. A processor
a) is a device that performs a  sequence of operations specified by instructions in memory
b) is the device where information is stored
c) is a sequence of instructions
d) is typically characterized by interactive processing and time of the CPU’s time to allow quick response to each other
Ans: A
12. Assembler is
a) a program that places programs into memory and prepares them for execution
b) a program that automate the translation of assembly language into machine language
c) a program that accepts a program written in  a high level language and produces an object program
d) is a program that appears to execute a source program if it were machine language
Ans: B
13. A loader is
a) a program that places programs into memory and prepares them for execution
b) a program that automate the translation of assembly language into machine language
c) a program that accepts a program written in a high level language and produces an object program
d) is a program that appears to execute a source program if it  were machine language
Ans: A
14. When a computer is first turned on or restarted, a special type of absolute loader is executed, called a
a) Compile and Go loader
b) Boot loader
c) Bootstrap loader
d) Relating loader
Ans: C
15. In an absolute loading scheme, which loader function(s) is (are) accomplished by programmer
a) Allocation
b) Linking
c) Both a and b
d) Reallocation
Ans: C
16. The primary job of the operating system of a computer is to
a) command resources
b) manage resources
c) provide utilities
d) be user friendly
Ans: B
17. The operating system of a computer serves as a software interface between the user and
a) hardware
b) peripheral
c) memory
d) screen
Ans: A
18. The term “operating system” means
a) a set of programs which controls computer working
b) the way a computer operator works
c) conversion of high level language into machine code
d) the way a floppy disk drives operates
Ans: A
19. Multiprogramming was made possible by
a) input/output units that operate independently of the cpu
b) operating system
c) both a and b
d) None of the above
Ans: C
20, Which of the following is not a part of operating system?
a) supervisor
b) performance monitor
c) job-control program
d) input/output control program
Ans: B

No comments:

Post a Comment