The art gallery uses Fig. 1 in its online catalogue to show a painting frame. A programmer writes an algorithm that converts the frame image from 8-bit grey...

Assessment: Computer Science 9210 | Paper 2 Mock 01 | Concepts and principles of computer science Subject: Computer Science - 9210

Question 1 Report

The art gallery uses Fig. 1 in its online catalogue to show a painting frame. A programmer writes an algorithm that converts the frame image from 8-bit grey scale to black and white. Pixels with a grey value below 128 become black; all other pixels become white.

© EAGLE BEACON GLOBAL

(a) State the output colour for a pixel with grey value 45. [1]

Answer Details

The conversion rule is: grey values below 128 become black, while values of 128 or above become white.

  1. (a) Since \(45 < 128\), the pixel becomes black. [1]

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning