← Back to CoursesComputer Science: Beginner

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Variables, Types, and Simple Expressions

Manual: General · Subject: Computer Science

Introduce storing information with variables and using basic data types and expressions.

Storing information in programs

Variables

A variable is a named place for storing a value in a program. It lets a program remember information and use it later.

Types

A type tells us what kind of data a value is. Common beginner types include numbers, text, and booleans. A boolean has only two values: true or false.

🔑

Examples of variables

A variable named age might store 1212, while a variable named isLoggedIn might store true.

What is a variable used for?

What is a boolean value?

Expressions

An expression combines values and operators to produce a new value. For example, 3+43 + 4 is an expression whose value is 77.

What is the value of 2+52 + 5?

Name one common data type and what it stores.