Operating Systems Concepts – Section 2

31. The function(s) of the Syntax phase is(are)

A. to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs.
B. to build a literal table and an identifier table
C. to build a uniform symbol table
D. to parse the source program into the basic elements or tokens of the language.
E. None of the above

Correct Answer: A. to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs.

32. Swapping

A. works best with many small partitions
B. allows many programs to use memory simultaneously
C. allows each program in turn to use the memory
D. does not work with overlaying
E. None of the above

Correct Answer: C. allows each program in turn to use the memory

33. A disk scheduling algorithm in an operating system causes the disk arm to move back and forth across the disk surface in order to service all requests in its path. This is a

A. First come first served
B. Shortest Seek Time First (SSTE)
C. Scan
D. FIFO
E. None of the above

Correct Answer: C. Scan

34. A translator is best described as

A. an application software
B. a system software
C. a hardware component
D. all of the above
E. None of the above

Correct Answer: B. a system software

35. Data encryption

A. is mostly used by public networks
B. is mostly used by financial networks
C. cannot be used by private installations
D. is not necessary since data cannot be intercepted
E. None of the above

Correct Answer: B. is mostly used by financial networks

Leave A Comment?

3 × 2 =