GCSE Unit 2 Prep - Assembly language and logic gates

Quiz
•
Computers
•
10th Grade
•
Easy

Andrew Dawson
Used 3+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to read input from a device?
INP
OUT
STA
LDA
Answer explanation
The INP instruction in assembly language is used to read input from a device or input port. It allows the program to receive data from an external source, such as user input or another device connected to the system.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to send output to a device?
INP
OUT
STA
LDA
Answer explanation
The OUT instruction in assembly language is used to send output to a device or output port. It allows the program to send data to an external destination, such as a display or another device connected to the system.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to store the value in the accumulator to a memory location?
INP
OUT
STA
LDA
Answer explanation
The STA instruction in assembly language is used to store the value in the accumulator to a memory location. It allows the program to save the contents of the accumulator to a specific memory address for future use.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to load a value from a memory location into the accumulator?
INP
OUT
STA
LDA
Answer explanation
The LDA instruction in assembly language is used to load a value from a memory location into the accumulator. It allows the program to retrieve data from a specific memory address and store it in the accumulator for further processing.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to perform addition?
INP
OUT
ADD
SUB
Answer explanation
The ADD instruction in assembly language is used to perform addition. It allows the program to add the value in the specified memory location or immediate operand to the contents of the accumulator.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to perform subtraction?
INP
OUT
ADD
SUB
Answer explanation
The SUB instruction in assembly language is used to perform subtraction. It allows the program to subtract the value in the specified memory location or immediate
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which assembly language instruction is used to halt or stop the program execution?
BRA
HLT
DAT
SUB
Answer explanation
The HLT instruction in assembly language is used to halt or stop the program execution. When encountered, it terminates the program and prevents any further instructions from being executed.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
1.1 - System Architecture - CPU [OCR] [GCSE]

Quiz
•
9th - 12th Grade
17 questions
GCSE Computing 1.1 - 1.3 Revision

Quiz
•
10th - 11th Grade
14 questions
2.5 Programming Languages and IDEs

Quiz
•
10th Grade
10 questions
Computer Hardward - Fetch, Decode & Execute Cycle

Quiz
•
4th - 12th Grade
14 questions
SLR1.1 SLR1.2 recap #j277 #computer science #cpu

Quiz
•
10th - 12th Grade
12 questions
Categories of computers

Quiz
•
4th Grade - University
15 questions
STM OCR GCSE Computer Science: Section 1, Test 1

Quiz
•
9th - 11th Grade
15 questions
Programming Languages

Quiz
•
9th - 12th 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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade