Data representation – O Level Computer Science (2210)
86 questions · page 6 of 6 · Clear filters
Question text
13 (a) Gurdeep wants to send a large file to Jennifer over the Internet.
State two benefits of compressing the file to send it.
Benefit 1 …
…
…
Benefit 2 …
…
…
[2]
(b) Two types of compression are lossy and lossless.
Choose the most suitable type of compression for the following and explain your choice.
(i)
Downloading the code for a computer program:
Type of compression …
Explanation …
…
…
…
[3]
(ii)
Streaming a video file:
Type of compression …
Explanation …
…
…
…
[3]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge International
Examinations Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cie.org.uk after
the live examination series.
Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local
Question text
5
(a) The denary number 57 is to be stored in two different computer registers.
Convert 57 from denary to binary and show your working.
���������������������������������������������������������������������������������������������������������������������������������������������������
���������������������������������������������������������������������������������������������������������������������������������������������������
���������������������������������������������������������������������������������������������������������������������������������������������������
�����������������������������������������������������������������������������������������������������������������������������������������������[2]
(b) Show the binary number from part (a) as it would be stored in the following registers.
Register 1
Register 2
[2]
(c) A binary number stored in a register can have many different uses, for example an address in
main memory.
Give two other uses for a binary number stored in a register.
Use 1 ����������������������������������������������������������������������������������������������������������������������������������������
Use 2 ����������������������������������������������������������������������������������������������������������������������������������������
[2]
(d) A register in a computer contains binary digits.
0
0
1
1
1
0
1
0
The contents of the register represent a binary integer.
Convert the binary integer to hexadecimal.
…
… [1]
Question text
5
A computer uses an 8-bit register.
The 8-bit register contains binary integers.
(a) Write the denary (base 10) value represented by:
128
64
32
16
8
4
2
1
0
1
1
1
0
0
0
0
… [1]
(b) All the bits in the register are shifted one place to the right as shown below.
0
1
1
1
0
0
0
0
0
0
1
1
1
0
0
0
Write the denary number that is represented after this shift.
… [1]
(c) State the effect the shift to the right had on the original denary number from part (a).
… [1]
(d) The original number in part (a) is shifted three places to the right.
(i)
Show the new binary number:
[1]
(ii)
Write the equivalent denary number.
… [1]
(e) Describe the problems that could be caused if the original binary number in part (a) is shifted
five places to the right.
…
…
…
…
… [2]
Question text
8
Identify whether the four statements about file compression are correct by writing TRUE or FALSE
in the following table.
Statement
TRUE or FALSE
MIDI files store the actual music notes in a compressed format
JPEG files are examples of lossless file compression
MP3 files are, on average, 90% smaller than the music files
stored on a CD
MP4 files are examples of lossy file compression
[4]
Question text
11
A security system is installed in a house. A hexadecimal number is entered to activate or deactivate
the alarm.
(a) The alarm code is set to hexadecimal number 2 A F
Show how this number would be stored in a 12-bit binary register.
[3]
(b) Identify two sensors that the security system could use to detect intruders.
Describe how each sensor could be used in the security system.
Sensor 1 …
Description …
…
…
…
Sensor 2 …
Description …
…
…
…
[6]
Question text
10 (a) A manufacturer of aeroplane engines assigns a denary identification number (ID) to each
engine.
0431
One engine has the ID:
(i)
Convert this denary number to a 12-bit binary format.
[2]
(ii)
Show how this number would be represented in hexadecimal.
…
…
[3]
(b) The current status of the engine is sent to a computer in the aeroplane.
Each piece of data collected is 8 bytes in size. Data collection occurs every 30 seconds.
Calculate the number of kilobytes that would be needed to store the data collected during a
10-hour flight. Show your working.
…
…
…
…
… kilobytes
[3]
(c) At the end of the flight, all of the data are sent to the aeroplane engine manufacturer using the
Internet.
The computer in the aeroplane has a MAC address and an IP address.
State what is meant by these two terms.
MAC address …
…
…
IP address …
…
…
[2]
(d) When sending this data, security is very important. Data are sent over the Internet using
Transport Layer Security (TLS) protocol.
Name the two layers that make up TLS.
1 …
2 …
[2]
Question text
2
Hexadecimal codes are used in MAC addresses.
(a) State what is meant by the term MAC.
… [1]
(b) Explain what the hexadecimal code in a MAC address represents.
…
…
…
…
…
… [3]
Question text
7
Each seat on a flight is uniquely identified on an LCD above the seat. For example, seat 035C is
shown as:
The first three characters are digits that represent the row.
The fourth character is the seat position in that row. This is a single letter, A to F, that is stored as a
hexadecimal value.
Each of the four display characters can be stored in a 4-bit register. For example, 0 and C would
be represented as:
8
4
2
1
0
0
0
0
0:
1
1
0
0
C:
(a) Show how the 4-bit registers would store the remaining two characters, 3 and 5.
3
5
[2]
(b) Identify which seat is stored in the following 4-bit registers.
0
0
0
1
1
0
0
1
0
1
0
0
1
1
1
0
[2]
Question text
12 (a) Name the following type of barcode:
… [1]
2 6 4 0
(b) The barcode in part (a) contains the denary value
Convert this value to hexadecimal.
…
…
Write the value as a 12-bit binary number.
[4]
(c) An airport uses the type of barcode shown in part (a) to advertise local places of interest.
Describe how a visitor landing at the airport could use these barcodes to help plan their visit.
…
…
…
…
…
…
… [3]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every reasonable
be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge International
Examinations Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cie.org.uk after
the live examination series.
Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local
Question text
3
(a) Convert the following hexadecimal number into 12-bit binary:
4 A F
[3]
(b) The 2016 Olympic Games will be held in Rio de Janeiro. A timer that counts down to the
opening of the Games is shown on a microprocessor-controlled display.
The number of hours, minutes and seconds until the Games open are held in three 8-bit
registers.
The present register values are:
0
1
1
0
1
0
0
1
105 hours
0
0
1
0
0
0
0
0
32 minutes
0
0
0
1
0
1
0
0
20 seconds
The timer will count down in seconds.
(i)
Show the values in each 8-bit register 30 seconds after the time shown above:
hours
minutes
seconds
[3]
(ii)
Write the hexadecimal value of the minutes register from part (b)(i).
… [1]
Question text
9
In the following barcode, each binary number is made up of seven bars.
Each bar is black or grey.
A black bar is interpreted as a “1” and a grey bar is interpreted as a “0”.
(a) Write the binary numbers that would be produced from this barcode:
Binary number A Binary number B
Binary number A:
Binary number B:
[2]
(b) This barcode system uses odd parity.
Write the parity bit for each of the binary numbers in part (a):
Parity bit
Binary number A:
Binary number B:
[2]