Operating Systems Concepts – Section 2

1. The initial value of the semaphore that allows only one of the many processes to enter their critical sections, is

A. 8
B. 1
C. 16
D. 0
E. None of the above

Correct Answer: B. 1

2. The Register – to – Register (RR) instructions

A. have both their operands in the main store.
B. which perform an operation on a register operand and an operand which is located in the main store, generally leaving the result in the register, except in the case of store operation when it is also written into the specified storage location.
C. which perform indicated operations on two fast registers of the machine and leave the result in one of the registers.
D. all of the above
E. None of the above

Correct Answer: C. which perform indicated operations on two fast registers of the machine and leave the result in one of the registers.

3. A page fault

A. is an error is a specific page
B. occurs when a program accesses a page of memory
C. is an access to a page not currently in memory
D. is a reference to a page belonging to another program
E. None of the above

Correct Answer: C. is an access to a page not currently in memory

4. An algorithm is best described as

A. A computer language
B. A step by step procedure for solving a problem
C. A branch of mathematics
D. All of the above
E. None of the above

Correct Answer: B. A step by step procedure for solving a problem

5. The process of transferring data intended for a peripheral device into a disk (or intermediate store) so that it can be transferred to peripheral at a more convenient time or in bulk, is known as

A. multiprogramming
B. spooling
C. caching
D. virtual programming
E. None of the above

Correct Answer: B. spooling

Leave A Comment?

16 − 7 =