Operating Systems Concepts – Section 1

31. Thrashing can be avoided if

A. the pages, belonging to the working set of the programs, are in main memory
B. the speed of CPU is increased
C. the speed of I/O processor is increased
D. all of the above
E. None of the above

Correct Answer: A. the pages, belonging to the working set of the programs, are in main memory

32. In analyzing the compilation of PL/I program, the term “Lexical analysis” 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: B. recognition of basic elements and creation of uniform symbols

33. Resolution of externally defined symbols is performed by

A. Linker
B. Loader
C. Compiler
D. Assembler
E. None of the above

Correct Answer: A. Linker

34. System generation:

A. is always quite simple
B. is always very difficult
C. varies in difficulty between systems
D. requires extensive tools to be understandable
E. None of the above

Correct Answer: C. varies in difficulty between systems

35. The Memory Address Register

A. is a hardware memory device which denotes the location of the current instruction being executed.
B. is a group of electrical circuits (hardware), that performs the intent of instructions fetched from memory.
C. contains the address of the memory location that is to be read from or stored into.
D. contains a copy of the designated memory location specified by the MAR after a “read” or the new contents of the memory prior to a “write”.
E. None of the above

Correct Answer: C. contains the address of the memory location that is to be read from or stored into.

Leave A Comment?

eighteen − 16 =