General Electric monogramGE Heritage Village
GE Heritage Village bulb logo

GE STEM Lab · Student course

Digital Technology, Programming & Coding

Progress from variables and algorithms to functions, searching, databases and responsible digital systems through worked examples.

Original imagined learning zone · AI-assisted concept art, not a real GE facility.

Labeled system diagram · Digital Technology, Programming & Coding
0101CPUInstructionsResult1234Data pathways · not physical chip layout
  1. 1

    Input

    A validated whole number supplies the loop limit.

  2. 2

    Program

    Instructions initialise and update a running total.

  3. 3

    Variables

    Memory holds the counter and total.

  4. 4

    Output

    The result is displayed after iteration finishes.

Original simplified teaching schematic—not to scale, an installation guide, a historical artifact or a complete technical blueprint.

💻 HALL COURSE · 4 COMPLETE LESSONS

Digital Technology, Programming & Coding · learning syllabus

Progress from variables and algorithms to functions, searching, databases and responsible digital systems through worked examples. Original general computer-science learning, not a claim that GE invented programming or an official GE course.

Suggested 100 minutes · foundation explanations → worked examples → interactive experiments

Foundation · 0478 areas 7–8 · 20 suggested minutes

01 · Variables, types and precise algorithms

Learning objective: Explain typed values, assignment and sequence; trace a simple program.

An algorithm is a precise ordered method for solving a task. Decomposition breaks a large problem into smaller steps; abstraction retains the details needed for a particular purpose. A variable is a named place for a value. Assignment replaces its current value: total = total + price first evaluates the right side, then stores the result. This differs from an equation asserting two equal quantities. A dry-run trace records values after each step.

Integers represent whole numbers; real values represent quantities with fractions, subject to representation limits. Strings represent text and Booleans represent true or false. Python can infer types at runtime, whereas examination pseudocode may explicitly declare them. INPUT and OUTPUT describe receiving and presenting data; converting text to an integer can fail if the text is not a valid number. Validate data before relying on it, and do not silently treat invalid input as zero.

A flowchart connects start/end, input/output, processing and decision symbols. Pseudocode expresses the same logic without requiring a particular language. Follow the order, define each variable before using it, and keep the task finite when it is intended to terminate. The examples here use fictional numbers rather than personal information. These are selected IGCSE-style foundations; Python syntax and Cambridge examination notation are related learning tools, not interchangeable official mark schemes.

Worked example · follow the reasoning

Python: price = 12; quantity = 3; total = price * quantity; print(total). The assignments store 12 and 3, multiplication produces 36, and output displays 36. Pseudocode uses total ← price × quantity.

Common misconception

Assignment changes a stored value; it is not the mathematical claim that total equals total plus something forever.

Foundation → intermediate · 0478 areas 7–8 · 25 suggested minutes

02 · Selection, loops and trace tables

Learning objective: Trace conditions and iteration, including boundary values and termination.

Selection chooses a branch according to a Boolean expression. IF temperature >= 30 selects a cooling message at 30 as well as above 30. AND requires both conditions to hold, OR requires at least one, and NOT reverses a Boolean result. An IF/ELSE chooses one branch; several independent IF statements can select several actions. State the intended boundaries explicitly because a one-character change can alter which cases are included.

Iteration repeats operations. A count-controlled loop runs a defined number of times; a condition-controlled loop repeats according to a condition. In Python, range(1, n + 1) includes the values one through n because the stopping value is excluded. A total accumulator starts at zero, while a counter tracks repetitions. Record the counter, current input and total after each iteration to make the behaviour visible rather than guessing from the source code.

Testing distinguishes normal, boundary and invalid data. For a demonstration accepting integers one to twenty, one and twenty are valid boundaries and zero is outside the allowed range. A loop should make progress toward termination. The practical trace on this page is bounded to twenty iterations and evaluates a fixed algorithm only; it is not an unrestricted interpreter. This makes results predictable without running pasted code or contacting another service.

Worked example · follow the reasoning

For n = 4: total begins at 0. Iteration values 1, 2, 3, 4 produce totals 1, 3, 6, 10. Python: total = 0; then for value in range(1, n + 1): total += value. Finally print(total) displays 10.

Common misconception

range(1, 4) stops before four; use range(1, 5) when four must be included.

Intermediate → advanced · 0478 areas 7–8 · 25 suggested minutes

03 · Functions, arrays, searching and sorting

Learning objective: Use reusable functions and trace linear search and bubble sort.

A function groups a reusable operation and can return a result. Parameters receive arguments supplied by the caller; local variables belong to that invocation. For def area(width, height): return width * height, area(3, 4) returns twelve. Returning a value differs from printing it. Break a program into small responsibilities, such as validating input, calculating a result and presenting it, so each can be checked independently.

An array stores a sequence of elements accessed by index. Python lists can illustrate this idea, although their flexibility goes beyond a fixed-size examination array. Python indices begin at zero: [8, 3, 5][1] is three. Linear search examines elements in sequence until it finds the target or reaches the end. Binary search repeatedly narrows an ordered search interval, but requires appropriately sorted data; applying it to unsorted values is not a valid shortcut.

Bubble sort compares adjacent elements and swaps them if they are in the wrong order, repeating passes until sorted. A pass need not complete the whole sort. Use a trace table to record the actual intermediate states. At more advanced enrichment level, compare how work grows with input size rather than timing one tiny example and declaring a universal winner. Testing, readability and correct handling of empty or missing results matter as much as reaching a result once.

Worked example · follow the reasoning

Linear search for 5 in [8, 3, 5] compares 8, then 3, then 5 and returns index 2. One ascending bubble-sort pass changes [8, 3, 5] → [3, 8, 5] → [3, 5, 8]. def area(w, h): return w * h gives area(3, 4) = 12.

Common misconception

Binary search requires ordered data; a function that prints a number does not necessarily return that number.

Advanced applications · 0478 areas 5, 9–10 · 30 suggested minutes

04 · Databases, logic and responsible digital systems

Learning objective: Explain relational tables, SQL filtering, Boolean logic and practical safeguards.

A relational table stores records as rows and fields as columns. A primary key identifies each record uniquely; a foreign key can link related tables. Data types and validation rules constrain what can be stored, but cannot prove a fact is true. Fictional inventory is a safe learning context: keep personal names, credentials and financial details out of classroom examples. A database query retrieves selected information rather than automatically changing all records.

SQL SELECT chooses columns, FROM names a table and WHERE filters rows. ORDER BY controls the result ordering and aggregate functions can summarise values. In a fictional inventory with items Pencil quantity 12 and Notebook quantity 3, SELECT item FROM stock WHERE quantity < 5 returns Notebook. Treat this as an explained query, not a connection to village data. Real database access needs authorisation, parameterised input and carefully limited permissions.

Boolean logic can be described with AND, OR and NOT gates and truth tables. For an alarm enabled AND door_open, only the case where both inputs are true activates the alarm. Networks carry data, web services process requests and automated systems act on outputs, creating privacy and security responsibilities. Validate input, restrict access, keep software updated and evaluate AI outputs critically. These applications connect IGCSE topics to wider technology; professional security and advanced computer science require deeper study beyond this introductory course.

Worked example · follow the reasoning

SQL on fictional rows: SELECT item FROM stock WHERE quantity < 5 returns Notebook when its quantity is 3 and Pencil has 12. AND truth table: false/false → false; false/true → false; true/false → false; true/true → true.

Common misconception

Validation checks a format or range, not truth; encryption and access control serve different purposes.

VISUAL SCIENCE NOTEBOOK

Digital Technology, Programming & Coding · how the system works

Process 1 · Input n → Output total
01Input n
02Initialise total = 0
03Iterate 1 through n
04Output total
Process 2 · Argument values → Return result
01Argument values
02Function parameters
03Process locally
04Return result
Process 3 · Fictional records → Ordered result
01Fictional records
02SQL WHERE filter
03Selected rows
04Ordered result

Process icons are conceptual symbols. Arrows show a selected energy, information or reasoning pathway—not scale, physical component positions or a complete engineering schematic. Use the lesson text and sources for the assumptions.

WATCH · PAUSE · EXPLAIN

Educational video lessons

freeCodeCamp.org

Learn Python - Full Course for Beginners [Tutorial]

freeCodeCamp.org · metadata checked November 8, 2026

Variables, selection, loops and functions; independent programming enrichment beyond an exam-specific course. Metadata checked 2026-11-08.

Watch on YouTube

Third-party lessons, not GE Heritage Village productions or partnerships. Loading a player connects to YouTube; external videos may contain advertising or become unavailable. Metadata checks identify the selected video, not certification of every statement. Original lesson sources remain the reference for calculations.

Young scientists · ages 8–12 with an adult

Digital Technology, Programming & Coding

Original general computer-science learning, not a claim that GE invented programming or an official GE course.

Original educational illustration: Digital Technology, Programming & Coding

Original AI-assisted educational illustration · numbered concept markers, not exact component locations or a technical blueprint.

A validated integer supplies the number of loop iterations.

Trace a working program

COMPUTER SCIENCE · WORKED PRACTICAL

Programming lab · watch the values change

Sequence → loop → accumulation → output. Python adds each integer from 1 through n; the trace shows the total after every iteration.

n = 4
total = 0
for value in range(1, n + 1):
    total += value
print(total)
Iteration / valueRunning total
11
23
36
410
Program output: 10

Fixed algorithm, evaluated only in this page. No pasted code runs and no data is saved.

Explore computer hardware

The science behind it

Algorithms specify precise steps. Sequence, selection and iteration control program execution.

Page-local demonstrations only. No arbitrary code execution or personal data collection. Never use real passwords or private records in examples.

How things work · exploration library

Computing

How a CPU follows instructions

A processor follows machine instructions that operate on data. Conceptually, it fetches an instruction, decodes it and performs an operation. Modern processors overlap many operations, but an instruction set still defines what the machine can do. A CPU is not a tiny person making decisions.

Original explanation. For evidence and further reading, open the corresponding hall’s science references.

Science tutor

AI can make mistakes; check the lesson’s sources. Don’t share personal information. This conversation is not saved and disappears when you leave the page.

What would you like to understand about this science hall?

Original teaching materials and AI-assisted concept pictures. Selected IGCSE-style topics and engineering enrichment, not a complete accredited examination course. Volunteer education project, not official GE.

References & further reading

Selected syllabus references

Original British IGCSE-style lessons based on selected subject areas, not a complete exam course, official mapping of every objective, or Cambridge-endorsed material. Core/Supplement and Core/Extended requirements vary. MRI reconstruction, turbine cycles and specialist engineering are application enrichment beyond the underlying school topics. Check the current official syllabus for examination requirements. Video metadata identifies third-party lessons; it does not certify every spoken claim or license downloads.