Skip to main content
O-LevelComputer ScienceData Representation2210/12 · May/June 2016 · Q94 Marks

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”. [Diagram of barcode]

  1. (a)Write the binary numbers that would be produced from this barcode: Binary number A: Binary number B:[2]
  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]

This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.

Mark scheme

Marking points from the official mark scheme (May/June 2016). The mark or mark type is shown in brackets.

  1. [2] 9 (a) Binary number A: 1 1 1 0 0 1 0 Binary number B: 1 0 0 1 1 1 0
  2. [2] (b) Parity Bit Binary number A: 1 Binary number B: 1

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Data Representation, O-Level Computer Science (syllabus 2210). Structured question, 4 marks.
Source
O-Level Computer Science, May/June 2016 Paper 1 Variant 2, question 9.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep