7. Videos

22 videos: the MrBrownCS programming series, Visual Basic walk-throughs, and explainers from TED-Ed and Computerphile. Watch, then answer the “watch and think” questions.

Videos play from YouTube in privacy-enhanced mode, only when you press play. If YouTube is blocked, ask your teacher for the copies on Teams.

A1 Why is software used?

Open the lesson →

A short, friendly introduction to how computers follow step-by-step instructions.

Watch and think:

  • What everyday task could you write an algorithm for?

Open on YouTube ↗

A2 Programming languages and compiling

Open the lesson →

Why we write in high-level languages and what machine code is.

Watch and think:

  • Give one advantage of each type of language.

Open on YouTube ↗

How source code is turned into something the CPU can run.

Watch and think:

  • Why does a compiled program run without the compiler?

Open on YouTube ↗

A4 The quality of software programs

Open the lesson →

How programmers make code robust and maintainable.

Watch and think:

  • Which quality measures does defensive programming improve?

Open on YouTube ↗

B1 The software development life cycle

Open the lesson →

The stages professional teams follow, and how agile differs from waterfall.

Watch and think:

  • Which stage do you think is skipped most often, and what goes wrong?

Open on YouTube ↗

B4 Algorithms: pseudocode, flowcharts and trace tables

Open the lesson →

The flowchart symbols and how to read them.

Watch and think:

  • Which symbol shows a decision?

Open on YouTube ↗

How to dry-run an algorithm with a trace table.

Watch and think:

  • Why is a trace table useful before you write code?

Open on YouTube ↗

Stretch: a longer walk-through of writing clear pseudocode.

Watch and think:

  • How is pseudocode different from real code?

Open on YouTube ↗

B5 Data, validation, error handling, predefined code and test plans

Open the lesson →

Validation, verification and keeping data accurate.

Watch and think:

  • Give an example of a range check and a presence check.

Open on YouTube ↗

C1 The development environment, forms and events

Open the lesson →

The tools inside an IDE such as Visual Studio.

Watch and think:

  • Which IDE tool helps you find logic errors?

Open on YouTube ↗

Reference: a full Visual Basic course. Dip into the parts you need rather than watching it all.

Watch and think:

  • Find the section on the topic you are working on and try the example.

Open on YouTube ↗

C2 Variables, constants, data types and operators

Open the lesson →

Choosing data types and when to use a constant.

Watch and think:

  • Why is a phone number stored as a string?

Open on YouTube ↗

C3 Sequence and selection

Open the lesson →

The three building blocks of every program.

Watch and think:

  • Give one example of each construct from a program you have written.

Open on YouTube ↗

Selection in Visual Basic, step by step.

Watch and think:

  • What happens if two ElseIf conditions are both true?

Open on YouTube ↗

C4 Iteration: loops and recursion

Open the lesson →

Stretch: how a function can call itself.

Watch and think:

  • What stops a recursive function running forever?

Open on YouTube ↗

C5 Subroutines, functions and procedures

Open the lesson →

Why programs are split into procedures and functions.

Watch and think:

  • Why can’t one subroutine see another’s local variables?

Open on YouTube ↗

How functions take parameters and return values.

Watch and think:

  • What is the difference between a parameter and a return value?

Open on YouTube ↗

C6 Data structures and string handling

Open the lesson →

Storing lots of data under one name.

Watch and think:

  • What is the index of the third element?

Open on YouTube ↗

Length, substrings, case changes and more.

Watch and think:

  • How would you get the first letter of a name?

Open on YouTube ↗

C7 File handling, validation, error handling and compiling

Open the lesson →

Keeping data after the program closes.

Watch and think:

  • Why must a file be closed after writing?

Open on YouTube ↗

C8 Testing, debugging, feedback and refining

Open the lesson →

How to plan tests and choose test data.

Watch and think:

  • Give normal, boundary and erroneous data for ‘age 16 to 65’.

Open on YouTube ↗

The difference between errors that stop a program and errors that give wrong answers.

Watch and think:

  • Which kind of error will the IDE underline for you?

Open on YouTube ↗