Question 1 Report
The access system for a sports centre uses the binary subtraction shown in Fig. 1. A staff member has 01100010 credits, and 00011111 credits are used to book a court.
(a) Give the 8-bit result of the subtraction. [2]
(b) State the denary value of the result. [1]
(c) State the number of credits used. [1]
Fig. 1 shows an 8-bit register in a portable music player. A programmer needs to multiply the binary number by 2 using a shift operation. The value is currently held in the register.
(a) Give the value after a logical left shift by one position. [2]
(b) State the denary value after the shift. [1]
(c) State the effect on the leftmost bit if another left shift is performed. [1]
Sports-centre credits
Music-player register
A left shift normally multiplies an unsigned value by 2 only while no significant bit is lost.
Everything you need to excel in your exams