OCR A-level Computer Science (H446) - 1.2.4 - Assembly Language

Flashcard
•
Computers
•
12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is assembly language?
Back
A low-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.
FLASHCARD QUESTION
Front
Name one advantage of using assembly language.
Back
Efficient execution 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.
FLASHCARD QUESTION
Front
What are assembly language instructions?
Back
Low-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.
FLASHCARD QUESTION
Front
How many registers are there in assembly language?
Back
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.
FLASHCARD QUESTION
Front
What is the purpose of addressing modes in assembly language?
Back
To specify the way in which the operands of an instruction are accessed or referenced.
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.
FLASHCARD QUESTION
Front
What are the different addressing modes in assembly language?
Back
immediate mode, direct mode, indirect mode and indexed 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.
FLASHCARD QUESTION
Front
What is the role of registers in assembly language?
Back
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 Wayground
10 questions
UnReal Engine Vocab 2

Flashcard
•
9th - 12th Grade
15 questions
Mean, Mode, Median

Flashcard
•
11th Grade
15 questions
Averages, Median, Mode, & Range

Flashcard
•
11th Grade
10 questions
Python FIles 3

Flashcard
•
12th Grade
9 questions
Organisational Policies and Procedures

Flashcard
•
11th Grade
16 questions
LAP NF 003 S 5.02

Flashcard
•
12th Grade
10 questions
Revision

Flashcard
•
University
10 questions
Videogames

Flashcard
•
KG - Professional Dev...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade