Search Header Logo

GCSE Unit 2 Prep - Assembly language and logic gates

Authored by Andrew Dawson

Computers

10th Grade

Used 3+ times

GCSE Unit 2 Prep - Assembly language and logic gates
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?