GCSE

Computer Science

  1. Introduction to GCSE Computer Science
  2. 1. Computer Systems

  3. 1.1 Systems Architecture
  4. 1.2 Memory and Storage
  5. 1.3 Computer Networks, Connections and Protocols
  6. 1.4 Network Security
  7. 1.5 Systems Software
  8. 1.6 Ethical, Legal, Cultural and Environmental Impacts of Digital Technology
  9. 2. Computational Thinking, Algorithms and Programming
  10. 2.1 Algorithms
  11. 2.2 Programming Fundamentals
  12. 2.3 Producing Robust Programs
  13. 2.4 Boolean Logic
  14. 2.5 Programming Languages and Integrated Development Environments
Module Progress
0 / 35 Lessons
0%
Learning
Summary
Revision

In this lesson, we will explore how computers use the binary system to represent numbers. We will cover denary-to-binary conversion, binary addition, overflow errors, hexadecimal, and binary shifts.

Converting Denary Whole Numbers to Binary Numbers

The binary system uses only two digits, 0 and 1, to represent the on-and-off states that computers use to process data. Converting denary (decimal) whole numbers to binary involves dividing the number by 2 and recording the remainder. This process continues until the quotient becomes 0. This method can be visualised using a table, as shown below:

Draw out a table like the one below:

128 (2⁷) 64 (2⁶) 32 (2⁵) 16 (2⁴) 8 (2³) 4 (2²) 2 (2¹) 1 (2⁰)

If we wanted to convert a denary number to binary using a table, start at the left most column (128 or 2⁷) and compare the number in the column heading with the one we wish to convert.

  • If the column header is greater than the number we wish to convert, it is not needed and we place 0 in the box below.
  • If the column header is less than the number we wish to convert, it is needed and we place in a 1 in the box, then subtract the column header from our denary number.

Repeat this process across the columns.

Continue learning with Knowness

Sign up to access the full lesson, predicted grades, revision tools, progress tracking, and more.

Create a free account