What is assembly language?
OCR A-level Computer Science (H446) - 1.2.4 - Assembly Language

Quiz
•
Computers
•
12th Grade
•
Easy

Chris Dixon
Used 69+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A low-level programming language that uses mnemonic codes to represent machine instructions.
A language used for creating graphical user interfaces.
A programming language that is only used for web development.
A high-level programming language that uses mnemonic codes to represent machine instructions.
Answer explanation
Assembly language is a low-level programming language that uses mnemonic codes to represent machine instructions. It is not used for creating graphical user interfaces or for web development exclusively. Also, it is not a high-level programming language. The mnemonic codes in assembly language correspond directly to the machine language instructions of a specific CPU architecture.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Name one advantage of using assembly language.
Higher level of abstraction
Platform independence
Efficient execution of code
Easier debugging of code
Answer explanation
The question asks for an advantage of using assembly language. The correct answer is 'Efficient execution of code'. Assembly language is closer to machine code, which allows for more efficient execution of code compared to higher-level languages. Other options like 'Higher level of abstraction', 'Platform independence', and 'Easier debugging of code' are generally not advantages of assembly language.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are assembly language instructions?
Low-level instructions executed by a computer's CPU.
Instructions executed by a computer's RAM.
Instructions executed by a computer's GPU.
High-level instructions executed by a computer's CPU.
Answer explanation
Assembly language instructions are low-level instructions that are directly executed by a computer's CPU. They are not executed by the RAM or GPU, nor are they high-level instructions. These instructions are closer to machine code and provide more control over the hardware, which differentiates them from high-level instructions.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many registers are there in assembly language?
1
10
100
No fixed number
Answer explanation
The number of registers in assembly language is not fixed. It varies depending on the specific architecture of the computer system. Some systems may have a few registers, while others may have many more. Therefore, the correct answer is 'No fixed number'.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of addressing modes in assembly language?
To determine the order of execution of instructions.
To specify the way in which the operands of an instruction are accessed or referenced.
To define the size of the instruction set.
To control the flow of program execution.
Answer explanation
The purpose of addressing modes in assembly language is to specify the way in which the operands of an instruction are accessed or referenced. This is not about determining the order of execution, defining the size of the instruction set, or controlling the flow of program execution. It's about how operands are accessed or referenced in an instruction.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different addressing modes in assembly language?
base mode
stack mode
immediate mode, direct mode, indirect mode and indexed mode
register mode
Answer explanation
The question asks about the different addressing modes in assembly language. The correct answer is 'immediate mode, direct mode, indirect mode and indexed mode'. These are the four primary addressing modes used in assembly language to specify the location of data.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of registers in assembly language?
Registers in assembly language are used to store permanent data.
Registers in assembly language are used to perform arithmetic operations.
Registers in assembly language are used to store program instructions.
Registers in assembly language are used to hold temporary data and operands during program execution.
Answer explanation
Registers in assembly language play a crucial role in holding temporary data and operands during program execution. They do not store permanent data, program instructions, or perform arithmetic operations directly. Instead, they serve as temporary storage for data being processed or manipulated within the program.
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
SC025 3-weeks enhancement 1

Quiz
•
12th Grade
18 questions
Computers & How They Work

Quiz
•
9th - 12th Grade
10 questions
Von Neumann Architecture

Quiz
•
8th Grade - University
10 questions
Computer Languages

Quiz
•
6th - 12th Grade
10 questions
Introduction to Programming

Quiz
•
12th Grade
15 questions
Introduction to Programming

Quiz
•
12th Grade
11 questions
OCR J277 2.5 Characteristics and purpose of languages

Quiz
•
9th - 12th Grade
10 questions
Data Representation - Instructions

Quiz
•
3rd - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University