Today's class was about computer number systems: binary, octal, and hexadecimal. Addition and subtraction methods were also discussed.
Homework:
1. (The numbers in this equation are all binary) 10101 + 1000110 + 111 = ?
2. (The numbers in this equation are all binary) 10001 - 111 = ?
3. (The numbers in this equation are all octal) 7 + 7 - 3 = ?
1. 10101 + 1000110 + 111 = 1101010
2. 10001 - 111 = 1010
3. 7 + 7 - 3 = 16 - 3 = 13
1. 1100010 2. 1010 3. 13
Before each class, I'll be posting the answers to homework.
I posted this homework answers 2 days early ignore that
1100010(binary)
1010(binary)
13(octal)
1100010 (binary)
1010 (binary)
13 (octal)
1100010
1010
13
1100010
1010
13
1100010 (base 2)
1010 (base 2)
13 (base 8)