powered by v43.aiApprendre l'anatomie comme un artisteComputing
Understand data, media, networks and computational ideas.
0 of 4 topics mastered
Explore → practise → quiz → revise. Earlier topics are recommended preparation; every topic stays open.
Start here: Build a binary number →Build a binary number
Suggested-level explorationClick the five bit switches to represent an unsigned integer. Each bit has a place value: 16, 8, 4, 2 or 1. Add the values of the switches that are on.
Bits and binary capacity
Suggested-level explorationEach bit has two states. A group of n bits can represent 2ⁿ distinct patterns. Multiply by the number of separate fields to count their combined possibilities.
Image storage
Suggested-level explorationEstimate raw storage for a square bitmap. Bits per pixel determine how much colour information each pixel stores. This excludes compression, metadata and row padding.
Nested loops
Suggested-level explorationCount executions of a constant-time statement inside two complete nested loops. Every outer iteration runs the entire inner loop.