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

  1. Validation, verification and test data: Validation is an automatic check that data is reasonable before a program uses it. Try each kind of check.
  2. Strings and nested selection: Strings are sequences of characters, each with an index. Move the sliders to take a substring, and try changing case.
  3. Arrays: 1D and 2D: An array stores many values of the same type under one name. Each item has an index.
  4. 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.
  5. 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.
  6. Asking questions with SQL: SQL asks a database questions. SELECT picks fields, FROM names the table, WHERE picks records.
  7. 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.
  8. 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.
  9. Cyber security threats: Malware is software written to cause harm. Look at each threat.
  10. 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.

Revision and short notes

All of Computing · Age 14