Operating Systems Concepts – Section 5

21. Which of the following statements is not true about the FORTRAN language?

A. FORTRAN is a high level language
B. A FORTRAN program, written for the IBM-PC, is totally different from a FORTRAN program written for execution on the SUN machine
C. FORTRAN is extensively used to write programs for performing scientific computations
D. All of the above
E. None of the above

Correct Answer: B. A FORTRAN program, written for the IBM-PC, is totally different from a FORTRAN program written for execution on the SUN machine

22. A linker

A. creates a load module
B. is not necessary with variable partitions
C. must be run after the loader
D. is not needed with a good compiler
E. None of the above

Correct Answer: A. creates a load module

23. Uniform Symbols Table

A. contains all constants in the program
B. a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure.
C. consists of a full or partial list of the token’s as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation
D. a permanent table which lists all keywords and special symbols of the language in symbolic form.
E. None of the above

Correct Answer: C. consists of a full or partial list of the token’s as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation

24. In which of the storage placement strategies a program is placed in the smallest available hole in the main memory?

A. best fit
B. first fit
C. worst fit
D. buddy
E. None of the above

Correct Answer: A. best fit

25. In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of register?

A. absolute mode
B. indirect mode
C. immediate mode
D. index mode
E. None of the above

Correct Answer: D. index mode

Leave A Comment?

four × 1 =