set-5
201. The advantage(s) of incorporating the macro processor into Pass 1 is (are):
Many functions do not have to be implemented twice
Functions are combined and it is not necessary to create intermediate files as output from the macro processor and input to the assembler
More flexibility is available to the programmer in that he may use all the features of the assembler in conjunction with macros
All of the above
202. The macro processor must perform:
Recognize macro definitions and macro calls
Save the macro definitions
Expand macro calls and substitute arguments
All of the above
203. In which way(s) a macro processor for assembly language can be implemented:
Independent two-pass processor
Independent one-pass processor
Processor incorporated into Pass 1 of a standard two-pass assembler
All of the above
204. Which of the following functions is(are) performed by the loader?
Allocate space in memory for the programs and resolve symbolic references between object decks
Adjust all address-dependent locations, such as address constants, to correspond to the allocated space
Physically place the machine instructions and data into memory
All of the above
205. When a computer is first turned on or restarted, a special type of absolute loader is executed, called a:
“Compile and Go” loader
Bootstrap loader
Boot loader
Relating loader
206. In MS-DOS 5.0, which is the number that acts as a code to uniquely identify the software?
MS
DOS
MS DOS
5.0
207. The higher versions of the operating systems are so written that programs designed for earlier versions can still be run. What is it called?
Upgradability
Universality
Upward mobility
Upward compatibility
208. What is the name of the process of initializing a microcomputer with its operating system?
Cold booting
Warm booting
Booting
Root recording
209. A hardware device that is capable of executing a sequence of instructions is known as:
CPU
ALU
CU
Processor
210. The function(s) performed by the paging software is(are):
Implementation of the access environment for all programs in the system
Management of the physical address space
Sharing and protection
All of the above
211. The file level is a descriptor containing all the information which would be required:
To connect the file to a program
To guard against the destruction of the file inadvertently or deliberately by another program
To facilitate easy creation, storage, and access of files
Both (A) and (B)
212. The task(s) of the lexical analysis phase is(are):
To parse the source program into the language
To build a literal table and an identifier table
To build a uniform symbol table
All of the above
213. Which is a permanent database in the general model of a compiler?
Literal Table
Terminal Table
Identifier Table
Source code
214. Which table is a permanent database that has an entry for each terminal symbol?
Terminal Table
Identifier Table
Literal Table
Reductions
215. While running DOS on a PC, which command would be used to duplicate the entire diskette?
COPY
CHKDSK
DISKCOPY
TYPE
216. Which of the following filename extensions suggests that the file is a backup copy of another file?
TXT
COM
BAS
BAK
217. While working with MS-DOS, which command will you use to transfer a specific file from one disk to another?
DISKCOPY
RENAME
COPY
FORMAT
218. With MS-DOS, which command will divide the surface of the blank floppy disk into sectors and assign a unique address to each one?
FORMAT command
VER command
FAT command
CHKDSK command
219. The functions of the Storage Assignment is(are):
To assign storage to all variables referenced in the source program
To assign storage to all temporary locations that are necessary for intermediate results
To assign storage to literals, and to ensure that the storage is allocated and appropriate locations are initialized
All of the above
220. A non-relocatable program is one which:
Cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
Consists of a program and relevant information for its relocation
Can itself perform the relocation of its address-sensitive portions
All of the above
221. A relocatable program form is one which:
Cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
Consists of a program and relevant information for its relocation
Can itself perform the relocation of its address-sensitive portions
All of the above
222. A self-relocating program is one which:
Cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
Consists of a program and relevant information for its relocation
Can itself perform the relocation of its address-sensitive portions
All of the above
223. The term "operating system" means:
A set of programs which controls computer working
The way a computer operator works
Conversion of high-level language into machine code
The way a floppy disk drive operates
224. Which of the following software types is used to simplify using system software?
Spreadsheet
Timesharing
Operating environment
Multitasking
225. Which of the following is not applications software?
Word processing
UNIX
Spreadsheet
Desktop publishing
226. Which of the following types of software should you use if you often need to create, edit, and print documents?
Word processing
UNIX
Spreadsheet
Desktop publishing
227. Which of the following will determine your choice of systems software for your computer?
Is the applications software you want to use compatible with it?
Is it expensive?
Is it compatible with your hardware?
Both (A) and (C)
228. Terminal Table:
Contains all constants in the program
A permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
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
A permanent table which lists all key words and special symbols of the language in symbolic form
229. Assembly code database is associated with:
Assembly language version of the program which is created by the code generation phase and is input to the assembly phase
A permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
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
A permanent table which lists all key words and special symbols of the language in symbolic form
230. The table created by lexical analysis to describe all literals used in the source program is:
Terminal Table
Identifier Table
Literal Table
Reductions
231. The functions of the syntax phase are:
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
To build a literal table and an identifier table
To build a uniform symbol table
To parse the source program into the basic elements or tokens of the language
232. In an absolute loading scheme, which loader function is accomplished by the assembler?
Reallocation
Linking
Allocation
Loading
233. In an absolute loading scheme, which loader function is accomplished by the loader?
Reallocation
Linking
Allocation
Loading
234. The advantages inherent to using high-level language are:
Fewer people, less management, and shorter transition in learning time
Improved debugging capability, and superior documentation
A greater degree of machine independence
All of the above
235. The action of parsing the source program into the proper syntactic classes is known as:
Syntax analysis
Interpretation
Lexical analysis
General syntax analysis
236. In analyzing the compilation of a PL/I program, the term “Lexical analysis” is associated with:
Recognition of basic syntactic constructs through reductions
Recognition of basic elements and creation of uniform symbols
Creation of more optional matrix
Use of macro processor to produce more optimal assembly code
237. In analyzing the compilation of a PL/I program, the term “Machine independent optimization” is associated with:
Recognition of basic syntactic constructs through reductions
Recognition of basic elements and creation of uniform symbols
Creation of more optional matrix
Use of macro processor to produce more optimal assembly code
238. In analyzing the compilation of a PL/I program, the description “resolving symbolic address (labels) and generating machine language” is associated with:
Assembly and output
Storage assignment
Code generation
Syntax analysis
239. In analyzing the compilation of a PL/I program, the description “creation of more optimal matrix” is associated with:
Assembly and output
Syntax analysis
Code generation
Machine independent optimization
240. Which of the following is not a part of the operating system?
Supervisor
Job-control program
Performance monitor
Input/output control program
241. Which of the following is not an advantage of multiprogramming?
Increased throughput
Shorter response time
Decreased operating system overhead
Ability to assign priorities to jobs
242. In which addressing mode the contents of a register specified in the instruction are first decremented, and then these contents are used as the effective address of the operands?
Index addressing
Auto increment
Indirect addressing
Auto decrement
243. In which addressing mode, the effective address of the operand is generated by adding a constant value to the contents of a register?
Absolute mode
Immediate mode
Indirect mode
Index mode
244. In what modules, multiple instances of execution will yield the same result even if one instance has not terminated before the next one has begun?
Non-reusable module
Reentrant module
Serially reusable module
Recursive module
245. What is the name given to all the programs inside the computer which makes it usable?
Application software
Firmware
System software
Shareware
246. A translator which reads an entire program written in a high-level language and converts it into machine language code is:
Assembler
Compiler
Translator
System software
247. Which of the following is helpful in evaluating applications software that will best suit your needs?
Recommendations by other users
Objective software reviews
Computer magazines
All of the above
248. If you want to execute more than one program at a time, the system software you are using must be capable of:
Word processing
Compiling
Virtual memory
Multitasking
249. Which of the following types of software must you have in main memory in order to use your keyboard?
Word processing
Spreadsheet
System
Applications
250. Which of the following might be used to convert high-level language instructions into machine language?
System software
An operating environment
Application software
An interpreter
Last updated