CS Ch1 WS 2
CS Ch1 WS 2
Binary values can be added together. Make sure that you show your working when adding the binary values.
1 Add the 4-bit binary values 0001 and 0110. 2 Add the 4-bit binary values 0101 and 0010.
3 Add the 8-bit binary values 00101000 and 01100011. 4 Add the 8-bit binary values 10101010 and 01110111.
+ 0 1 1 0 0 0 1 1 + 0 1 1 1 0 1 1 1
1 Perform a logical binary shift one place to the left on this binary value.
0 1 0 0 1 1 1 1
What effect did the logical shift have on the binary value?
10 Computer systems
2 Perform a logical binary shift two places to the right on this binary value.
0 0 1 1 0 1 0 0
What effect did the logical shift have on the binary value?
Two’s complement is another method of representing binary values. It is often used to represent negative binary values.
Working space
Working space
Computer systems 11