Calculations Flashcards
Binary Conversions and Operations
What is 10^3?
100
1000
10000
1000
What is 10101000 binary as a decimal?
128+32+8 = 168
What is the Denary?
The Denary is the total sum in decimal of a binary conversion.
Convert 0100 1101 1101 0000 Binary to Hexadecimal
0100 - A
1101 - D
1101 - D
0000 - 0
ADD0
What are Binary Operations?
Addition
Subtraction
Multiply
Divide
All of binary
What is the trick on how to work binary operations on the following?
1010 + 1001
The trick is to take the binary and change it to decimal, work it out and then take it as a form of binary again.
1010 -> 10
1001 -> 9
10 + 9 = 19
128 64 32 16 8 4 2 1 19 = 0 0 0 1 0 0 1 1
Ans = 0001 0011
Add 10 0110 and 11 0101
32 16 8 4 2 1
1 0 0 1 1 0 -> 38
1 1 0 1 0 1 -> 53
38 + 53 = 91
128 64 32 16 8 4 2 1
0 1 0 1 1 0 1 1
Ans = 0101 1011
Add 10 1101 and 11 1101
32 16 8 4 2 1
1 0 1 1 0 1 -> 45
1 1 1 1 0 1 -> 61
45+61 = 106
128 64 32 16 8 4 2 1
0 1 1 0 1 0 1 0
Ans = 0110 1010
Subtract 10 from 100
8 4 2 1
0 1 0 0 -> 4
0 0 1 0 -> 2
4 - 2 = 2
8 4 2 1
0 0 1 0
Subtract 1 from 100
8 4 2 1
0 1 0 0 -> 4
0 0 0 1 -> 1
4 -1 = 3
8 4 2 1
0 0 1 1
Ans = 0011