All General MCQs and Quizzes related to System Software.
The output of the lexical analyzer is________
Option 1
|
set of regular expressions |
Option 2
|
set of tokens Correct |
Option 3
|
string of characters |
Option 4
|
syntax tree |
A compiler-compiler is_________.
Option 1
|
another name for cross compiler |
Option 2
|
compiler which compiles a compiler program |
Option 3
|
software tool used in automatic generation of a compiler Correct |
Option 4
|
compiler written in the same language it compiles |
__________ in system software resides in main memory always.
Option 1
|
Linker |
Option 2
|
Loader Correct |
Option 3
|
Text editor |
Option 4
|
Assembler |
An interpreter is preferred over a compiler________.
Option 1
|
when storage space is to be minimized |
Option 2
|
during program development phase |
Option 3
|
all of the these Correct |
Option 4
|
none of these |
The functions that are performed in pass 2.
Option 1
|
Updating the location counter |
Option 2
|
Creating the proper address mode using the base table. Correct |
Option 3
|
Processing of EQU pseudo-op |
Option 4
|
None of these |
The correct statement(s) about LTORG.
Option 1
|
It is used to place the literals definition in a specified memory location that is given in the operand field. |
Option 2
|
It is used to load the object program at some specified memory location that is given in the operand field. |
Option 3
|
It creates a literal pool that contains all the literal operands used since the previous LTORG Correct |
Option 4
|
None of these |
Statement(s) about loading is true?
Option 1
|
Modification records are used for specifying program relocation in relative addressing mode instructions. |
Option 2
|
Text record uses a relocation bit associated with each word of the object code in direct addressing and fixed instruction format. |
Option 3
|
Modification records are best suited for relative addressing mode |
Option 4
|
All of these Correct |
When an attempt to divide by zero is made, ________ interrupt is generated?
Option 1
|
Program Correct |
Option 2
|
Supervisor call (SVC) |
Option 3
|
I/O |
Option 4
|
Timer |
The class of interrupt with highest priority is ________.
Option 1
|
Supervisor call interrupt (SVC) Correct |
Option 2
|
Program interrupt |
Option 3
|
I/O interrupt |
Option 4
|
Timer interrupt |
The class of interrupt with lowest priority is _________.
Option 1
|
Supervisor call interrupt (SVC) |
Option 2
|
Timer interrupt |
Option 3
|
Program interrupt |
Option 4
|
I/O interrupt Correct |