<DS/>DS_VISUALIZER
FoundationsOOPArraysLinked ListStacksQueuesTreesGraphsHashingStrings
exploreExplore
homechevron_rightTopicschevron_rightFoundationschevron_rightProgramming Basics
smart_toy

FOUNDATIONS · BASICS

Programming Basics

The glass machine: instructions, memory boxes and a console — nothing hidden.

Choose a lesson

smart_toyarrow_outward

What is a Program?

Instructions → memory → output. That's all of it.

4 steps2 boxes◍ 0/5
inventory_2arrow_outward

Variables

Labeled boxes; assignment overwrites, copies don't follow.

5 steps2 boxes◍ 0/5
categoryarrow_outward

Datatypes

5 + 1 = 6, but "5" + 1 = "51" — the type decides.

6 steps3 boxes◍ 0/5
alt_routearrow_outward

Conditionals

A true/false question picks which lines run.

one path1 box◍ 0/5
repeatarrow_outward

Loops

The program counter jumps backwards — that's a loop.

n laps2 boxes◍ 0/6