Skip to content
DE EN
Subscribe

Computer Science Basics

Easy to follow, grades 7–10.

Tip: The videos also have an English audio track. On YouTube, open ⚙ Settings → Audio track.

13:16

Episode 1

What Is Computer Science? Explained

What you will learn

  • computer science in everyday life: alarm clock, bus app, music recommendations, checkout, traffic lights, fitness watch
  • information + automation = computer science (in German: Informatik)
  • data or information? What the number 8003 means depends on the context
  • the IPO model: input, processing, output and storage – shown with a fitness watch, a games console, a checkout and a vending machine
  • hardware and software – and what the operating system does in between
  • algorithms: unambiguous, executable, finite – tested with the robot butter sandwich
  • a short history of computing in 60 seconds
  • fields, jobs and paths into computer science
  • the four most common misconceptions about computer science
11:55

Episode 2

The Binary System Explained

What you will learn

  • why only 0 and 1: light switches, transistors and noise
  • bits and bytes – and why every extra bit doubles the possibilities (2⁸ = 256)
  • place values in the decimal and the binary system: 1101 = 8 + 4 + 1 = 13
  • decimal to binary: with powers of two (200 = 1100 1000) and with repeated division
  • the finger trick: count to 1023 with two hands
  • binary arithmetic: 1 + 1 = 10, column addition 13 + 6 = 10011
  • kB, MB, GB, TB – and why 1 TB shows up as 931 GB (1000 versus 1024)
  • the four most common mistakes with binary numbers
11:52

Episode 3

Data Representation Explained

What you will learn

  • everything is code: the same byte is 65, the letter A or a dark grey
  • text with ASCII: A = 65, a = 97, “Hi” as two bytes
  • Unicode and UTF-8: why ä needs 2 bytes, € 3 and an emoji 4 – and where “für” comes from
  • pictures: pixels, RGB colours, Minecraft textures and Full HD
  • sound: sample rate (44,100 per second) and resolution (16 bits)
  • calculating file sizes: photo, song and video
  • compression: run-length encoding, lossless (ZIP, PNG) and lossy (JPEG, MP3)
  • the four most common mistakes about data
11:10

Episode 4

Logic Gates Explained

What you will learn

  • true or false: statements as 1 and 0
  • AND: switches in series and two-hand control on a press
  • OR: switches in parallel, a doorbell at two doors and the filter in an online shop
  • NOT: the fridge light and the pause button in a game
  • XOR: the stairwell light with two switches
  • gate symbols: European rectangles (&, ≥1, =1) and American shapes
  • an alarm system with eight rows in its truth table – and redstone in Minecraft
  • the half adder: how gates compute
  • the four most common mistakes in logic
11:43

Episode 5

How Does a Computer Work? Explained

What you will learn

  • a look inside: PC, laptop and phone (system on a chip)
  • the processor: clock speed in GHz, cores and billions of transistors
  • RAM, the desk: fast but volatile
  • SSD and hard drive, the bookshelf: permanent
  • motherboard and bus, power supply (230 V → 12 V, 5 V, 3.3 V) and power in watts
  • the graphics card: thousands of cores for pixels, video editing and AI
  • reading spec sheets: gaming PC versus office laptop
  • the operating system: Windows, macOS, Linux, Android, iOS – and drivers
  • from a key press to the screen, and from a photo on the SSD to the display
  • the four most common mistakes
13:12

Episode 6

Algorithms Explained

What you will learn

  • algorithms in everyday life: recipes, assembly instructions, the Rubik's Cube, navigation – and what “the algorithm” on TikTok means
  • four properties: unambiguous, executable, finitely described, terminating (and why shampoo instructions never end)
  • sequence, selection, repetition – no program needs more
  • a flowchart for a pedestrian crossing with the standard symbols
  • structograms (Nassi–Shneiderman) and pseudocode
  • the robot bear: 12 commands become 5 lines with a loop
  • searching: 73 in six questions instead of up to a hundred
  • insertion sort with playing cards
  • the four most common mistakes
11:13

Episode 7

Introduction to Programming Explained

What you will learn

  • machine code and high-level languages – JavaScript, Java, C++, Scratch and Python
  • Thonny or an online editor: code on top, console below
  • print("Hello World"), quotation marks and comments
  • variables as labelled boxes: score = score + 10
  • int, float, str, bool – and why the type matters
  • arithmetic: 7 / 2, 7 // 2, 7 % 2 and a year of pocket money (€780)
  • input(): Hello Mia!, your age in days and the “3 + 4 = 34” trap
  • SyntaxError, NameError, TypeError, ValueError – read from the bottom
  • the four most common mistakes
11:00

Episode 8

Conditions & Loops Explained

What you will learn

  • comparisons return True or False – and why == is not the same as =
  • if and else: an age rating of 12 – and why indentation matters
  • elif: a battery indicator at 80, 35 and 10 percent
  • and, or, not: if lives > 0 and not paused
  • for and range: the seven times table – range stops before the end number
  • while: countdown, password lock, alarm clock – and avoiding infinite loops
  • summing like Gauss: 1 + 2 + … + 100 = 5050
  • the complete number guessing game in Python
  • the four most common mistakes
11:13

Episode 9

Functions & Lists Explained

What you will learn

  • why copied code is a source of bugs
  • defining and calling functions: greet("Lea")
  • parameters and return: area(4, 5) = 20, a discount calculator €80 − 25 % = €60
  • local variables and the NameError
  • lists: songs[0], songs[-1], len, append, insert, remove
  • analysing a week of temperatures: sum 115, average ≈ 16.4 °C, maximum 21
  • sorting high scores and finding the top 3
  • built-in helpers and random.choice for shuffle play
  • four typical mistakes
10:01

Episode 10

Objects & Classes Explained

What you will learn

  • your phone as an object: attributes and methods
  • reading object cards: player1 with name, lives and x
  • class = blueprint: a cookie cutter and its cookies
  • class Player with __init__ and take_damage() – only Mia loses a life
  • steering 100 enemies with a list and two lines
  • object = row, attribute = column: books in the media library
  • four typical mistakes
11:07

Episode 11

How the Internet Works – Explained

What you will learn

  • Wi-Fi, internet, web: three words, three things
  • client and server: ordering and delivering
  • routers as switches – and tracert shows the route
  • IP addresses: 192.168.1.23 at home, IPv4 and IPv6
  • DNS: the phone book of the internet
  • one photo in 2000 packets – sorted and complete
  • submarine cables instead of satellites · ping Zurich–New York worked out
  • 50 GB at 100 Mbit/s: why the download takes 67 minutes
  • the cloud: other people's computers
  • five typical mistakes
12:03

Episode 12

Databases Explained

What you will learn

  • databases everywhere: contacts, school app, shop, Pokédex, game inventory
  • the table books of the class library: row = record, column = field
  • the primary key: two books called “Momo” – which one is meant?
  • why not a spreadsheet: many users, rules, volume, permissions
  • redundancy: suddenly Mia is in class 8a and in 8b
  • three tables linked by numbers – a relational database
  • filter, sort, search – and why an index is so fast
  • reading SELECT title FROM books WHERE genre = 'Fantasy'
  • your data in other people's databases
12:56

Episode 13

Cybersecurity & Privacy Explained

What you will learn

  • cracking times worked out: length beats special characters
  • passphrases from random words and the password manager
  • two-factor: knowledge + possession – start with your mail account
  • a phishing mail exposed by five signs
  • virus, worm, trojan, spyware, ransomware – and the 3-2-1 rule
  • encrypting and decrypting Caesar by hand, cracking it in seconds
  • what the padlock in the browser really means
  • your rights: access, deletion, objection
  • metadata in photos and the right to your own image
  • five typical mistakes
11:43

Episode 14

Artificial Intelligence Explained

What you will learn

  • AI in everyday life: face unlock, translators, song tips, spam filters
  • rules or learning – and why dog versus cat fails with rules
  • training data, training, testing – and the error rate
  • try it yourself: train an image model in the browser
  • the ice-cream neuron: inputs, weights, threshold
  • “The bear likes to eat …” – how a language model picks the next word
  • image generators and spotting deepfakes
  • bias: when a model doesn't recognise a dachshund as a dog
  • using AI wisely: check, protect your data, think for yourself
  • four typical mistakes
13:00

Episode 15

Code a Calculator in Python

What you will learn

  • setting requirements: what should the calculator do?
  • the flowchart from episode 6 and a list of functions
  • version 0.1: input, float, print – and why “3,5” with a comma crashes
  • version 0.2: if, elif, else, division by zero, a while loop
  • version 0.3: the functions add, subtract, multiply, divide and a history list
  • try and except: asking again until a valid number arrives
  • live debugging: = instead of ==, a forgotten float, wrong indentation
  • a test table: expected versus actual – and why 0.1 + 0.2 is not exactly 0.3
  • extending: 19 % of 80, 2 to the power of 10, 15 € a week × 20 weeks = 300 €
  • four typical mistakes
12:14

Episode 16

Build Your Own Database – Explained

What you will learn

  • requirements: add, search, lend, return – and who may do what?
  • DB Browser for SQLite: one file = one database
  • the table books with id, title, author, year, genre and a primary key
  • entering data with the mouse and with INSERT
  • SELECT, WHERE, ORDER BY, LIKE and COUNT with real results
  • the UPDATE trap: without WHERE every book suddenly becomes a novel
  • who has Momo? linking students, loans and books by number
  • data minimisation: first name and class only, backups, no sharing
  • four typical mistakes
10:51

Episode 17

Build a Logic Gate Computer

What you will learn

  • the plan following input, processing, output: 8 switches, an adder, 5 lamps
  • CircuitVerse or Logisim Evolution: free, switches, gates, lamps, wires
  • testing AND, OR and XOR with switches and lamps
  • the half adder: XOR for the sum, AND for the carry
  • the full adder from two half adders and an OR
  • the 4-bit adder: 5 + 6 = 0101 + 0110 = 1011 = 11
  • overflow: 9 + 8 = 17 and the fifth lamp
  • from adder to computer: memory, control unit, program
  • four typical mistakes