Computer Architecture: Data representation and binary arithmetic · Binary and Hexadecimal Numbers
How computers write numbers in binary, why programmers read them in hexadecimal, and how to move between the bases.
Computer Architecture · 24 questions
Try 3 questions
1. Why do digital computers store information in binary rather than in decimal?
- Binary numbers take less memory than decimal
- Two voltage levels are easy to tell apart
- Base two was proven the fastest to compute
Show the answer
Answer: Two voltage levels are easy to tell apart
A circuit only has to distinguish 'high' from 'low', which stays reliable despite electrical noise; ten distinct levels would be far more error-prone.
2. What is the decimal value of the binary number 1011?
- 9
- 13
- 11
Show the answer
Answer: 11
The bits are worth 8, 4, 2 and 1 from left to right, so 1011 is 8 + 0 + 2 + 1 = 11.
3. How many different values can a group of 8 bits represent?
- 128
- 255
- 256
Show the answer
Answer: 256
Each bit doubles the possibilities, so 8 bits give 2 to the 8th, or 256 patterns (0 to 255).
The rest of the quiz, a few questions at a time
BrainTok asks a few questions from quizzes like these before the apps you choose open, so your screen time turns into learning. For iPhone.
Join the betaMore Computer Science quizzes
- Computer Architecture: Why Your Processor Guesses the Future
- Artificial Intelligence: Intelligent agents and environments · Agents, Percepts and Rationality
- Artificial Intelligence: Why Chess Was Easier Than Laundry
- Computer Networks: Layered models: OSI and TCP/IP · The Seven Layers of the OSI Model
- Computer Networks: Why the Internet Never Promises Delivery
- Databases: Relational model and relational algebra · Relations, Keys and Integrity