0% found this document useful (0 votes)
4 views

Q1

The document discusses the role of the Memory Data Register (MDR) in the CPU's fetch-decode-execute cycle and requests identification of other CPU registers. It also presents a scenario involving a parking payment machine that displays costs in binary and hexadecimal formats, requiring calculations for specific parking costs and ticket numbers. Additionally, it asks for an explanation of the necessity for converting data input into binary.

Uploaded by

conrod.smith
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Q1

The document discusses the role of the Memory Data Register (MDR) in the CPU's fetch-decode-execute cycle and requests identification of other CPU registers. It also presents a scenario involving a parking payment machine that displays costs in binary and hexadecimal formats, requiring calculations for specific parking costs and ticket numbers. Additionally, it asks for an explanation of the necessity for converting data input into binary.

Uploaded by

conrod.smith
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

3

(e) The CPU contains registers including the memory data register (MDR).

(i) Describe the role of the MDR in the fetch-decode-execute cycle.

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

..................................................................................................................................... [2]

(ii) Identify three other registers contained in the CPU.

1 ........................................................................................................................................

2 ........................................................................................................................................

3 ........................................................................................................................................
[3]

2 A car park has a payment machine that allows a customer to pay for their parking.

The cost of parking is displayed as a denary number on a screen on the payment machine.

The cost of parking is stored in two 8-bit binary registers.

For the parking cost of $10.50:


• register 1 stores the denary value 10 as binary
• register 2 stores the denary value 50 as binary.

(a) Give the parking cost that would be displayed on the payment machine when the registers
store:
• register 1: 00010001
• register 2: 01000110

Parking cost displayed $ ............................................................................... [2]

Working space

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

© UCLES 2023 0478/11/O/N/23 [Turn over


4

(b) The parking cost of $14.98 is displayed on the payment machine.

Give the 8-bit binary numbers that are stored in the registers to display the parking cost.

Register 1 .................................................................................................................................

Register 2 .................................................................................................................................
[2]

Working space

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

(c) The payment machine gives the customer a ticket when they have paid their parking cost.
Each ticket has a 4-digit hexadecimal ticket number that is stored as binary.

The binary number 1010000000111101 is stored for a customer’s ticket number.

Give the hexadecimal ticket number that would be displayed on this customer’s ticket.

Hexadecimal ticket number ................................................................................................ [4]

Working space

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

(d) Explain why data input into the payment machine needs to be converted to binary.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

............................................................................................................................................. [2]

© UCLES 2023 0478/11/O/N/23

You might also like