0% found this document useful (0 votes)
14 views4 pages

Calculation Problem 3

The document contains exercises related to data representation in binary and denary forms, including conversions, binary addition, and logical shifts. It also covers the two's complement notation and asks for the most negative and positive numbers that can be represented in an 8-bit register. The exercises require students to demonstrate their understanding of binary arithmetic and logical operations.

Uploaded by

chaw su
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)
14 views4 pages

Calculation Problem 3

The document contains exercises related to data representation in binary and denary forms, including conversions, binary addition, and logical shifts. It also covers the two's complement notation and asks for the most negative and positive numbers that can be represented in an 8-bit register. The exercises require students to demonstrate their understanding of binary arithmetic and logical operations.

Uploaded by

chaw su
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/ 4

318496_01_IGCSE_OLCSSW_005-025.

indd Page 12 31/03/21 2:01 PM sw-103 /130/HO01894/work/indd

1 Data representation

10 a i Convert 0 1 0 1 1 1 1 0 into denary.

.......................................................................................................................................................................

.......................................................................................................................................................................

ii Convert 0 0 1 1 1 1 0 1 into denary.

.......................................................................................................................................................................

.......................................................................................................................................................................

b i Add together 0 1 0 1 1 1 1 0 and 0 0 1 1 1 1 0 1, giving your answer in binary.

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

ii Convert your answer in part b i to denary.

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

11 a Write down the largest number that can be represented by the following binary register.

Give your answer in binary and denary form:


128 64 32 16 8 4 2 1

.............................................................................................................................................................................

.............................................................................................................................................................................

12 Photocopying prohibited Cambridge IGCSE and O Level Computer Science Computer Systems Workbook
318496_01_IGCSE_OLCSSW_005-025.indd Page 13 31/03/21 2:01 PM sw-103 /130/HO01894/work/indd

1 Data representation

b i Add together 0 1 1 1 0 1 1 1 and 1 0 0 1 1 1 0 1, giving your answer as an 8-bit binary


number.

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

ii Comment on your answer to part b i.

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

12 An 8-bit binary register contains the following value:

0 0 1 1 1 1 0 0

a Write down the denary value of the register.

.............................................................................................................................................................................

.............................................................................................................................................................................

b The contents of the register undergo a logical shift one place to the right.

i Show the result of this right shift:

ii Write down the denary value of your answer to part b i.

.......................................................................................................................................................................

.......................................................................................................................................................................

Cambridge IGCSE and O Level Computer Science Computer Systems Workbook Photocopying prohibited 13
318496_01_IGCSE_OLCSSW_005-025.indd Page 14 31/03/21 2:01 PM sw-103 /130/HO01894/work/indd

1 Data representation

iii The register in part b i now undergoes a further logical shift two places to the right.
Comment on your result.

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

c The content of the original register (shown in part a) now undergoes a logical shift two places
to the left.

i Show the contents of the register after this left shift operation.

ii State, with reasons, the effect of this shift on the denary value shown in part a.

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

.......................................................................................................................................................................

13 a Convert the denary numbers, 37 and 19, into 8-bit binary numbers:

37: ......................................................................................................................................................................

19: .....................................................................................................................................................................

b Add together the two binary numbers in part a, and give your answer in binary.

.............................................................................................................................................................................

.............................................................................................................................................................................

.............................................................................................................................................................................

.............................................................................................................................................................................

14 Photocopying prohibited Cambridge IGCSE and O Level Computer Science Computer Systems Workbook
318496_01_IGCSE_OLCSSW_005-025.indd Page 15 31/03/21 2:01 PM sw-103 /130/HO01894/work/indd

1 Data representation

c Carry out a logical shift, two places to the left, on your result from part b.

Comment on your answer.

.............................................................................................................................................................................

.............................................................................................................................................................................

.............................................................................................................................................................................

.............................................................................................................................................................................

d Carry out a logical shift, four places to the right, on your result from part b.

Comment on your answer.

.............................................................................................................................................................................

.............................................................................................................................................................................

.............................................................................................................................................................................

.............................................................................................................................................................................

14 A computer system uses two’s complement notation.

a Complete the headings for an 8-bit binary number which uses two’s complement:
64 32 16 8 4 2 1
.......................................

b Write down i the most negative and ii the most positive numbers that can be stored in an
8-bit register which uses two’s complement. Give your answers in both denary and binary
format.

i most negative:

denary value:

........................................................................................................................................................................

........................................................................................................................................................................
Cambridge IGCSE and O Level Computer Science Computer Systems Workbook Photocopying prohibited 15

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy