Computer Science GCES EDEXCEL
-
Decomposition And Abstraction Edexcel2 主题
-
Algorithms Edexcel11 主题
-
Follow And Write Algorithms Edexcel
-
Introduction To Programming Concepts Edexcel
-
Basic Programming Concepts Edexcel
-
Variables Constants And Assignments Edexcel
-
Data Structures And Arrays Edexcel
-
Arithmetic Relational And Logical Operations Edexcel
-
Determine Outputs Of An Algorithm Edexcel
-
Types Of Errors Edexcel
-
Standard Sorting Algorithms Edexcel
-
Standard Searching Algorithms Edexcel
-
Algorithm Efficiency Edexcel
-
Follow And Write Algorithms Edexcel
-
Truth Tables Edexcel3 主题
-
Binary Edexcel6 主题
-
Data Representation Edexcel4 主题
-
Data Storage And Compression Edexcel2 主题
-
Hardware Edexcel5 主题
-
Software Edexcel3 主题
-
Programming Languages Edexcel2 主题
-
Networks Edexcel7 主题
-
Network Security Edexcel2 主题
-
Environmental Issues Edexcel1 主题
-
Ethical And Legal Issues Edexcel3 主题
-
Cybersecurity Edexcel2 主题
-
Develop Code Edexcel6 主题
-
Constructs Edexcel4 主题
-
Data Types And Data Structures Edexcel5 主题
-
Operators Edexcel1 主题
-
Subprograms Edexcel2 主题
Binary Addition Edexcel
Exam code:1CP2
Binary Addition
What is binary addition?
-
Binary addition is the process of adding together two binary integers (up to and including 8 bits)
-
To be successful there are 5 golden rules to apply:
|
Binary Addition |
Binary Answer |
Working |
||||||
|---|---|---|---|---|---|---|---|---|
|
0 + 0 = |
0 |
|
||||||
|
0 + 1 = |
1 |
|
||||||
|
1 + 0 = |
1 |
|
||||||
|
1 + 1 = |
10 |
|
||||||
|
1 + 1 + 1 = |
11 |
|
-
Like denary addition, start from the rightmost digit and move left
-
Carrying over occurs when the sum of a column is greater than 1, passing the excess to the next left column
Example 1
-
Add together the binary values 1001 and 0100
|
8 |
4 |
2 |
1 |
+ |
|---|---|---|---|---|
|
1 |
0 |
0 |
1 |
|
|
0 |
1 |
0 |
0 |
|
|
|
|
|
|
C |
|
|
|
|
|
|
-
Starting from right to left, add the two binary values together applying the 5 golden rules
-
If your answer has 2 digits, place the rightmost digit in the column and carry the remaining digit to the next column on the left
-
In this example, start with 1+0, 1+0 = 1, so place a 1 in the column
|
8 |
4 |
2 |
1 |
+ |
|---|---|---|---|---|
|
1 |
0 |
0 |
1 |
|
|
0 |
1 |
0 |
0 |
|
|
|
|
|
|
C |
|
|
|
|
1 |
|
-
Repeat until all columns have a value
|
8 |
4 |
2 |
1 |
+ |
|---|---|---|---|---|
|
1 |
0 |
0 |
1 |
|
|
0 |
1 |
0 |
0 |
|
|
|
|
|
|
C |
|
1 |
1 |
0 |
1 |
|
-
The sum of adding together binary 1001 (9) and 0100 (4) is 1101 (13)
Examiner Tips and Tricks
Make sure any carried digits are clearly visible in your answer, there are marks available for working. Carries can be put above or below in the addition
Example 2
-
Add together the binary values 00011001 and 10000100
|
128 |
64 |
32 |
16 |
8 |
4 |
2 |
1 |
+ |
|---|---|---|---|---|---|---|---|---|
|
0 |
0 |
0 |
1 |
1 |
0 |
0 |
1 |
|
|
1 |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
|
|
|
|
|
|
|
|
|
|
C |
|
|
|
|
|
|
|
|
|
|
-
Starting from right to left, add the two binary values together applying the 5 golden rules
-
If your answer has 2
Responses