0% found this document useful (0 votes)
118 views5 pages

Form 3 End of Month Test

This document appears to be an exam for a computer science class assessing knowledge of hexadecimal, binary, and denary number systems. The exam contains questions that: 1) Identify denary as a base-10 number system and require converting hexadecimal values to denary. 2) Require converting hexadecimal values to their equivalent binary values. 3) Ask about uses of hexadecimal in website development and programming. 4) Require identifying suitable input/output devices for a train ticket machine. 5) Ask students to perform binary operations like shifting and addition.

Uploaded by

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

Form 3 End of Month Test

This document appears to be an exam for a computer science class assessing knowledge of hexadecimal, binary, and denary number systems. The exam contains questions that: 1) Identify denary as a base-10 number system and require converting hexadecimal values to denary. 2) Require converting hexadecimal values to their equivalent binary values. 3) Ask about uses of hexadecimal in website development and programming. 4) Require identifying suitable input/output devices for a train ticket machine. 5) Ask students to perform binary operations like shifting and addition.

Uploaded by

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

NATTIE COLLEGE

CANDIDATE NAME: …………………………………………………………………………………………………………


__________________________________________________________________________

END OF MONTH EXAMINATIONS (FEBRUARY 2024)

COMPUTER SCIENCE FORM 3

TIME: 45 MINUTES

INSTRUCTIONS: ANSWER ALL QUESTIONS


_________________________________________________________________________________
2

1 (a) Denary is a number system that is used by programmers.

Tick (✓) one box to show whether denary is a base-2, base-10 or base-16 number system.

Tick
(✓)

Base-2

Base-10

Base-16
[1]

(b) Hexadecimal values can be used to represent denary values.

Convert these four hexadecimal values into denary values. 05

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

20 ......................................................

1A ......................................................

AB ......................................................
[4]

Working space

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

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

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

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

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

© UCLES 2021 0478/12/O/N/21


3

(c) Hexadecimal values can also be converted to binary values.

Tick (✓) one box to show the correct 8-bit binary value for each hexadecimal value.

(i) Hexadecimal value 25

Tick
(✓)

00011001

00100101

10100001
[1]

(ii) Hexadecimal value 1B

Tick
(✓)

00011011

10110001

00011010
[1]

(d) (i) Give one way that hexadecimal is used in website development.

......................................................................................................................................................[1]

(ii) Give one way that hexadecimal is used in low-level programming.

......................................................................................................................................................[1]

2 A train company wants to install a self-service ticket machine system for its train stations. When the
customer has purchased their tickets, the machine will provide a paper ticket.

(a) One output device that is used in the ticket machine is a display screen.

Identify one other output device that is used in the ticket machine system.

...............................................................................................................................................................[1]

(b) The train company does not want users to use a keyboard or a mouse to enter their data, when
buying a ticket. The company is worried that they may be stolen or get too dirty.

Identify one other input device that would be suitable for use in the ticket machine system, to allow
users to enter their data.

...............................................................................................................................................................[1]
© UCLES 2021 0478/12/O/N/21 [Turn over
12

3 A register stores the binary number:

1 1 1 0 0 0 1 1

(a) Give the denary number for the binary number stored in the register.

...............................................................................................................................................................[1]

Working space

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

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

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

(b) Give the hexadecimal number for the binary number stored in the register.

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

Working space

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

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

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

(c) A logical left shift of two places is performed on the binary number stored in the register.

Complete the binary register to show its contents after this logical left shift.

[1]

(d) The negative denary number −99 needs to be stored in the register.

Complete the register to show the binary number that would be stored, using two’s
complement. Show all your working.

Working space ..........................................................................................................................

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

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

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

Register:
[2]

© UCLES 2021 0478/12/O/N/21


1
3
(e) The number 01001100 is added to 11100011

Add the two 8-bit binary numbers, using binary addition. Give

your answer in binary. Show all your working.

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

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

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

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

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

...............................................................................................................................................................[4]
4 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

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

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

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

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

© UCLES 2021 0478/12/O/N/21 [Turn over

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy