Operating Systems Concepts – Section 5

31. In analyzing the compilation of PL/I program, the term “Syntax 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: A. recognition of basic syntactic constructs through reductions.

32. A hardware device that is capable of executing a sequence of instructions, is known as

A. CPU
B. ALU
C. CU
D. Processor
E. None of the above

Correct Answer: D. Processor

33. Which of following is/are the advantage(s) of modular programming?

A. The program is much easier to change
B. Modules can be reused in other programs
C. Easy debugging
D. Easy to compile
E. None of the above

Correct Answer: A. The program is much easier to change

34. The function(s) performed by the paging software is (are)

A. Implementation of the access environment for all programs in the system
B. Management of the physical address space
C. Sharing and protection
D. All of the above
E. None of the above

Correct Answer: D. All of the above

35. A compiler for a high-level language that runs on one machine and produces code for a different machine is called is

A. optimizing compiler
B. one pass compiler
C. cross compiler
D. multipass compiler
E. None of the above

Correct Answer: C. cross compiler

Leave A Comment?

ten + five =