Information representation – A Level Computer Science (old syllabus, to 2021) (9608)
Quick quiz: 10 random questions from this topic. Answer them all, then open the Summary.
Question text
7
Wilbur uses vector graphics to create a logo for his company.
Wilbur Designs
(a) Describe how the logo is represented and encoded by the computer.
…
…
…
…
…
…
…
… [4]
(b) Wilbur scans a hand drawn image. The scanned image uses 8 bits to store the colour for
each pixel. The image is 2048 pixels wide by 1024 pixels high.
(i)
Calculate an estimate of the file size of the scanned image. Give your answer rounded to
the nearest MB.
Show your working.
…
…
…
…
Answer … MB
[2]
(ii)
Wilbur wants to compress the scanned image before emailing it to his colleague.
Describe one lossy compression technique that Wilbur can use to compress this image.
…
…
…
…
…
… [3]
Question text
2
A travel company is designing a website.
(a) The bitmap logo for the travel company is shown.
Each colour is represented by a letter, for example, R = red, B = black, W = white.
Bitmap Logo
R
R
R
R
R
R
R
R
R
B
B
B
B
B
W
R
R
B
W
W
W
B
W
R
R
B
W
W
W
W
W
R
R
B
W
W
B
B
W
R
R
B
W
W
W
B
W
R
R
B
B
B
B
B
W
R
R
R
R
R
R
R
R
R
(i)
State the minimum number of bits needed to represent each pixel in the bitmap logo.
… [1]
(ii)
Calculate the minimum file size, in bytes, of the bitmap logo. Show your working.
Working …
…
…
…
File size …
[3]
(b) The travel company uploads a video to its website. The video is stored as an MP4 file. MP4 is
an example of a multimedia container format.
Describe what is meant by a multimedia container format.
…
…
…
… [2]
(c) Complete the following sentences that describe two terms related to videos.
… is when a sequence of consecutive pixels
in the same frame have the same value.
… is when a pixel in the same location in two
consecutive frames has the same value.
[2]
Question text
2
(a) When recording a video, state what is meant by frame rate.
…
… [1]
(b) Video streaming can use either interlaced encoding or progressive encoding.
Describe what is meant by the following terms.
Interlaced encoding
…
…
…
…
Progressive encoding
…
…
…
… [4]
(c) (i)
Name the video terms described below:
Description
Term
Pixels in two video frames have the same value
in the same location. There is duplication of data
between frames.
…
A sequence of pixels in a single video frame have
the same value.
…
[2]
(ii)
Give one file technique that could be applied when either of the two features, described
in part (c)(i), are present.
…
… [1]
Question text
2
Daniel is creating a sound file for a school project.
(a) Daniel records the sound using a sampling rate of 44.1 kHz and a sampling resolution of
16 bits.
(i)
State what is meant by a sampling rate of 44.1 kHz.
…
… [1]
(ii)
State what is meant by a sampling resolution of 16 bits.
…
… [1]
(b) Daniel needs to write a report about the sound he is using for his project. He will use a
keyboard to write this report.
Describe the basic internal operation of a keyboard.
…
…
…
…
…
…
…
… [4]
Question text
2
Amir has created a sound file using his desktop computer.
(a) Complete the table by writing the missing definitions and term about sound.
Term
Definition
…
…
Sampling
…
…
…
The number of samples per unit time
…
…
…
Sampling resolution
…
…
[3]
(b) The file is too large to be emailed and the file size needs to be reduced.
(i)
Name one lossless compression technique that can be used to reduce the size of the
sound file.
…
… [1]
(ii)
Describe one lossy compression technique that can be used to reduce the size of the
sound file.
…
…
…
… [2]
(c) Amir’s computer has system software, including utility software and an operating system.
(i)
Explain how the disk formatter, disk contents analysis and disk repair utilities work
together.
…
…
…
…
…
… [3]
(ii)
Amir’s computer has several peripheral devices connected to it.
State three peripheral management tasks performed by the operating system.
Task 1 …
…
Task 2 …
…
Question text
4
Hexadecimal, Binary Coded Decimal (BCD) and binary values are shown below.
Draw a line to link each value to its correct denary value.
Hexadecimal, BCD, binary
Denary
93
Hexadecimal:
3A
–65
58
BCD representation:
0100
1001
–63
Binary integer:
01011101
73
Two’s complement
49
binary integer:
11000001
–93
[4]
Question text
6
(a) Convert the following denary number into a 12-bit two’s complement binary form.
-245
[1]
(b) Convert the following hexadecimal number into denary.
F0
…
… [1]
(c) Convert the following unsigned binary integer into denary.
10101111
…
… [1]
(d) Convert the following Binary Coded Decimal (BCD) into denary.
100001010011
…
… [1]
Question text
8
(a) Describe how run-length encoding (RLE) can be used to compress a single video frame.
…
…
…
…
…
…
…
… [4]
(b) Identify two other methods of compressing a single video frame.
1 …
…
2 …
…
[2]
Question text
1
(a) Each of the following bytes represents an integer in two’s complement form.
State the denary value.
(i)
Denary …
[1]
0111 0111
(ii)
Denary …
[1]
1000 1000
(iii)
Express the following integer in two’s complement form.
-17
[1]
(iv)
State in denary, the range of integer values that it is possible to represent in two’s
complement integers using a single byte.
Lowest value …
Highest value …
[1]
(b) (i)
Convert the following denary integer into Binary Coded Decimal (BCD).
653
… [1]
(ii)
A 3-digit BCD representation has been incorrectly copied. It is shown as:
0
1
0
0
1
1
1
0
0
0
1
0
State how you can recognise that this is not a valid BCD representation.
…
… [1]
(iii)
Describe a practical application where BCD is used.
…
… [1]
Question text
7
Xiaoming created the following logo using bitmapped graphics software.
PJF
Interiors
(a) Describe how one typical feature of bitmapped graphics software was used to create the
logo.
…
…
…
… [2]
(b) The finished logo is 160 pixels wide and 160 pixels high. The image has a colour depth of
3 bytes per pixel.
Calculate an estimate of the file size for the logo. Give your answer in kilobytes. Show your
working.
Working …
…
…
Answer … KB
[3]
(c) Xiaoming needs to use his logo on his business card, on his website and on large display
boards. He is told that he should have created a vector graphic logo instead of a bitmapped
graphic logo.
Describe one benefit of creating a vector graphic logo instead of a bitmapped graphic logo.
…
…
…
… [2]
(d) The hexadecimal colour value of the background of Xiaoming’s website is:
913C8E
Complete the following table by converting each hexadecimal value to denary value.
Red
Green
Blue
91
3C
8E
Hexadecimal value
Denary value
[2]
(e) Part of Xiaoming’s website contains the JavaScript function performTask().
function performTask(){
var value1;
value1 = document.getElementById("FirstBox").value;
if (value1 == "Yes"){
document.getElementById("paragraph1").innerHTML = "Agreed";
} else if(value1 == "No"){
document.getElementById("paragraph1").innerHTML = "Sorry";
} else {
alert("Error")
}
}
Describe the purpose of the following JavaScript statements from the function
performTask().
(i)
alert("Error")
…
… [1]
(ii)
value1 = document.getElementById("FirstBox").value;
…
…
…
…