NEW
Font size
WorksheetsSPCC ISE 2 Quiz TE B
Total questions: 20
Worksheet time: 10mins
What is the primary function of an assembler?
Translate high-level code to assembly
Convert assembly language to machine code
Link object files
Execute programs
Which system program combines multiple object files into a single executable?
Loader
Linker
Compiler
Interpreter
What is the role of a device driver?
Edit text files
Debug programs
Enable communication between hardware and the operating system
Translate high-level code
Which of the following is NOT a system program?
Compiler
Text Editor
Web Browser
Debugger
What is the primary task of a loader?
Translate source code
Load executable programs into memory
Combine object files
Manage hardware resources
Which system software translates high-level code line by line during execution?
Compiler
Interpreter
Assembler
Linker
What is a key goal of system software?
Play multimedia content
Manage hardware resources efficiently
Edit images
Create spreadsheets
Which tool is used to identify and fix errors in a program?
Text Editor
Debugger
Linker
Loader
What does a macro processor handle?
Memory allocation
Expansion of macro definitions in code
Loading programs into memory
Program execution
Which of the following system software components are involved in the compilation process of a program, and what is the correct flow of their execution?
Compiler → Linker → Assembler → Loader
Loader → Assembler → Linker → Compiler
Assembler → Compiler → Linker → Loader
Compiler → Assembler → Linker→ Loader
In the macro processor, the conditional expansion facility provides to
Test a condition during the execution of the expanded program
Expand certain model statements depending upon the value of a condition during the execution of the expanded program
Implement recursion
Expand certain model statements depending upon the value of a condition during the process of macro expansion
What is the significance of the '+' in expanded statements?
It differentiates original statements from expanded ones.
It indicates a comment.
It signifies an error.
It marks the end of a statement.
What is the purpose of a macro prototype statement?
To declare the name of a macro and its parameters.
To define the body of the macro.
To call the macro.
To end the macro definition.
What is the structure of a macro definition in a program?
Macro header statement (MACRO), Macro prototype statement, Model statements, Macro preprocessor statements, Macro end statement (MEND)
Macro start statement, Macro end statement, Model statements, Macro prototype statement, Macro statements
Macro header statement, Model statements, Macro end statement, Macro prototype statement, Macro instructions
Macro start statement, Macro instructions, Macro end statement, Macro prototype statement, Model statements,
What are the two ways of specifying parameters in a macro?
Positional parameters, Argument parameters
Keyword parameters, Value parameters
Positional parameters, Value parameters
Positional parameters, Keyword parameters
Nested Macro calls are expanded using the
FIFO rule (First in first out)
LIFO (Last in First out)
FILO rule (First in last out)
None of the above
____ is use for storing the macro name along with MDT index
MDT
MNT
ALA
MDTP
What is the primary purpose of AIF and AGO statements in macro expansion?
To improve execution speed of the generated code
To execute runtime conditional statements
To provide looping functionality at runtime
To replace machine instructions
Which directive is similar to a GOTO statement in high-level programming languages?
AIF
AGO
ANOP
MEND
What is the purpose of the MEND statement in macro processing?
It defines the beginning of a macro
It marks the end of a macro expansion
It declares a sequencing symbol
It performs a conditional jump
