Practice Test: Question Set - 15
1. 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) Multi-pass
compiler
2. System programs such as Compilers are designed so that they are
- (A) Reenterable
- (B) Non
reusable
- (C) Serially
usable
- (D) Recursive
3. A sequence of instructions, in a computer language, to get the desired result, is known as
- (A) Algorithm
- (B) Decision
Table
- (C) Program
- (D) All
of the above
4. What is the name given to the process of initializing a microcomputer with its operating system?
- (A) Cold
booting
- (B) Booting
- (C) Warm
booting
- (D) Boot
recording
5. 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
6. In which way(s) a macro processor for assembly language can be implemented:
- (A) Independent
two-pass processor
- (B) Independent
one-pass processor
- (C) Processor
incorporated into pass 1 of a standard two-pass assembler
- (D) All of the
above
7. 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
8. The process of transferring data intended for a peripheral device into a disk (or intermediate store) so that it can be transferred to peripheral at a more convenient time or in bulk, is known as
- (A) Multiprogramming
- (B) Spooling
- (C) Caching
- (D) Virtual
programming
9. Information in a memory that is no longer valid or wanted is known as
- (A) Non-volatile
- (B) Volatile
- (C) Surplus
- (D) Garbage
10. The macro processor must perform
- (A) Recognize
macro definitions and macro calls
- (B) Save the
macro definitions
- (C) Expand
macros calls and substitute arguments
- (D) All of the
above
11. Which of the following can be accesses by transfer vector approach of linking?
- (A) External
data segments
- (B) External
subroutines
- (C) Data located
in other procedures
- (D) All of the
above
12. 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
13. Which of the following capabilities is required for a system program to execute more than one program at a time?
- (A) Word
processing
- (B) Compiling
- (C) Virtual
memory
- (D) Multitasking
14. The action of parsing the source program into the proper syntactic classes is known as
- (A) Syntax
analysis
- (B) Lexical
analysis
- (C) Interpretation
analysis
- (D) General syntax
analysis
15. Non-modifiable procedures are called
- (A) Serially
usable procedures
- (B) Concurrent
procedures
- (C) Reentrant
procedures
- (D) Top-down
procedures
Next Tests: