(a) Convert each binary number to denary. Show your working. [4] Binary Working Denary 10110 11001100 01010101 11111111 (b) Convert each denary number to bi...

Assessment: Computer Science (9-1) 0984 | Paper 2 Mock 01 | Algorithms, Programming and Logic Subject: Computer Science (9-1) - 0984

Question 1 Report

(a) Convert each binary number to denary. Show your working. [4]

BinaryWorkingDenary
10110
11001100
01010101
11111111

(b) Convert each denary number to binary. Show your working. [4]

DenaryWorkingBinary
42
100

(c) State the maximum denary value that can be stored in 8 bits. Explain your answer. [2]

Answer Details

(a) Binary to denary conversions. Each binary digit represents a power of 2, with the rightmost bit being \(2^0\). [4]

BinaryWorkingDenary
10110\(1 \times 16 + 0 \times 8 + 1 \times 4 + 1 \times 2 + 0 \times 1 = 16 + 4 + 2\)22
11001100\(128 + 64 + 0 + 0 + 8 + 4 + 0 + 0\)204
01010101\(0 + 64 + 0 + 16 + 0 + 4 + 0 + 1\)85
11111111\(128 + 64 + 32 + 16 + 8 + 4 + 2 + 1\)255

(b) Denary to binary conversions using repeated division by 2. [4]

DenaryDivision workingBinary
4242/2=21 r0, 21/2=10 r1, 10/2=5 r0, 5/2=2 r1, 2/2=1 r0, 1/2=0 r1. Read remainders bottom-to-top.101010
100100/2=50 r0, 50/2=25 r0, 25/2=12 r1, 12/2=6 r0, 6/2=3 r0, 3/2=1 r1, 1/2=0 r1. Read remainders bottom-to-top.1100100

(c) The maximum denary value that can be stored in 8 bits is 255. [2]

With 8 bits, the largest number has all bits set to 1: 11111111. This equals \(2^8 - 1 = 256 - 1 = 255\). Each additional bit doubles the number of values that can be represented.

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