21Easy
0/1

An 8x8 monochrome bitmap image is shown in Figure 1.

Figure 1: An 8x8 monochrome bitmap image displaying a blocky letter 'C' shape. Columns 1 to 8 from left to right, rows 1 to 8 from top to bottom. Rows 1, 2, 7, and 8 have black pixels in all columns. Rows 3, 4, 5, and 6 have black pixels in columns 1 and 2, and white pixels in columns 3, 4, 5, 6, 7, and 8.

Figure 1 can also be represented by the following grid:

RowCol 1Col 2Col 3Col 4Col 5Col 6Col 7Col 8
Row 1■■■■■■■■
Row 2■■■■■■■■
Row 3■■□□□□□□
Row 4■■□□□□□□
Row 5■■□□□□□□
Row 6■■□□□□□□
Row 7■■■■■■■■
Row 8■■■■■■■■

What is the binary representation of Row 5 in Figure 1?

Use 1 to represent black pixels (■) and 0 to represent white pixels (□).

[1]

Representing images Questions

Practise AQA GCSE Computer Science Representing images with exam-style questions for GCSE Computer Science. 43 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Representing images Questions

  1. GCSE
  2. /Computer Science
  3. /Representing images