0% found this document useful (0 votes)
139 views15 pages

1.1 Information Representation - Exercise

The document discusses various methods of representing information digitally, including: - Recording temperature data from a greenhouse in two successive bytes, with one byte indicating the sensor location and the other containing the temperature reading. - Storing denary numbers using two's complement in an 8-bit register. - Representing numbers in Binary Coded Decimal (BCD) format. - Sampling sound waves at intervals to convert analog sound to digital format for storage on devices like CDs. Higher sampling resolutions allow for better quality sound but require more storage space. - Compressing data using either lossless or lossy techniques, with lossy compression allowing for smaller file sizes but some loss of information.

Uploaded by

ekta sharma
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)
139 views15 pages

1.1 Information Representation - Exercise

The document discusses various methods of representing information digitally, including: - Recording temperature data from a greenhouse in two successive bytes, with one byte indicating the sensor location and the other containing the temperature reading. - Storing denary numbers using two's complement in an 8-bit register. - Representing numbers in Binary Coded Decimal (BCD) format. - Sampling sound waves at intervals to convert analog sound to digital format for storage on devices like CDs. Higher sampling resolutions allow for better quality sound but require more storage space. - Compressing data using either lossless or lossy techniques, with lossy compression allowing for smaller file sizes but some loss of information.

Uploaded by

ekta sharma
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/ 15

1.

1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

Q1 2015-June, P31

5 A gardener grows vegetables in a greenhouse. For the vegetables to grow well, the
temperature needs to always be within a particular range.
The gardener is not sure about the actual temperatures in the greenhouse during
the growing season.
The gardener installs some equipment. This records the temperature every hour

R
during the growing season.

(c)

KU
The equipment records temperatures in the greenhouse. It does this for seven
locations.
Each recording is stored as two successive bytes. The format is shown below:

A
TH
The location is indicated by the setting of one of the seven bits in byte 1. For example,
location 4 is indicated by setting bit 4.
Bit 0 of byte 1 acts as a flag:
• The initial value is zero
• When the reading has been processed it is set to 1
Byte 2 contains the temperature reading (two’s complement integer).

(i) Interpret the data in byte 1 shown below:


ED
HM

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

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

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

........................................................................................................................................ [2]
A

(ii) The system receives a temperature reading of –5 degrees from sensor 6.


Complete the boxes below to show the two bytes for this recording. The
reading has not yet been processed

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

R
Q2 2015-June, P13
1 (a) (i) Using two’s complement, show how the following denary numbers could be

KU
stored in an 8-bit register

A
TH
(ii) Convert the two numbers in part (a) (i) into hexadecimal.

124 ....................................................................................................................

-77 .................................................................................................................. [2]

(b) Binary Coded Decimal (BCD) is another way of representing numbers.


ED

(i) Write the number 359 in BCD form.

.............................................................................................................................. [1]
HM

(ii) Describe a use of BCD number representation.

…………………………………………………………………………………………………

…………………………………………………………………………………………….. [2]

Q3 2015-June, P11/P12
2 (a) Sound can be represented in a computer in a digital format.
A

(i) Give the definition of the term sampling.

….................................................................................................................................

….................................................................................................................................

............................................................................................................................... [1]

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

(ii) Give one reason why 16-bit sampling is used in an audio compact disc (CD).

….................................................................................................................................

............................................................................................................................... [1]

R
(iii) Explain what is meant by the term sampling resolution.

KU
….................................................................................................................................

….................................................................................................................................

............................................................................................................................... [1]

A
(iv) Give one benefit and one drawback of using a higher sampling resolution.

….................................................................................................................................
TH
….................................................................................................................................

............................................................................................................................... [2]

(b) Describe two typical features found in software for editing sound files.

……….….................................................................................................................................
ED

……….….................................................................................................................................

……….…............................................................................................................................ [2]
HM

Q4 2015-June, P12, Q1
1 (i) Convert the following binary number into hexadecimal.
10111000

…............................................................................................................................ [1]

(ii) Convert the following denary number into BCD format.


97
A

............................................................................................................................... [1]

(iii) Using two’s complement, show how the following denary numbers could be
stored in an 8-bit register:

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

R
KU
Q5 2014-June, P11

2. (c) Explain the difference between lossless and lossy data compression
techniques.

A
……….….................................................................................................................................

……….….................................................................................................................................

……….….................................................................................................................................
TH
……….….................................................................................................................................

……….…............................................................................................................................ [3]

Q6 2014-June, P33
5 (a) A computer system stores integers as an 8-bit two’s complement integer.
Give the denary number represented by Byte 1 and Byte 2.
ED
HM

Byte1 ……………………………………………………

Byte2 …………………………………………………… [2]

(b) Two bytes together are used to represent a Binary Coded Decimal (BCD)
A

number.
State the denary number represented by Byte 3 and Byte 4.

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

Denary ……………………………………………………... [2]

(c) Byte 5 and Byte 6 together represent a 16-bit colour code used in a drawing
program.

R
KU
The drawing program displays a colour code as a hexadecimal number. State
the hexadecimal number for this colour code.
……………………………………………… [2]

A
(d) Many computer systems need to store and process real numbers.

A computer uses two bytes to store a real number. The first (Byte 7) stores the
TH
mantissa and the second (Byte 8) the exponent. Both mantissa and exponent
use two’s complement.

(i) What denary number is represented by Byte 7 and Byte 8?


ED

Show your working

………………………………………………………………………………………………..
HM

………………………………………………………………………………………………..

………………………………………………………………………………………………..

………………………………………………………………………………………………..

…………………………………………………………………………………………….. [3]
A

(ii) How can you recognise that this 16-bit pattern (Byte 7 and Byte 8) is
normalized?

…………………………………………………………………………………………… [1]

(iii) The positive number 2.0 is to be represented as a normalised real number.


Show the mantissa and exponent for this value.

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

(iv) What is the largest positive number that can be represented? Use the same
8-bit mantissa and 8-bit exponent. Show the mantissa and exponent.

R
KU
Do not attempt to evaluate this. [2]

A
TH
ED
HM
A

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

Q7 2014-June, P13
1 The following diagram shows five questions on the left and eight numerical values on
the right. Draw arrows to connect each question to the correct numerical value.

R
KU
A
TH
ED
HM

[5]
A

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

Q8 2014-June, P11
9 A vending machine dispenses drinks and has a number of drinks options.

R
KU
A
The vending machine is controlled by a microprocessor.
If a customer keys in 23 then they will receive a cup of coffee with milk and sugar.
A selected code is stored in a 7-bit register:
So, 23 will be stored as
TH
If an invalid code is keyed in, an error message is displayed.
(a) A customer selects a lemon drink.
Show how the code for this selection is stored in the 7-bit register
ED
HM

(b) Name the drink selected if the register contains:

…………………………………………………………………………………………………… [1]

(c) State what would happen if the customer keys in a code which results in the
A

following 7-bit register content:

…………………………………………………………………………………………………………

…………………………………………………………………………………………………………

…………………………………………………………………………………………………… [1]

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

Q9 2014-Nov, P13
5 The table below represents a data structure. It is called Binary Number and stores:

• the place values for a binary integer, in the locations represented by the first row of
the table
the bits of a binary number, in the locations represented by the second row of the

R

table

KU
(a) What is the denary value of this binary number?

………………………………………………………………………………………………… [1]

A
(b) (i) What type of data structure is Binary Number?

………………………………………………………………………………………………… [1]
TH
Q10 2014-Nov, P12
5 A microprocessor-controlled alarm clock uses the 24-hour clock. The current time is
stored in two 8-bit memory locations:
 The hours value is stored in memory location A
 The minutes value is stored in memory location B
ED

(a) State the time currently stored in A and B.


HM

Hours: ………………………………… Minutes: ………………………………. [2]

(b) Two 8-bit memory locations, C and D, store the hours (C) and minutes (D) of the
alarm time.
The alarm has been set for 07:30. Show how 07:30 would be stored:
A

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

Q11 2013-Nov, P33


3 (b) (i) Convert the hexadecimal number 7F into denary.

…………………………………………………………………………………………… [1]

(iii) Convert the denary number 291 into hexadecimal.

R
…………………………………………………………………………………………… [1]

(iv) Why do computer scientists often write binary numbers in hexadecimal?

KU
…………………………………………………………………………………………………

…………………………………………………………………………………………… [1]

Q12 2013-Nov, P32


3 (b) (i) Convert the denary number 60 into hexadecimal.

A
…………………………………………………………………………………………… [1]

(ii) Convert the hexadecimal number 10F into denary.


TH
…………………………………………………………………………………………… [1]

Q13 2013-Nov, P13


2 (a) (i) A positive integer is represented in binary as 10101101. What is the denary
value?

……………………………………………………………………………………………… [1]
ED

(ii) How would the denary value 73 be represented as a positive binary integer?

……………………………………………………………………………………………… [1]

(b) Explain what is meant by the character set of a computer.


HM

…………………………………………………………………………………………………… [2]

(c) Explain how a character is represented in a computer.

…………………………………………………………………………………………………… [2]
A

Q14 2012-Nov, P32


2 (a) A binary pattern can be interpreted in a number of different ways. Consider the
binary Pattern 1001 1010

(i) What denary number is this if it represents a sign and magnitude integer?

………………………………………………………………………………………………… [1]

(ii) What denary number is this if it represents a two’s complement integer?

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

………………………………………………………………………………………………… [1]

(iii) Describe one advantage of using two’s complement representation rather


than sign and magnitude.
…………………………………………………………………………………………………………

R
…………………………………………………………………………………………………… [1]

(b) A computer system stores real numbers using a 12-bit floating point representation.

KU
The first 8 bits are the mantissa and the final 4 bits the exponent. Both the mantissa
and the exponent use two’s complement representation.
Consider the binary pattern:

A
(i) What is the mantissa in denary?
…………………………………………………………………………………………… [1]
TH
(ii) What is the exponent in denary?
………………………………………………………………………………………… [1]

Q15 2012-June, P33


2 A binary pattern can be used to represent a variety of different data used in a computer
system.
ED

(a) The pattern could represent an ASCII character code.


The table shows part of the ASCII code table.
ASCII Code Table
HM
A

Consider the binary pattern: 0100 1110.

(i) What character is represented by this binary pattern?

…………………………………………………………………………………………… [1]

(ii) What is the hexadecimal for this binary pattern?

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

…………………………………………………………………………………………… [1]

(b) (i) A computer system needs to be able to store positive and negative integers.
Two possible representations are:
 sign and magnitude
 Two’s complement.

R
Describe two advantages of using two’s complement.

…………………………………………………………………………………………………

KU
…………………………………………………………………………………………………

……………………………………………………………………………………………[2]

(ii) Integers -13 and +59 are to be added using two’s complement addition.

A
Show your working.
TH
Q16 2012-June, P32
ED

2 A binary pattern can be used to represent different data used in a computer system.

(a) Consider the binary pattern: 0101 0011

The pattern represents an integer.


HM

What number is this in denary?

…………………………………………………………………………………………………… [1]

(b) Consider the binary pattern: 0001 0101 0011

The pattern represents a Binary Coded Decimal (BCD) number.


A

What number is this in denary?

…………………………………………………………………………………………………… [1]

(c) Consider the binary pattern: 1001 0010

This represents a two’s complement integer.

What number is this in denary?

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

…………………………………………………………………………………………………… [1]

Q17 2012-June, P13


7 (a) (i) Change the denary integer 222 into a binary number, using 10 bits.

…………………………………………………………………………………………… [1]

R
(ii) Change the binary number 01101100 into a positive denary integer.

…………………………………………………………………………………………… [1]

KU
Q18 2011-Nov, P33
2 (b) Convert the following denary numbers into 8-bit, two's complement, binary
numbers:
(i) –3

A
……………………………………………………………………………………………………

………………………………………………………………………………………………… [2]
TH
(ii) – 47
……………………………………………………………………………………………………

………………………………………………………………………………………………… [2]

Q19 2011-Nov, P32


3 (a) Convert the denary number 395 into
ED

(i) a binary coded decimal number (BCD)

…………………………………………………………………………………………………
HM

…………………………………………………………………………………………………

…………………………………………………………………………………………….. [3]

(ii) a hexadecimal number

…………………………………………………………………………………………………

…………………………………………………………………………………………………
A

…………………………………………………………………………………………….. [3]

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

Q20 2011-Nov, P31


3 (b) Convert the following denary numbers into 8-bit, two's complement, binary
numbers:

(i) +93

…………………………………………………………………………………………………………

R
…………………………………………………………………………………………………… [2]

KU
(ii) -69
…………………………………………………………………………………………………………

…………………………………………………………………………………………………… [2]

Q21 2011-June, P33

A
7. (a) Express the denary number -95 as a two’s complement integer in an eight-bit byte.

…………………………………………………………………………………………………………
TH
…………………………………………………………………………………………………… [2]

Q22 2011-June, P32


7. Part of the information stored in the data dictionary describes the type of data which
is being stored. A particular piece of data is 10010110.
ED

State what the data stands for if the data dictionary describes it as:

(i) a two's complement binary number;


HM

………………………………………………………………………………………………… [1]

(ii) a binary coded decimal number.


………………………………………………………………………………………………… [2]

Q23 2011-June, P13


3. (a) Explain how a character is represented in a computer.
A

…………………………………………………………………………………………………………

…………………………………………………………………………………………………….. [2]

(b) Explain how integers are represented in a computer.


…………………………………………………………………………………………………………

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885
1.1 INFORMATION REPRESENTATION AHMED THAKUR

1.1 INFORMATION REPRESENTATION – EXERCISE

…………………………………………………………………………………………………………

…………………………………………………………………………………………………….. [3]

(c) Explain how a Boolean value is stored in a computer.

R
…………………………………………………………………………………………………………

KU
…………………………………………………………………………………………………….. [2]

A
TH
ED
HM
A

COMPUTER SCIENCE https://www.facebook.com/groups/OAComputers/


9608 ahmed_thakur@hotmail.com, 0300-8268885

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