Edexcel IGCSE Computer Science 4CP0
Algorithms
Searching and Sorting Algorithms
Decomposition and Abstraction
Developing and Testing Code
Programming Constructs and Operators
Data Types and Data Structures
Input, Output and Validation
Data Representation
Data Storage and Compression
Encryption
Hardware and the CPU
Software
Programming Languages and Translators
Networks
Network Security
The Internet and the World Wide Web
Emerging Trends, Issues and Impact
Binary
- 4 subtopics
- 12 things to know
- Papers 1 and 2
Learn Binary in runs of four questions, then keep it with spaced repetition.
What Binary covers
Binary is examined in Paper 1, Principles of Computer Science, and Paper 2, Application of Computational Thinking. It covers binary and denary; hexadecimal; binary addition, shifts and overflow; and signed integers.
Where it is assessed
Papers 1 and 2
Computer Science 4CP0: this topic is examined on Paper 1, Principles of Computer Science (2 hours, 50%), and on Paper 2, Application of Computational Thinking (3 hours, on screen, 50%).
Check the Pearson Edexcel specification ↗The 4 subtopics
Each one has its own page.
- Binary and denaryWhy computers use binary for data and instructions, place values, and converting between binary and denary from 0 to 255.Open →
- HexadecimalWhy hexadecimal is used and converting between hexadecimal, binary and denary, with worked examples.Open →
- Binary addition, shifts and overflowAdding binary numbers, overflow, and logical and arithmetic shifts with their effect on a number's value.Open →
- Signed integersSign and magnitude and two's complement, converting negative numbers, their ranges and why two's complement is preferred.Open →
What you need to know
Answer each one before you reveal it.
What base does each number system use?
What is an unsigned integer?
Convert the hexadecimal number B7 to binary
Why is hexadecimal used instead of binary by programmers?
Convert the hexadecimal number 3E to binary
Add the unsigned 8-bit binary numbers 01111111 and 00000001, and state whether overflow occurs
Add the unsigned 8-bit binary numbers 10101010 and 01100110, and state whether overflow occurs
Add the unsigned 8-bit binary numbers 11110000 and 00010001, and state whether overflow occurs
Convert the sign and magnitude number 10011010 to denary
Why do computers usually use two's complement for signed integers?
What is the value of the most significant bit in 8-bit two's complement?
Take Binary further
The same content, four other ways.
Commonly confused
Pairs that lose marks when they are blurred together.
Logical shift vs Arithmetic shift
Logical shift: moving every bit along with 0 filling each empty place, ignoring any sign bit. Arithmetic shift: moving every bit along while keeping the sign bit of a two's complement number.
Two's complement vs Sign and magnitude
Two's complement: signed binary in which the leftmost bit has a negative place value. Sign and magnitude: signed binary in which the leftmost bit only shows plus or minus.
Overflow vs Unsigned integer
Overflow: a result too large for the number of bits available. Unsigned integer: a whole number stored with no sign bit, so every bit adds a positive value.
Questions from this topic
Each one with the model answer underneath.
- 1
Why do computers use binary to represent data?
Model answer
A computer is built from switches and logic gates that have only two states, on and off. Binary uses only the digits 1 and 0, so every form of data must be converted to binary before a computer can process it.
- 2
What base does each number system use?
Model answer
Denary is a base 10 system. Binary is a base 2 system. Hexadecimal is a base 16 system.
- 3
Convert the denary number 45 to 8-bit binary.
Model answer
The denary number 45 is 32 + 8 + 4 + 1, so in 8-bit binary it is 00101101.
- 4
Convert the binary number 11010110 to denary.
Model answer
The binary number 11010110 is 128 + 64 + 16 + 4 + 2, which is 214 in denary.
- 5
Convert the denary number 19 to 8-bit binary.
Model answer
The denary number 19 is 16 + 2 + 1, so in 8-bit binary it is 00010011.
- 6
Convert the denary number 77 to 8-bit binary.
Model answer
The denary number 77 is 64 + 8 + 4 + 1, so in 8-bit binary it is 01001101.
Everything in your subscription
Runs, plus a mode for every other kind of session.
Binary revision questions
- What does Binary cover in Edexcel IGCSE Computer Science?
- 4 subtopics: binary and denary, hexadecimal, binary addition, shifts and overflow and signed integers. Each one has its own page with questions and model answers.
- How is Binary organised?
- By the Edexcel 4CP0 specification, subtopic by subtopic, so it matches the order you are taught it in.
Every question in Binary, on a schedule.
Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.