Practice Test: Question Set - 08
1. Terminal 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 key words and special symbols of the language
in symbolic form
2. Which of the following functions is(are) performed by the loader
- (A) Allocate
space in memory for the programs and resolve symbolic references between object
decks
- (B) Adjust all
address dependent locations, such as address constants, to correspond to the
allocated space
- (C) Physically
place the machine instructions and data into memory
- (D) All of the
above
3. When a computer is first turned on or restarted, a special type of absolute loader is executed, called a
- (A) "Compile
and Go" loader
- (B) Boot loader
- (C) Bootstrap
loader
- (D) Relating
loader
4. The operating system of a computer serves as a software interface between the user and
- (A) Hardware
- (B) Peripheral
- (C) Memory
- (D) Screen
5. Assembly code data base is associated with
- (A) Assembly
language version of the program which is created by the code generation phase
and is input to the assembly phase
- (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 or 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 key words and special symbols of the language in symbolic
form
6. Job Control Language (JCL) statements are used to
- (A) Read the
input from the slow-speed card reader to the high-speed magnetic disk
- (B) Specify, to
the operating system, the beginning and end of a job in a batch
- (C) Allocate the
CPU to a job
- (D) All of the
above
7. In which addressing mode, the address of the location of the operand is given explicitly as a part of the instruction.
- (A) Absolute
mode
- (B) Immediate
mode
- (C) Index mode
- (D) Modulus mode
8. Bug means
- (A) A logical
error in a program
- (B) A difficult
syntax error in a program
- (C) Documenting
programs using an efficient documentation tool
- (D) All of the
above
9. In analyzing the compilation of PL/I program, the description "resolving symbolic address (labels) and generating machine language" is associated with
- (A) Assembly and
output
- (B) Code
generation
- (C) Storage
assignment
- (D) Syntax
analysis
10. The total time to prepare a disk drive mechanism for a block of data to be read from it is
- (A) Latency
- (B) Latency plus
transmission time
- (C) Latency plus
seek time
- (D) Latency plus
seek time plus transmission time
11. Which of the following systems software does the job of merging the records from two files into one?
- (A) Security
software
- (B) Utility
program
- (C) Networking
software
- (D) Documentation
system
12. Which, of the following checks, cannot be carried out on the input data to a system?
- (A) Consistency
check
- (B) Syntax check
- (C) Range check
- (D) All of the
above
13. Object code
- (A) Is ready to
execute
- (B) Is the
output of compilers, but not assemblers
- (C) Must be
"loaded" before execution
- (D) Must be
rewritten before execution
14. 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
15. The system/370 assembler language
- (A) Allows
the programmer to write base registers and displacements explicitly in the
source program
- (B) Is used to
remember which of the general-purpose registers are currently available as base
registers, and what base addresses they contain
- (C) Allows
multiple programs to reside in separate areas of core at the same time
- (D) Is a term
that refers to the control programs of an operating system
Next Tests: