Types of Programming Language (OCR A-Level Computer Science): Quizzes

📚Quizzes
Assembly Language & Little Man Computer
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

12 questions from this quiz

Show

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)?

Simplified CPU model for beginners

How many digits does each LMC mailbox hold?

3 digits

What is the accumulator in LMC?

Single register for arithmetic

What does the Program Counter keep track of in LMC?

Address of next instruction

What is the instruction code for ADD in LMC?

1XX

What does the STA instruction do in LMC?

Stores accumulator into 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?

000

What is the instruction code for INP (input) in LMC?

901

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?

Program may continue running

Join 100,000+ A-Level students studying Quizzes with us.

Select your subjects, and get access to A+ resources today.