4.2 Assembly Language Cambridge iAS 9618

Quiz
•
Computers
•
11th Grade
•
Hard

Stephen Ling-Winston
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Y11 Quiz 1: Software

Quiz
•
11th Grade
18 questions
CS Unit 1, Programming part 1: Sequences

Quiz
•
9th - 12th Grade
15 questions
Hardware and Software Quiz 01

Quiz
•
11th Grade
20 questions
MonSec Final Quiz

Quiz
•
9th - 12th Grade
20 questions
Chapter 2 Exam: Getting Started with Java

Quiz
•
10th - 12th Grade
17 questions
computer nonsense lesson

Quiz
•
1st Grade - Professio...
20 questions
iGCSE Computer Science: Programming Languages

Quiz
•
9th - 12th Grade
17 questions
Binary Representation

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade