Search Header Logo
LMC Recap

LMC Recap

Assessment

Presentation

Computers

12th Grade

Practice Problem

Easy

Created by

C Norris

Used 7+ times

FREE Resource

13 Slides • 19 Questions

1

LMC Recap

Lesson 2

Slide image

2

Slide image

3

Slide image

What is this?

4

Slide image

5

Mnemonics for LMC

  • ADD

  • SUB

  • STA

  • LDA

  • INP and OUT

  • DAT

  • HLT

6

Slide image

7

Slide image

8

Slide image

9

Then we looked at branching

This allowed us to jump to different parts in our program

10

Open Ended

What were the 3 types of branching?

11

Slide image

12

Slide image

13

Slide image

14

Open Ended

We then looked at the addresses of where data is stored. What were the 4 types of addressing we studied?

15

Open Ended

What were the symbols and which type of addressing did they represent?

16

Slide image

17

Multiple Choice

The LMC performs all THREE except

1

Execute

2

process

3

decode

4

fetch

18

Multiple Choice

What does the accumulator register do?
1
This stores data that is being used by the CPU (for example in calculations)
2
This holds personal details
3
This is used to keep track of all the instructions.
4
This is where the instructions are stored

19

Multiple Choice

What Ends the program (Halt)?

1

HALT

2

HLT

3

END

4

STOP

20

Multiple Choice

What Outputs the number in the accumulator?

1

OUT x

2

OUTP x

3

OUTPUT x

4

All of the above

21

Multiple Choice

What Loads the number in address x into the accumulator?

1

LAD x

2

Load x

3

LDA x

4

ID4 x

22

Multiple Choice

What stores the number in the accumulator to address x?

1

STO x

2

Store accumulator

3

LDA

4

STA x

23

Multiple Choice

What Input a number to the accumulator?

1

INT

2

INP

3

INPUT

4

STA x

24

Multiple Choice

What are the two main types of primary memory?
1
RAM & ROM
2
HDD & Flash
3
Opcode & Operand
4
First and Second

25

Multiple Choice

What does the following instruction do in LMC: 
A DAT 5
1
Creates a memory location called B
2
Creates a memory location labelled 5 which stores the letter A
3
Create a memory location labelled A which stores the number 5
4
Creates a memory location labelled C

26

Multiple Choice

What does the BRA loop do in LMC?
1
This will keep looping the program until you stop it.
2
This will loop the program until a certain condition is met.
3
This will loop the program until the accumulator is 0.
4
This will loop the program until the accumulator is negative

27

Multiple Choice

What is the Mnemonic code for the STORE instruction in LMC?
1
STO
2
LDA
3
STA
4
BRA

28

Multiple Choice

What is the purpose of Memory Data Register (MDR)?
1
This holds all the data that needs to be processed.
2
This carries out the calculations.
3
This holds the location of where the data will be loaded from or stored.
4
This register saves information to the hard drive.

29

Multiple Choice

What is the purpose of the Memory Address Register (MAR)?
1
This holds the instruction to be carried out by the CPU.
2
This hold the location of where the data is.
3
This is used to carry out calculation.
4
This is used to keep track of which instruction is next.

30

Multiple Choice

What is the purpose of the Program Counter (PC) register?
1
This is used to hold the instruction that needs to be carried out.
2
This is used to save information.
3
This is used to hold the location of the data.
4
This is used to store the memory address of the next instruction.

31

Multiple Choice

Question image
What is the purpose of the CPU's registers?
1
These are used to permanently store data and instructions
2
These are used to temporarily store data and instructions.
3
They are used to keep track of the CPU speed.
4
They are used to check the CPU's processing power

32

Multiple Choice

Question image
What are the two main parts of a program instruction?
1
RAM and ROM
2
ALU and Control Unit
3
Cache and Registers
4
Opcode and Operand

LMC Recap

Lesson 2

Slide image

Show answer

Auto Play

Slide 1 / 32

SLIDE