0% found this document useful (0 votes)
8 views10 pages

Grade 9 Assignment (1)

Uploaded by

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

Grade 9 Assignment (1)

Uploaded by

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

1 Data

representation

Beaconhouse School System


Gulistan-e-Jauhar Campus
Autumn Break Assignment

STUDENT NAME: ___________________________ SUBJECT: COMPUTER SCIENCE

TOPIC: Data Representation Class/Section: _______________

Q1. a) How many mebibytes (MiB) of storage would be needed to store


800 photographs
each of which are 16 MiB in size?

b) Write your answer from part a in gibibytes (GiB).

Q2. The ASCII code for 'A' is 65 and for 'a' is 97. a Write these denary

values in 8-bit binary:

i 65

ii 97

b State the denary ASCII code for 'V' and ’v'.

i ’V'

ii ‘v’
c Write the two denary values in part b in 8-bitbinary format:

i ’V’

ii ‘v’

7
1 Data
representation

Q4. 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.

c) The register in part b(i) now undergoes a further Logical shift two
places to the right. Comment on your result.

d) 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.
Q5 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.

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.

9
1 Data
representation

Q6 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 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:

ii. most positive denary value:

iii. most negative binary value:

iv. most positive binary value:


c Convert the following two denary numbers into 8-bit binary numbers
which use the two's complement format.

i +47

d Convert the following two binary numbers, written in two's


complement format, into denary.

i. 11001110

ii. 11111110

e i Convert the denary number, +45, into binary, using the two's
complement format.

ii Convert
the denary number, -45, into binary, using the two's
complement format.

11
1 Data
representation
Q7. a A camera detector has an array of 4096 by 2048 pixels and
uses a colour depth of 16.

Calculate the size of an image taken by this camera; give your


answer in MiB.

b An audio CD uses 40960 samples per second, with 16


bits being used per sample. The music being sampled
uses two channels to allow for stereo recordings. Calculate
the file size for a 1024 second recording.
Give your answer in MiB.
Q8. a Give three reasons why it is often necessary to reduce the size of
a file.

1 ...........................................................................................................
.............................

2 .........................................................................................................
............................

3 .........................................................................................................
............................

b Explain the difference between lossy and lossless file compression.


______________________________________________________________________
_______
______________________________________________________________________
_______
______________________________________________________________________
_______
______________________________________________________________________
_______
______________________________________________________________________
_______
______________________________________________________________________
_______
______________________________________________________________________
_______
______________________________________________________________________
_______

c i Give one example of the use of lossy file compression.


______________________________________________________________________
_______
______________________________________________________________________
_______

ii Give one example of the use of lossless file compression.

13
1 Data
representation
______________________________________________________________________
_______
______________________________________________________________________
_____
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