LMC Conditional Structures
The following program will show the use of branch instructions to create an IF/ELSE/ENDIF conditional structure in a program. Running the program: when prompted, INPUT two numbers, if they are different then the program will OUTPUT a 0 (FALSE) and if they are the same then the program will OUTPUT a 1 (TRUE), NOTE: The …
LMC Branching – Instructions To Implement Decisions
The following program will demonstrate the use of the three branch instructions: BRZ, BRP and BRA. Running the program: INPUT a number and the program will OUTPUT a sequence of numbers, starting at 1 and finishing with the INPUT number. The program will continue until a 0 is entered. start LDA zero STA count INP …
LMC Addition and Subtraction
The following program will demonstrate the ADD and SUB instructions of the LMC instruction set. Running the program: when prompted, INPUT a set of three numbers. The program should add the first two numbers and output the answer, then subtract the first number from the third and output the answer. INP STA first INP ADD …
Programming Language Quiz
Further Readings: Programming language
Little Man Computer Gap Fill
Further Readings:
Control Flow Multiple Choice Quiz
Further Readings: Control flow
Lossy Compression Gap Fill Exercise
Further Readings: Lossy compression
The Internet Quiz
Further Readings: Internet History of the Internet
File Type Match Up Quiz
Further Readings: File format
File Compression Quiz
Further Readings: Data compression
Steps in Creating a Database Exercise
Further Readings: Database
Data Entry Checks Quiz
Further Readings: Data validation
Access Database Validation 2 Quiz
Further Readings: Data validation
Access Database Validation 1 Quiz
Further Readings: Data validation
Bitmap Image and Colour Depth Quiz
Further Readings: Bitmap Color depth
Colour Depth Gap Fill Exercise
Further Readings: Color depth
Data Units Gap Fill Exercise
Further Readings: Units of information
Data Units Multi-Choice Quiz
Further Readings: Units of information
Colour Mapping and Direct Colour
Pupil Resources – EXTENSION TOPIC What is the difference between Colour Mapping and Direct Colour? Colour mapping With low colour depths (up to 8-bit) it is practical to map every colour to a binary code. 1-bit colour mapping – (2 colours) monochrome, often black and white. 2-bit colour mapping – (4 colours) CGA – used …
Truth Tables Gap Fill Exercise
Further Readings: Truth table