- Home
- /
- CS Thinking
- /
- Concept Map
- /
- Data & Analysis
Data & Analysis Concepts
9 concepts · Grades 6-8 · 8 prerequisite connections
Concept Dependency Graph
Concepts flow left to right, from foundational to advanced. Hover to highlight connections. Click any concept to learn more.
Connected Families
Data & Analysis concepts have 11 connections to other families.
How Data & Analysis Connects to Other Topics
Data & Analysis concepts build on and feed into concepts across other families. Understanding these connections helps you plan what to study before and after.
Builds on
All Data & Analysis Concepts
Array
An ordered collection of values stored together under a single name and accessed by their numeric index position. Arrays allow you to store, retrieve, and manipulate multiple related values efficiently using loops and index-based access.
"An array behaves like the wall of numbered mailboxes in an apartment lobby: one building address, one box per apartment, and the mail carrier goes straight to box 4 without opening boxes 0 to 3. Two differences: an array's numbering starts at 0, and there is no box past the last one."
Why it matters: Once values sit in an array, a few lines of code can handle a thousand of them: a loop adds every score, finds the highest, or checks each item in a cart. Without arrays you would need a separate variable for every value (score1, score2, score3 and so on) and new code each time the list grew. Most array bugs come from one counting rule: the last index is one less than the length.
Binary
Binary is a base-2 number system that uses only two digits, 0 and 1, to represent all values. Each digit position represents a power of 2, and computers use binary because electronic circuits have exactly two states: on and off.
"Picture a balance with one weight each of 1, 2, 4, 8 and 16 grams. Each weight is either on the pan (1) or off it (0), and every whole number of grams from 0 to 31 can be made in exactly one way, just as every number has exactly one binary form. The picture stops at addition: binary sums need the carry rule."
Why it matters: Every number, letter and color in a computer is stored as a pattern of 0s and 1s, because a circuit only has to tell on from off. Reading binary shows you why 8 bits stop at 255, why sizes like 256, 512 and 1024 keep turning up, and why adding 1 to 1111 rolls over to 10000. Reading the place values from the wrong end gives a completely different number.
Data Representation
The way information—numbers, text, images, and sound—is encoded as binary digits (0s and 1s) inside a computer. Different encoding schemes map real-world data to binary patterns, such as ASCII/Unicode for text, RGB for colors, and sampling for audio.
"A representation is like a code shared by two friends: 1 means A, 2 means B, and so on. The numbers carry the message only because both use the same key; hand them to someone with a different key and the message comes out as nonsense. Computers fit this closely, except that their keys, such as ASCII and RGB, are published, not secret."
Why it matters: Once you see that everything is numbers under a rule, many puzzles make sense: why a message can turn into garbled symbols (it was read with the wrong rule), why a 12-megapixel photo takes megabytes, why a heavily compressed photo looks blocky. The same 8 bits can be a letter, a number or a shade of gray. Without the rule, they mean nothing.
Simulation
Using a computer program to model and experiment with a real-world system or process. Simulations represent key variables and their relationships mathematically, allowing you to test scenarios, make predictions, and explore outcomes without real-world cost or risk.
"A simulation is a flight simulator for any system: a cockpit where nothing can really crash, so you can try a storm, an engine failure or a bad landing as often as you like. What you learn carries over only if the simulator's physics match the real plane closely enough."
Why it matters: A simulation lets you ask 'what if?' as many times as you like: what if 60% of people are vaccinated, what if the road gets a third lane? Pilots train in simulators because a crash there costs nothing. But the answers are only as good as the rules, and a model that has never been checked against real data can produce precise-looking numbers that are wrong.
Image Representation
Image representation is the way a computer stores a picture as numeric data. Most digital images are made of pixels arranged in a grid, where each pixel stores color information such as red, green, and blue values.
"A digital image is a mosaic of tiny tiles, each one a single solid color. The whole picture lives in the list of tile colors and positions, and if you zoom in far enough you see the tiles. Unlike a real mosaic, the computer stores no tiles at all, only numbers: three for each tile, for red, green and blue."
Why it matters: Knowing how images are stored explains everyday puzzles: why a 4000 × 3000 phone photo would take 36 MB before compression, why a small icon looks blocky when stretched, why a black-and-white drawing can be far smaller than a photo, and why editing one pixel means changing three numbers. It also lets you predict how a change in resolution or color depth changes the file size.
Audio Representation
Audio representation is the way a computer stores sound as numeric data. Digital audio is usually created by sampling a sound wave many times each second and storing each sample with a certain number of bits.
"Sampled sound works like a flip-book: still drawings shown fast enough look like smooth motion. More pages per second (a higher sample rate) catch quicker movements, and more precise drawings (more bits per sample) show finer positions. Adding pages does not make the drawings any bigger, just as a higher sample rate does not make the sound louder."
Why it matters: It explains why a minute of CD-quality stereo takes about 10 MB, why a phone call can use far fewer samples than music, and what you lose when you lower the quality to save space. Mixing up the settings causes real errors: forgetting that stereo has two channels halves a size estimate, and thinking a higher sample rate makes sound louder confuses pitch with volume.
Random Numbers
Random numbers are values chosen without a predictable pattern, or in computing, values that imitate that behavior closely enough for practical use. Computers often generate pseudo-random numbers using algorithms that look random even though they are created deterministically.
"A pseudo-random generator is like a very long shuffled playlist: the songs seem to come in no order, but the order was fixed the moment the shuffle was made. Start the same playlist from the same point, the seed, and you hear exactly the same sequence. A truly random source, such as radioactive decay, has no playlist at all."
Why it matters: Random numbers make games unpredictable, let simulations try thousands of possible futures, and let scientists choose fair samples. The seed matters both ways: reusing it lets you replay a bug or share a game level exactly, but a guessable seed lets someone predict the 'random' numbers, which is why passwords and encryption need special generators. A careless rule that makes one value more likely quietly biases every result.
Modeling
Modeling is the process of building a simplified representation of a real system so you can study, predict, or explain its behavior. A model keeps the details that matter for the question and leaves out details that do not.
"A model works like a scale model of a bridge tested in a lab: it keeps the shape and strength that decide whether the bridge holds, and drops the paint and the lampposts. What it shows about loads predicts the real bridge, but only for the features it kept; it can tell you nothing about traffic noise."
Why it matters: A model lets you try a decision before paying for it: add a third lunch server on paper and see whether the line shrinks, or test a new traffic-light timing without causing a jam. Without one you either guess or experiment on the real thing. The risk runs the other way too: a model with an unstated assumption can produce a confident number that is simply wrong.
Data Compression
Data compression is the process of reducing the number of bits needed to store or transmit information. Some compression is lossless, meaning the original data can be recovered exactly, while some is lossy, meaning some detail is discarded to save more space.
"Compression is packing a suitcase. Lossless is rolling and folding: everything you packed comes out again, just in less space. Lossy is leaving things at home that you probably will not miss; the bag gets much lighter, but those things are not there when you unpack."
Why it matters: A 3-minute song stored as CD audio takes about 32 MB; as an MP3 it takes about 3 MB, which is why a phone holds thousands of songs and a video call fits through home internet. Knowing which kind of compression you are using tells you what is safe: you can zip and unzip a document forever, but every re-save of a JPEG loses a little more.