Back to the topic

The mark scheme starts on a new page, so you can print pages one and two for a student and keep the last page yourself. Everything prints in black on white whichever theme you are using.

Key Stage 3 · Y9.2

Data Representation

Section A: 10 multiple choice questions, 10 marks. Section B: 5 written questions, 18 marks. Total 28 marks.

Name

Class

Date

Mark  / 28

Section A

Circle the letter of the correct answer. One mark each.

  1. 1What is 11001010 in denary?1
    1. A198
    2. B202
    3. C206
    4. D210
  2. 2What is 45 in 8 bit binary?1
    1. A00101101
    2. B00101110
    3. C00110101
    4. D01001101
  3. 3What is 10110110 in hexadecimal?1
    1. AB8
    2. BB6
    3. C6B
    4. DA6
  4. 4Why is hexadecimal used by programmers?1
    1. AIt is the only base that stores colours
    2. BComputers process it faster
    3. CIt is much shorter than binary and easier for people to read without errors
    4. DIt uses less storage
  5. 5What is the denary value of hexadecimal 5C?1
    1. A76
    2. B88
    3. C92
    4. D512
  6. 6An overflow error happens when:1
    1. ATwo numbers are divided
    2. BA file is too large for the disk
    3. CBinary is converted to hex
    4. DThe result of a calculation needs more bits than are available
  7. 7An image is 400 by 300 with a colour depth of 8 bits. What is the file size in bits?1
    1. A1,200
    2. B120,000
    3. C960,000
    4. D9,600,000
  8. 8What does a colour depth of 6 bits allow?1
    1. A12 colours
    2. B36 colours
    3. C6 different colours
    4. D64 different colours
  9. 9What is sample rate?1
    1. AHow loud the recording is
    2. BHow many bits store each measurement
    3. CHow long the recording lasts
    4. DHow many measurements of the sound wave are taken each second
  10. 10What is the main disadvantage of Unicode compared with ASCII?1
    1. AIt uses more bits per character, so files are larger
    2. BIt cannot store numbers
    3. CIt cannot store English
    4. DIt is no longer supported

Section B

Answer in the space provided. The number of marks tells you how many separate points to make.

  1. 1ConvertConvert the denary number 187 into 8 bit binary. Show your working.3
  2. 2ExplainExplain why hexadecimal is often used instead of binary.3
  3. 3AddAdd the binary numbers 01011010 and 00110110, showing your working, and state the denary value of the answer.4
  4. 4CalculateA photograph is 1200 pixels wide and 800 pixels high with a colour depth of 24 bits. Calculate the file size in megabytes.4
  5. 5ExplainExplain how sound is stored digitally, and describe the effect of increasing the sample rate.4

Mark scheme

Section A

1B2A3B4C5C6D7C8D9D10A

Section B

1 Convert the denary number 187 into 8 bit binary. Show your working. 3

One mark for each of the following, to a maximum of 3.

  • Uses place values from 128 downwards
  • Shows the subtraction working
  • Correct answer 10111011

Model answer. Working from the largest place value: 128 fits into 187 leaving 59, so write 1. 64 does not fit into 59, write 0. 32 fits leaving 27, write 1. 16 fits leaving 11, write 1. 8 fits leaving 3, write 0 for 8 being used, so write 1. 4 does not fit into 3, write 0. 2 fits leaving 1, write 1. 1 fits leaving 0, write 1. This gives 10111011, and checking: 128 + 32 + 16 + 8 + 2 + 1 = 187.

2 Explain why hexadecimal is often used instead of binary. 3

One mark for each of the following, to a maximum of 3.

  • One hexadecimal digit represents four binary digits
  • Values are much shorter to write and read
  • Shorter values are easier for people to remember and less prone to error

Model answer. Hexadecimal is used because each hexadecimal digit represents exactly four binary digits, so an eight bit value that needs eight characters in binary needs only two in hexadecimal. Values written in hexadecimal are therefore around a quarter of the length, which makes them far quicker for a person to write down and read back. Because the values are short, people make fewer transcription mistakes and any error that is made is much easier to spot, which is why colour codes, MAC addresses and memory addresses are all normally written in hexadecimal. The computer itself still works entirely in binary.

3 Add the binary numbers 01011010 and 00110110, showing your working, and state the denary value of the answer. 4

One mark for each of the following, to a maximum of 4.

  • Adds column by column from the right with carries
  • Correct binary answer 10010000
  • Converts the answer to denary
  • States that no overflow occurs as the answer fits in 8 bits

Model answer. Adding column by column from the right and carrying wherever two or three ones meet gives 10010000. Checking in denary, 01011010 is 90 and 00110110 is 54, and 90 plus 54 is 144, which is 10010000 in binary since 128 + 16 = 144. No overflow error occurs, because 144 is within the range 0 to 255 that eight bits can represent, so nothing is carried out of the most significant column and no data is lost.

4 A photograph is 1200 pixels wide and 800 pixels high with a colour depth of 24 bits. Calculate the file size in megabytes. 4

One mark for each of the following, to a maximum of 4.

  • Multiplies colour depth by width by height
  • Obtains 23,040,000 bits
  • Divides by 8 to obtain 2,880,000 bytes
  • States 2.88 MB

Model answer. File size in bits is colour depth multiplied by width multiplied by height, so 24 x 1200 x 800 = 23,040,000 bits. Dividing by 8 gives 2,880,000 bytes. Dividing by 1000 gives 2880 kilobytes, and dividing by 1000 again gives a file size of 2.88 megabytes.

5 Explain how sound is stored digitally, and describe the effect of increasing the sample rate. 4

One mark for each of the following, to a maximum of 4.

  • The amplitude of the sound wave is measured at regular intervals
  • Each measurement is stored as a binary number
  • A higher sample rate means measurements are taken closer together in time
  • So the recording is a more accurate copy of the original wave, but the file is larger

Model answer. Sound in the real world is a continuously varying wave, which cannot be stored directly because a computer can only store numbers. Instead the amplitude of the wave is measured at regular fixed intervals, a process called sampling, and each measurement is rounded to the nearest available level and stored as a binary number. Increasing the sample rate means those measurements are taken more often and therefore closer together in time, so less of the wave's shape is missed between samples and the stored data follows the original much more closely, producing a more accurate and better sounding recording. The cost is file size, which is directly proportional to sample rate, so doubling the sample rate doubles the amount of storage the recording needs.