Worksheets › Class 9 › Binary, Data and Logic › Cheat sheet

Class 9 Binary, Data and Logic: cheat sheet

CBSE Computational Thinking and AI. Computers store everything as bits. Binary numbers, data sizes, ASCII codes and the logic of AND, OR and NOT are the base of all computing.

Open the printable cheat sheetPractice worksheet

Key ideas

Remember

Binary45 = 32 + 8 + 4 + 1 = 101101₂
Sizes1 byte = 8 bits; 1 KB = 1,024 bytes; 1 MB = 1,024 KB
Image size100 × 80 pixels × 8 bits ÷ 8 = 8,000 bytes
AND; OR; NOTTrue only if both; True if at least one; flips the value
Order of workbrackets and NOT first, then AND, then OR
Fewest bits for m itemsthe smallest b with 2ᵇ ≥ m: 200 items → 8 bits

Watch out

Worked example

A = True, B = True, C = False. Is (A AND B) OR (NOT C) True or False?

Working: work out the brackets and NOT first, then AND, then OR

Answer: True

Practise Binary, Data and Logic

Revise with this page, then practise: every Binary, Data and Logic sheet in the app is new, with an answer key and working.

Coming soon for Android and iPhone.