Term 3 · Computing · Age 14
Validation, strings, arrays, searching and sorting, databases and SQL, logic gates, cyber security and a project
Term 3: 10 lessons in Computing · Age 14
- Validation, verification and test data: Validation is an automatic check that data is reasonable before a program uses it. Try each kind of check.
- Strings and nested selection: Strings are sequences of characters, each with an index. Move the sliders to take a substring, and try changing case.
- Arrays: 1D and 2D: An array stores many values of the same type under one name. Each item has an index.
- Linear search and bubble sort: Linear search starts at the first item and checks each in turn until it finds the target or reaches the end.
- Designing a database table: A database table stores data about one kind of thing. Each column is a field; each row is a record. Tap each.
- Asking questions with SQL: SQL asks a database questions. SELECT picks fields, FROM names the table, WHERE picks records.
- Logic gates and truth tables: A logic gate takes binary inputs and gives one binary output. Choose a gate, then tap A and B to change the inputs.
- Logic circuits and expressions: A logic circuit joins gates. Work out each gate's output in turn. Tap A, B and C and watch the row of the truth table light up.
- Cyber security threats: Malware is software written to cause harm. Look at each threat.
- Project: a score tracker: Our project: a program that stores players' names and scores, validates input, finds the winner and the average. First, split it into parts.