Data Storage & Compression (OCR GCSE Computer Science)

Topic Questions

2 hours35 questions
1a4 marks

Computers represent data in binary form.

Tick (✓) one box in each row to identify the binary unit equivalent of each of the given file sizes.

File size

2 megabytes

2 petabytes

2 kilobytes

2 bytes

2 gigabytes

2000 bytes

2000 terabytes

16 bits

4 nibbles

1b2 marks

Convert the denary number 221 into 8 bit binary.

Show your working.

1c1 mark

Convert the hexadecimal number 2F into denary. Show your working.

1d1 mark

Convert the binary number 10110000 into hexadecimal

1e1 mark

Identify how many unique values can be represented by 4 bits.

1f1 mark

Perform a binary shift of 3 places right on the binary number 10001110.

Did this page help you?

2a1 mark

The student writes a report about volcanoes.

The computer stores text using the ASCII character set.

Part of the ASCII character set is shown:

Character

ASCII denary code

M

77

N

78

O

79

P

80

Q

81

Identify the character that will be represented by the ASCII denary code 84.

2b1 mark

Identify a second character set.

Did this page help you?

33 marks

A student takes a photograph of their science experiment. The image file includes metadata.

Identify three pieces of metadata that is often stored with an image.

Did this page help you?

41 mark

Convert the binary number 11001011 into denary.

Did this page help you?

5a3 marks

ASCII, extended ASCII and Unicode are all examples of character sets.

Tick (✓) one or more boxes in each row to identify whether each statement applies to each character set.

ASCII

Extended ASCII

Unicode

Can represent thousands of different characters, including Russian and Chinese symbols.

Can represent European characters such as ç or â.

Uses different character codes for upper-case and lower-case letters

5b2 marks

The character D is represented by the binary ASCII code 1000100.

Give the ASCII code for the following characters in binary.

E

H

Did this page help you?

62 marks

Convert the denary value 178 into an 8 bit binary number.

Did this page help you?

72 marks

Convert the binary value 11000111 into hexadecimal.

Did this page help you?

82 marks

Convert the denary value 105 into an 8 bit binary number

Did this page help you?

91 mark

The following logo is stored as a bitmap image.

Each box represents one pixel, with three different colours being used in the image.

Q5_Paper 2_Nov 2020_OCR GCSE Computer Science

State what is meant by the term image resolution.

Did this page help you?

10a2 marks

Give two ways that the file size of an image could be reduced.

10b1 mark

Metadata is sometimes stored alongside images.

State what is meant by the term metadata.

10c1 mark

Give one example of metadata that could be stored alongside the logo.

Did this page help you?

112 marks

Convert the binary number 1011011 to denary.

Show your working.

Did this page help you?

122 marks

Convert the denary number 132 into an 8 bit binary number.

Did this page help you?

132 marks

Convert the binary number 10110101 to its hexadecimal equivalent.

Did this page help you?

1a2 marks

A student compresses all their documents before emailing them to their teacher

Give two benefits of compressing the data before it is emailed.

1b2 marks

Explain why lossy compression may not be appropriate to compress all of the student’s files.

Did this page help you?

22 marks

The sample rate is increased on a computer when recording music from a guitar.

Give two effects this will have on the recording.

Did this page help you?

3a1 mark

Complete a 2-place shift to the right on the binary number 11001011.

3b2 marks

Explain the effect of performing a 2-place shift to the right on the binary number 11001011.

Did this page help you?

42 marks

The table gives the ASCII code for the characters.

Character

ASCII code

L

76

M

77

N

78

O

79

P

80

Explain how the word MOP will be represented in ASCII.

Did this page help you?

52 marks

Computers make use of electronic switches called transistors.

Describe how transistors can be used to store a value in binary.

Did this page help you?

6a2 marks

Azmi says, “hexadecimal is used because it takes up less storage space in the computer’s memory than binary.”

Tick one box to identify whether Azmi is correct.

Justify your answer.

Tick (✓)

Correct

Incorrect

Justification

6b3 marks

Binary shifts can be used for multiplication and division.

Draw one line from each shift on the left to its correct outcome on the right.

Q5e_Paper 2_Nov 2020_OCR GCSE Computer Science
6c2 marks

Add the following 8 bit binary integers, giving your answer in binary.

table row blank blank cell bold space bold space bold space bold space bold 0 bold space bold 0 bold space bold 1 bold space bold 1 bold space bold 0 bold space bold 1 bold space bold 1 bold space bold 0 end cell row blank blank cell bold plus bold 1 bold space bold 0 bold space bold 0 bold space bold 1 bold space bold 0 bold space bold 1 bold space bold 1 bold space bold 0 end cell row blank blank cell stack bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space with bold bar on top end cell end table

Did this page help you?

74 marks

Ali’s tablet computer has 100GB of secondary storage. There is currently 80GB available.

Ali wants to transfer a series of video clips onto his tablet. Each video is, on average, 200000 kilobytes.

Calculate an estimate of the number of video clips Ali can fit onto his tablet.

Show your working.

Working

Answer

Did this page help you?

82 marks

Give two reasons why computer scientists use hexadecimal to represent numbers instead of binary.

Reason 1

Reason 2

Did this page help you?

91 mark

Show the outcome of a right shift of three places on the binary value 0111 1000.

Did this page help you?

104 marks

The following logo is stored as a bitmap image.

Each box represents one pixel, with three different colours being used in the image.

Q5_Paper 2_Nov 2020_OCR GCSE Computer Science

Calculate the fewest number of bits that could be used to store the logo as a bitmap image.

You must show your working.

Did this page help you?

113 marks

A radio station uses a digital camera to take a photograph of a computer scientist for their website. The photograph is stored as a bitmap image.

Describe how bitmap images are represented in binary.

Did this page help you?

122 marks

Explain why computers represent data in binary form.

Did this page help you?

134 marks

An image is compressed using lossy compression before being uploaded to a radio station’s web server.

The image will be used on the radio station’s website.

Describe one advantage and one disadvantage of using lossy compression on the image that will be used on the website.

Advantage

Disadvantage

Did this page help you?

142 marks

Convert the hexadecimal number A3 to denary.

Show your working.

Did this page help you?

152 marks

Add the following binary numbers.

table row blank blank cell bold space bold space bold space bold space bold space bold 1 bold space bold 0 bold space bold 1 bold space bold 1 bold space bold 0 bold space bold 1 bold space bold 1 bold space bold 0 end cell row blank blank cell bold plus bold space bold space bold space bold space bold space bold space bold space bold 1 bold space bold 0 bold space bold 0 bold space bold 1 bold space bold 1 bold space bold 1 end cell row blank blank cell stack bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space bold space with bold bar on top end cell end table

Did this page help you?

162 marks

William transfers videos to a computer for editing.

The computer has 1GB of storage free.

Calculate the number of videos that could be stored on the computer if each video was 100MB in size.

Show your working.

Did this page help you?

171 mark

Show the effect of a binary shift right of two places on the binary number 00110100.

Did this page help you?

182 marks

Describe a shift that can be used to double the value of the binary number 00100100.

Did this page help you?

192 marks

The table below (Fig. 3) shows the ASCII codes for a number of characters.

The lower case ASCII code for a character can be found by adding 00100000 to the upper case version.

Character

ASCII code

R

0 1 0 1 0 0 1 0

r

0 1 1 1 0 0 1 0

A

0 1 0 0 0 0 0 1

a

E

0 1 0 0 0 1 0 1

e

Fig. 3

Complete the table above by filling in the missing ASCII codes.

Did this page help you?

1a3 marks

A student is creating a range of documents for a school project.

The student records a podcast about computer science.

Describe how an analogue sound wave is converted into digital form.

1b3 marks

Tick (✓) one or more boxes on each row to identify the effect(s) that each change will have on the sound file.

Change

File size increases

File size decreases

Accuracy increases

Accuracy decreases

Duration changes from 10 minutes to 20 minutes

Sample rate changes from 44 kilohertz to 8 kilohertz

Bit depth changes from 8 bits to 16 bits

Did this page help you?

22 marks

A computer records an audio file of someone playing a guitar.

Describe what happens when the computer converts the music into a file.

Did this page help you?

3a2 marks

Sound data is sampled and stored in binary.

A 30-second section of sound data is sampled at a rate of 48KHz using 24 bits per sample.

Describe the data that is recorded when sound is sampled.

3b2 marks

Explain what is meant by a sample rate of 48KHz.

3c4 marks

Describe how the file size of the sound recording could be reduced.

Did this page help you?