wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

SPCC ISE 2 Quiz TE B

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is the primary function of an assembler?

a)

Translate high-level code to assembly

b)

Convert assembly language to machine code

c)

Link object files

d)

Execute programs

2.

Which system program combines multiple object files into a single executable?

a)

Loader

b)

Linker

c)

Compiler

d)

Interpreter

3.

What is the role of a device driver?

a)

Edit text files

b)

Debug programs

c)

Enable communication between hardware and the operating system

d)

Translate high-level code

4.

Which of the following is NOT a system program?

a)

Compiler

b)

Text Editor

c)

Web Browser

d)

Debugger

5.

What is the primary task of a loader?

a)

Translate source code

b)

Load executable programs into memory

c)

Combine object files

d)

Manage hardware resources

6.

Which system software translates high-level code line by line during execution?

a)

Compiler

b)

Interpreter

c)

Assembler

d)

Linker

7.

What is a key goal of system software?

a)

Play multimedia content

b)

Manage hardware resources efficiently

c)

Edit images

d)

Create spreadsheets

8.

Which tool is used to identify and fix errors in a program?

a)

Text Editor

b)

Debugger

c)

Linker

d)

Loader

9.

What does a macro processor handle?

a)

Memory allocation

b)

Expansion of macro definitions in code

c)

Loading programs into memory

d)

Program execution

10.

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?

a)

Compiler → Linker → Assembler → Loader

b)

Loader → Assembler → Linker → Compiler

c)

Assembler → Compiler → Linker → Loader

d)

Compiler → Assembler → Linker→ Loader

11.

In the macro processor, the conditional expansion facility provides to

a)

Test a condition during the execution of the expanded program

b)

Expand certain model statements depending upon the value of a condition during the execution of the expanded program

c)

Implement recursion

d)

Expand certain model statements depending upon the value of a condition during the process of macro expansion

12.

What is the significance of the '+' in expanded statements?

a)

It differentiates original statements from expanded ones.

b)

It indicates a comment.

c)

It signifies an error.

d)

It marks the end of a statement.

13.

What is the purpose of a macro prototype statement?

a)

To declare the name of a macro and its parameters.

b)

To define the body of the macro.

c)

To call the macro.

d)

To end the macro definition.

14.

What is the structure of a macro definition in a program?

a)

Macro header statement (MACRO), Macro prototype statement, Model statements, Macro preprocessor statements, Macro end statement (MEND)

b)

Macro start statement, Macro end statement, Model statements, Macro prototype statement, Macro statements

c)

Macro header statement, Model statements, Macro end statement, Macro prototype statement, Macro instructions

d)

Macro start statement, Macro instructions, Macro end statement, Macro prototype statement, Model statements,

15.

What are the two ways of specifying parameters in a macro?

a)

Positional parameters, Argument parameters

b)

Keyword parameters, Value parameters

c)

Positional parameters, Value parameters

d)

Positional parameters, Keyword parameters

16.

Nested Macro calls are expanded using the

a)

FIFO rule (First in first out)

b)

LIFO (Last in First out)

c)

FILO rule (First in last out)

d)

None of the above

17.

____ is use for storing the macro name along with MDT index

a)

MDT

b)

MNT

c)

ALA

d)

MDTP

18.

What is the primary purpose of AIF and AGO statements in macro expansion?

a)

To improve execution speed of the generated code

b)

To execute runtime conditional statements

c)

To provide looping functionality at runtime

d)

To replace machine instructions

19.

Which directive is similar to a GOTO statement in high-level programming languages?

a)

AIF

b)

AGO

c)

ANOP

d)

MEND

20.

What is the purpose of the MEND statement in macro processing?

a)

It defines the beginning of a macro

b)

It marks the end of a macro expansion

c)

It declares a sequencing symbol

d)

It performs a conditional jump