0% found this document useful (0 votes)
13 views2 pages

CS Ch1 WS 2

Uploaded by

TasmiaNiazi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

CS Ch1 WS 2

Uploaded by

TasmiaNiazi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Chapter 1

Exercise 4 Adding binary values

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.

0 0 0 1 0   1   0   1

+ 0  1  1 0       + 0 0 1 0     

3 Add the 8-bit binary values 00101000 and 01100011. 4 Add the 8-bit binary values 10101010 and 01110111.

0 0 1 0    1   0 0 0   1   0 1 0   1     0 1 0

+ 0 1 1 0 0 0  1  1 + 0 1 1 1 0 1 1   1

5 Name the error caused by this binary addition.

6 Why does this type of error happen?

Exercise 5 Logical shifts

Logical shifts can be performed on the binary contents of a register.

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

IGCSE_CS_WB_Ch 1.indd 10 28/01/21 10:46 AM


Chapter 1

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?

Exercise 6 Two’s complement

Two’s complement is another method of representing binary values. It is often used to represent negative binary values.

1 Convert the denary number 47 to two’s complement 8-bit binary.

Denary Two’s complement 8-bit binary


47

Working space

2 Convert the denary number -75 to two’s complement 8-bit binary.

Denary Two’s complement 8-bit binary


-75

Working space

Computer systems 11

IGCSE_CS_WB_Ch 1.indd 11 28/01/21 10:46 AM

You might also like