A marine research vessel records sonar positions using hexadecimal coordinates. A saved coordinate is 7E. Before plotting it on a decimal navigation program...

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

Question 1 Report

A marine research vessel records sonar positions using hexadecimal coordinates. A saved coordinate is 7E. Before plotting it on a decimal navigation program, a researcher converts it. The number is stored in one byte of memory and no negative values are used.

(a) Give the decimal value of hexadecimal 7E. [3]
(b) State the 8-bit binary value of hexadecimal 7E. [2]
(c) State the greatest hexadecimal value that fits in one byte. [1]

Answer Details

(a) \(E=14\). The two hexadecimal place values are 16 and 1: \[7\times16+14=112+14=\mathbf{126}\] [3]

(b) \(7=0111\) and \(E=1110\), so the 8-bit binary value is 01111110. [2]

(c) One byte has two hexadecimal digits. The greatest possible digit is \(F\), so the greatest value is FF. [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