The table below shows part of the code editor reference file used by a theatre to store the initials of lighting operators. Each character has an ASCII dena...

Assessment: Computer Science 4CP0 | Paper 2 Mock 01 | Written Paper 2 Subject: Computer Science - 4CP0

Question 1 Report

The table below shows part of the code editor reference file used by a theatre to store the initials of lighting operators. Each character has an ASCII denary number and an 8-bit binary pattern. The program reads a file containing these codes before it can display an operator's name. The final four bits of each pattern are shown to help staff check that data has not been typed incorrectly.

CharacterASCII denary number8-bit binary pattern
A6501000001
B6601000010
D6801000100
a9701100001

A new record contains the binary pattern 01000011. The editor uses standard ASCII code, where the capital letters occur in sequence.

(a) Identify the denary number represented by the binary pattern 1100. [2]
(b) Complete the missing ASCII entry for capital C by writing its denary number and its 8-bit binary pattern. [3]
(c) Give one reason why a computer stores the character C as a binary pattern rather than as the visible character on the display. [2]
(d) Use Table 1 to write the three-character word represented by 01000010 01000001 01000100. [3]

Answer Details

(a) The binary pattern \(1100\) has place values \(8,4,2,1\). Therefore \(8+4=12\), so the denary number is 12. [2]

(b) Capital letters are consecutive in standard ASCII. Since A is 65 and B is 66, capital C is 67. Converting \(67\) to 8 bits gives \(64+2+1\), so its pattern is 01000011. [3]

(c) A computer stores C as binary because its electronic circuits have two reliable states, such as on/off, which can represent 1 and 0. The visible letter is an output shown to a human; internally it is stored as bits. [2]

(d) Decode each 8-bit ASCII pattern using the table: \(01000010\) is B, \(01000001\) is A and \(01000100\) is D. The word is BAD. [3]

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