Back to 课程

Computer Science GCES EDEXCEL

0% Complete
0/0 Steps
  1. Decomposition And Abstraction Edexcel
    2 主题
  2. Algorithms Edexcel
    11 主题
  3. Truth Tables Edexcel
    3 主题
  4. Binary Edexcel
    6 主题
  5. Data Representation Edexcel
    4 主题
  6. Data Storage And Compression Edexcel
    2 主题
  7. Hardware Edexcel
    5 主题
  8. Software Edexcel
    3 主题
  9. Programming Languages Edexcel
    2 主题
  10. Networks Edexcel
    7 主题
  11. Network Security Edexcel
    2 主题
  12. Environmental Issues Edexcel
    1 主题
  13. Ethical And Legal Issues Edexcel
    3 主题
  14. Cybersecurity Edexcel
    2 主题
  15. Develop Code Edexcel
    6 主题
  16. Constructs Edexcel
    4 主题
  17. Data Types And Data Structures Edexcel
    5 主题
  18. Operators Edexcel
    1 主题
  19. Subprograms Edexcel
    2 主题
课 4, 主题 4
In Progress

Converting Between Denary And 8 Bit Binary Edexcel

课 Progress
0% Complete

Exam code:1CP2

Denary to Binary Conversion

How do you convert from denary to binary?

  • It is important to know the process of converting from denary to binary to understand how computers interpret and process data

Example 1

  • To convert the denary number 45 to binary, start by writing out the binary headings from right to left

128

64

32

16

8

4

2

1

 

 

 

 

 

 

 

 

  • Start at the leftmost empty column heading (128). Is the denary number > column heading? (45 > 128) No, put a 0 in the 128 column. Repeat until you put a 1 under a heading. In this example it would be 32

128

64

32

16

8

4

2

1

0

0

1

 

 

 

 

 

  • Next subtract column heading from denary value, 45-32 = 13

  • Repeat previous two steps until you have a value under each column heading

128

64

32

16

8

4

2

1

0

0

1

0

1

1

0

1

  • 32 + 8 + 4 + 1 = 45

  • Denary 45 is 00101101 in binary

Examiner Tips and Tricks

At GCSE you will only be asked to convert from/to binary up to and including 8 binary digits (8 bits). That means you are working with a denary range of 0-255 (00000000-11111111)

Example 2

  • To convert the denary number 213 to binary, start by writing out the binary headings from right to left

128

64

32

16

8

4

2

1

 

 

 

 

 

 

 

 

  • Start at the leftmost empty column heading (128). Is denary number > column heading? (213 > 128) Yes, put a 1 under the heading.

128

64

32

16

8

4

2

1

1

 

 

 

 

 

 

 

  • Next subtract column heading from denary value, 213-128 = 85

  • Repeat process until you have a value under each column heading

128

64

32

16

8

4

2

1

1

1

0

1

0

1

0

1

  • 128 + 64 + 16 + 4 + 1 = 213

  • Denary 213 is 11010101 in binary

Binary to Denary Conversion

Example 1

  • To convert the binary number 1011 to denary, start by writing out the binary headings from right to left

8

4

2

1

 

 

 

 

  • Write in the binary digits under the headings from left to right

8

4

2

1

1

0

1

1

  • Add together any value with a 1 under it

  • (1 x 8) + (1 x 2) + (1 x 1) = 11

  • Binary 1011 is 11 in denary 

Examiner Tips and Tricks

If you are converting from binary to denary and the binary number ends in 1, the denary answer must be an odd number!

Example 2

  • To convert the binary number 01100011 to denary, start by writing out the binary headings from right to left

128

64

32

16

8

4

2

1

 

 

 

 

 

 

 

 

  • Write in the binary digits under the headings from left to right

128

64

32

16

8

4

2

1

0

1

1

0

0

0

1

1

  • Add together any value with a 1 under it

  • (1 x 64) + (1 x 32) + (1 x 2) + (1 x 1) = 99

  • Binary 01100011 is 99 in denary 

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注