
4.2 Assembly Language Cambridge iAS 9618
Authored by Stephen Ling-Winston
Computers
11th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the relationship between assembly language and machine code?
Assembly language provides a human-readable version of machine code instructions
Assembly language is a higher-level programming language that does not correspond to machine code
Assembly language is more efficient than machine code for execution
Machine code is a high-level abstraction of assembly language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first stage of a two-pass assembler process?
The first pass scans the source code, creating a symbol table and generating machine code with placeholders
The first pass translates the source code into executable binary
The first pass compiles the source code into assembly language
The first pass writes the output program to memory
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the second pass of a two-pass assembler, what is done?
The symbol table is used to replace placeholders with actual addresses, and the final machine code is generated
The program is debugged and errors are fixed
The machine code is translated into assembly code
The program is executed and tested
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of tracing an assembly program?
To step through the program’s execution and observe the changes in registers and memory
To debug the program by finding syntax errors
To convert assembly code into machine code
To compile the program for execution
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a category of instructions in assembly language?
Memory management
Data movement
Arithmetic operations
Input and output of data
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an immediate addressing mode refer to?
The operand is a constant value directly specified in the instruction
The operand refers to a memory address
The operand is the value stored at the memory location specified by the instruction
The operand is a computed value based on an index
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is direct addressing mode?
The operand is the actual memory address
The operand is a constant value embedded in the instruction
The operand is calculated using an index value
The operand is indirectly referenced by another address
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?