Computer Science Paper 1 HL
Computer Science Paper 1 HL
22137011
Computer science
HIGHER level
Paper 1
2 hours 15 minutes
INSTRUCTIONS TO CANDIDATES
2213-7011 7 pages
© International Baccalaureate Organization 2013
–2– M13/5/COMSC/HP1/ENG/TZ0/XX
Section a
(b) describe how the size of the registers is related to the size of primary memory. [2 marks]
8. (a) Express the decimal number 189 as hexadecimal. You must show your working. [2 marks]
(b) Calculate the result of EB(16) + ACF(16) giving your answer in hexadecimal.
You must show your working. [2 marks]
(c) Explain how the use of floating-point representation extends the range of
numbers that can be used. [3 marks]
2213-7011
–3– M13/5/COMSC/HP1/ENG/TZ0/XX
Trace the method to compute GCD(15,20), by copying and completing the table below. [3 marks]
x y return
15 20 …
11. Compare the use of a dynamic data structure with a static data structure in storing and
accessing data. [4 marks]
13. Describe two different types of errors, in number representation, that could occur
when mathematical operations are processed on a computer. [4 marks]
Section b
14. A LAN in a health centre allows two receptionists and four doctors to share three PCs
and a printer which are connected to a server. The LAN has a star topology,
and uses cables.
The doctors can access only the medical records of the patients; the receptionists
cannot access the medical records of the patients and deal only with registering
new patients and booking appointments.
(c) (i) Describe how the access of the doctors and the receptionists can be
restricted to the appropriate parts of the file system. [2 marks]
It is proposed to allow patients partial access to the health centre’s system over
the Internet.
(ii) Explain the type and level of access that should be granted to the patients
and how this would be achieved. [4 marks]
15. A PC is connected to a telephone line with an external modem via a serial port.
An application running on the PC allows it to send files by fax. To transmit the
document, the application dials the receiver’s number, in order to establish a
communication channel which is regulated by handshaking.
(b) Explain how the process of handshaking leads to successful communication. [3 marks]
(c) Describe how the use of a buffer contributes to a better use of the CPU. [3 marks]
(d) Explain how direct memory access allows a peripheral to access data. [3 marks]
2213-7011
–5– M13/5/COMSC/HP1/ENG/TZ0/XX
16. A theatre has three stage lights: red (R), green (G) and blue (B). When the beams
from each light cross, they produce the colours illustrated below. For example, when
red (R) and green (G) are together the colour yellow (Y) is shown. The other colours
are cyan (C), magenta (M), white (W).
C
G B
W
Y M
The beams can be switched on (1) or off (0), and a logical circuit is controlling them.
(a) Construct the table that represents all the possibilities for colours generated as
specified in the model. [2 marks]
R G B Output
0 0 0 undefined
0 0 1 B
… … … …
17. An IT solutions company will provide a system for a major customer. The system
analysis has been carried out and a feasibility report has been presented to the customer.
(a) State two pieces of information that the feasibility report may contain. [2 marks]
(b) Discuss the factors that will affect their decision. [4 marks]
(c) Explain why more than one cycle of analysis and design might be desirable. [4 marks]
+ 2
∗ 3
(b) Identify the traversal on the tree that would produce the expression E. [1 mark]
(c) State the expression obtained by performing a post-order traversal of the tree. [1 mark]
(d) Suggest an algorithm and a data structure to be used on the tree in order to
produce the postfix representation of E. [3 marks]
(e) Explain why binary tree traversal fits the requirements of the recursive method. [4 marks]
2213-7011
–7– M13/5/COMSC/HP1/ENG/TZ0/XX
19. A network of analogue gas detectors and digital particle counters has been installed
in a town. These detect the presence of different pollutants. The collected data are
transmitted to a control centre, where they are processed overnight by a computer.
(b) Explain why it is necessary to convert the data from the gas detector from
analogue to digital. [2 marks]
(c) Discuss the appropriateness of using polling for the communication of the data. [4 marks]
(d) Describe how the computer could sort the data without increasing the size of its
primary memory. [3 marks]
2213-7011