KS3 Computer Science

11-14 Years Old

48 modules covering EVERY Computer Science topic needed for KS3 level.

GCSE Computer Science

14-16 Years Old

45 modules covering EVERY Computer Science topic needed for GCSE level.

A-Level Computer Science

16-18 Years Old

66 modules covering EVERY Computer Science topic needed for A-Level.

Fetch Execute Cycle

A computer program is made up of sets of instructions that are encoded using the binary numbering system.  The fetch – decode – execute cycle is the order of steps that the Central Processing Unit (CPU) uses to follow instructions.  The fetch execute cycle was first proposed by John von Neumann who is famous for …

Read more

Database Record

A database record is a collection of fields about the same person, item, or object in a database. The database record can be thought of as a row of information within a database table. The Database A database is a set of data arranged in a way that a computer program can immediately choose the …

Read more

Logic Gates

Logic gates execute basic logical functions and are the core components of digital integrated circuits.  Most logic gates accept an input of two binary values and provide an output of a single binary value.  Some circuits have a few logic gates, while others have many logic gates.  A microprocessor has millions of logic gates.The connection …

Read more

Translators

A translator is a programming language processor that converts a computer program from one language to another.  It takes a program written in source code and converts it into machine code.  It discovers and identifies the error during translation. Purpose of Translator It translates a high-level language program into a machine language program that the …

Read more

Input Devices

An input device is a piece of hardware used to provide data to a computer used for interaction and control.  It allows the input of raw data to the computer for processing. Here’s a list of some input devices used in computers and other computing devices: Keyboard – one of the primary input devices used …

Read more

Storage Devices

A storage device is a piece of computer hardware used for saving, carrying, and pulling out data.  It can keep and retain information short-term or long-term.  It can be a device inside or outside a computer or server.  Other terms for the storage device are storage medium or storage media.A storage device is one of …

Read more

Microsoft Small Basic Support Pages Summary

KS3 Programming Resources (14-16 years) An editable PowerPoint lesson presentation Editable revision handouts A glossary which covers the key terminologies of the module Topic mindmaps for visualising the key concepts Printable flashcards to help students engage active recall and confidence-based repetition A quiz with accompanying answer key to test knowledge and understanding of the module …

Read more

Microsoft Small Basic Colours

Text Window colours: Example: TextWindow.ForegroundColor = “Magenta” or TextWindow.BackgroundColor = 13 0 Black 1 DarkBlue 2 DarkGreen 3 DarkCyan 4 DarkRed 5 DarkMagenta 6 DarkYellow 7 Gray 8 DarkGray 9 Blue 10 Green 11 Cyan 12 Red 13 Magenta 14 Yellow 15 White Graphics Window colours: Example: GraphicsWindow.BackgroundColor = “Magenta” Note: numbers cannot be used …

Read more

Logicator Flowcharting Software | Picaxe Logicator LCD/OLED screens

These are a self-assembly accessory, a bit fiddly to solder but easy with practice. The OLED display is far superior, brighter and with better contrast. This page will refer to the Budget Serial OLED Module The display has its own PICAXE-18M2 chip and a 3.5mm PICAXE Programming Connector. This allows the PICAXE-18M2 to be reprogrammed …

Read more

Picaxe Logicator Sample Programs & Software

store_high_score.plf This program uses EEPROM location 1 to store a high score. The program counts button presses, if the button is pressed more times than the high score then the high score is updated and stored back in EEPROM location 1. LED’s are used as indicators. Amber = waiting for a button press, red = …

Read more

Picaxe Logicator LED’s

The sensor kit includes 2 IR transmission LED’s. These can easily be replaced with your own coloured or white LED’s. When using the OUTPUT, HIGH and LOW commands, Logicator for PIC only recognises the B connectors as outputs . If you want to use an output such as an LED on the C connectors (such …

Read more

Picaxe Logicator Ultrasonic Sensor SRF005

The ultrasonic range sensor that can detect objects from 3cm to 3m away. The sensor can be used with the PICAXE system to calculate how far away the object is. The sensor is accurate enough to detect a 3cm broom handle at a distance of 2.4m. This is a self-assembly component. The instructions on the …

Read more

LMC Iteration Structures: While/Endwhile Loop

The following program will show the use of branch instructions to create a WHILE/ENDWHILE iteration (loop) structure in a program. The WHILE/ENDWHILE iteration structure tests the condition at the beginning of a loop (in this program, the loop continues while value1 is not zero). This means that if this test result is false (value1 is …

Read more

LDA and STA Instructions – LMC Load and Save

The following program will demonstrate the use of LDA and STA, the Load and Save instructions used in the LMC. Running the program: when prompted, INPUT a set of two numbers. The program should then OUTPUT them in the same order that they were entered. INPSTA firstINPSTA secondLDA firstOUTLDA secondOUTHLTfirst DATsecond DAT 0 INP1 STA …

Read more

LMC Simulator: CPU Simulator – VB.NET Version

This MS Windows version can be downloaded with no restrictions (requires Microsoft.NET Framework 4): lmc.net.zip (version 3.3). There is also an installation guide for a lmc.exe version that might be more suitable for school networks. Features Loads and saves assembly language programs as text files. Supports labels for both branching and data. Supports indentation making …

Read more

Using Labels with the LMC Simulator

Labels are used to label a memory address. This makes it much easier to refer to memory addresses that hold data or instructions. Example 1 – using labels with data: Example 2 – using labels with branch instructions: (i.e. BRP, BRA & BRZ) An example program using labels with data and branch instructions (it outputs …

Read more

The LMC Instruction Set

The LMC Instruction Set (summary table) Instruction Mnemonic ‘Machine Code’ Further information Load LDA 5xx Load the contents of address xx onto the accumulator. Note: the contents of the address are not changed. Store STA 3xx Store the contents of the accumulator to address xx. Note: the contents of the accumulator are not changed. Add ADD …

Read more

LMC Instruction Set Summary

Instruction Mnemonic Machine Code Load LDA 5xx Store STA 3xx Add ADD 1xx Subtract SUB 2xx Input INP 901 Output OUT 902 End HLT 000 Branch always BRA 6xx Branch if zero BRZ 7xx Branch if zero or positive BRP 8xx Data storage DAT NOTE: xx represents a memory address between 0 and 99. Further …

Read more

LMC Simulator VB.NET .exe Network Installation

A .exe version that is more suitable for network installations can be downloaded here: lmc.zip Thanks to Rudi Niemand of Tonbridge Grammar School for supplying the following network installation guide used in his school: The students are given access to a shared (read-only) folder that appears on their desktops.In there is a shortcut file (*.ink) …

Read more

LMC Input and Output

The following program will demonstrate the INPUT and OUTPUT instructions of the LMC. Running the program: the program simply INPUTS a number, then OUTPUTS it. INP OUT HLT Instructions Copy the three-line program above and paste it into the Program box. Click on the “Assemble Program” button. After the program is assembled you should see …

Read more

LMC Implementing Decisions

The following program will show the use of the BRP and BRA branch instructions in making decisions within a program. Running the program: when prompted, INPUT two numbers and the program will OUTPUT the biggest number of the two. INPSTA firstINPSTA secondSUB firstBRP secondBigLDA firstOUTBRA endProgramsecondBig LDA secondOUTendProgram HLTfirst DATsecond DAT 0 INP1 STA 122 …

Read more