Level 2026 | Study Guide,
Practice Questions,
Answers, Rationales &
Exam Review | Complete
Ethics Study Guide
Updated 2026 Questions and Answers
100% Verified Exam Prep and Comprehensive
Rationales
Included
,Give an example of assembly code LMC
Give an example of a high-level language C
Pseudocode Pseudocode is not a programming language, it is a simple way of describing a set
of instructions that does not have to use specific syntax.
Dry running A dry run is the process of a programmer manually working through their code to
trace the value of variables. There is no software involved in this process.
Variables Stores numbers, letter and special characters
Sequence Is the execution of statements or functions one after another. (Do this - then this -
then this)
Selection Is where the flow through a program is interrupted and control is passed to another
point in the program. The decision is based on a Boolean expression.
Iteration In computer programming, this is a single pass through a set of instructions.
HLT (LMC) Stop (Little Man has a rest)
ADD (LMC) Add the contents of the memory address from the accumulator
SUB Subtract the contents of the memory address from the accumulator
STA or STO (LMC) Store the value in the accumulator
, LDA (LMC) Load the accumulator with the contents of the memory address given
BRA (LMC) Branch always - use the address given as the address of the next instruction
BRZ (LMC) Branch to the address given if the accumulator is 0
BRP (LMC) Branch to the address given if the accumulator is 0 or positive
INP or OUT (LMC) Input or output, Take from Input if address is 2, copy to output if address is 2
OTC (LMC) Output the accumulator as a character if address is 22. (Non-standard instruction)
DAT (LMC) Used to indicate a location that contains data
What does = mean in LMC Assignment
What does == mean in LMC Checking if equal to
Local variable Variable declared is inside the function, only available to that function. This type of
variable can only be read or modified by the subroutine itself.
Global variable Variable declared outside functions available to whole functions. This type of
variable is available for any part of the code to read and modify
What is the life time of the local variable Function only