Operating Systems Concepts – Section 5

1. In analyzing the compilation of PL/I program, the term “Machine independent optimization” is associated with

A. recognition of basic syntactic constructs through reductions.
B. recognition of basic elements and creation of uniform symbols.
C. creation of more optional matrix.
D. use of macro processor to produce more optimal assembly code
E. None of the above

Correct Answer: C. creation of more optional matrix.

2. An instruction in a programming language that is replaced by a sequence of instructions prior to assembly or compiling is known as

A. procedure name
B. macro
C. label
D. literal
E. None of the above

Correct Answer: B. macro

3. A program

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 user.
E. None of the above

Correct Answer: C. is a sequence of instructions

4. A self-relocating program is one which

A. cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation.
B. consists of a program and relevant information for its relocation.
C. can itself performs the relocation of its address-sensitive portions.
D. All of the above
E. None of the above

Correct Answer: C. can itself performs the relocation of its address-sensitive portions.

5. Banker’s algorithm for resource allocation deals with

A. deadlock prevention
B. deadlock avoidance
C. deadlock recovery
D. mutual exclusion
E. None of the above

Correct Answer: B. deadlock avoidance

Leave A Comment?

3 × five =