Types of Programming Language (OCR A-Level Computer Science): Quizzes
📚Quizzes
Practise the questions
12 questions from this quiz
ShowHide
Practise the questions
12 questions from this quiz
What characteristic makes assembly language specific to a particular computer?
What characteristic makes assembly language specific to a particular computer?
It is tied to the computer's architecture
What is the primary purpose of the Little Man Computer (LMC)?
What is the primary purpose of the Little Man Computer (LMC)?
Simplified CPU model for beginners
How many digits does each LMC mailbox hold?
How many digits does each LMC mailbox hold?
3 digits
What is the accumulator in LMC?
What is the accumulator in LMC?
Single register for arithmetic
What does the Program Counter keep track of in LMC?
What does the Program Counter keep track of in LMC?
Address of next instruction
What is the instruction code for ADD in LMC?
What is the instruction code for ADD in LMC?
1XX
What does the STA instruction do in LMC?
What does the STA instruction do in LMC?
Stores accumulator into address
When does the BRZ instruction branch to a specified address?
When does the BRZ instruction branch to a specified address?
When accumulator is zero
What is the instruction code for HLT (halt) in LMC?
What is the instruction code for HLT (halt) in LMC?
000
What is the instruction code for INP (input) in LMC?
What is the instruction code for INP (input) in LMC?
901
What does tracing an LMC program involve?
What does tracing an LMC program involve?
Following each instruction step-by-step
What happens if the HLT command is missing from an LMC program?
What happens if the HLT command is missing from an LMC program?
Program may continue running
