Computer Science (9618) · May/June 2024 · Question paper 33

Cambridge Computer Science (9618) question paper for paper 33, May/June 2024 — 9618/33/M/J/24, file 9618_s24_qp_33.pdf.

Advertisement
Loading the paper…
Text of this paper

www.dynamicpapers.com

* 0019655539701 *

,



,

Cambridge International AS & A Level
¬Wz> 3mKsgy=–<—5 W
¬šš`E¤ifbpŠœŠWBtN‚
¥5u•5•Eu5e¥U5 eUEU

* 0 5 3 4 4 0 8 3 9 9 *

COMPUTER SCIENCE

9618/33

Paper 3 Advanced Theory

May/June 2024
1 hour 30 minutes

You must answer on the question paper.
No additional materials are needed.
INSTRUCTIONS
●
Answer all questions.
●
Use a black or dark blue pen.
●
Write your name, centre number and candidate number in the boxes at the top of the page.
●
Write your answer to each question in the space provided.
●
Do not use an erasable pen or correction fluid.
●
Do not write on any bar codes.
●
You may use an HB pencil for any diagrams, graphs or rough working.
●
Calculators must not be used in this paper.

INFORMATION
●
The total mark for this paper is 75.
●
The number of marks for each question or part question is shown in brackets [ ].
●
No marks will be awarded for using brand names of software packages or hardware.

This document has 12 pages. Any blank pages are indicated.
DC (LK/CGW) 329375/5
© UCLES 2024

[Turn over

2
,

1



,

Real numbers are stored in a computer system using floating-point representation with:

•
•
•

10 bits for the mantissa
6 bits for the exponent
two’s complement form for both the mantissa and the exponent.

(a) Calculate the denary value of the given normalised floating-point number.

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0019655539702 *

1

0

0

1

1

1

1

0

0

0

0

1

0

0

1

Working

Answer
[3]
(b) Calculate the normalised floating-point representation of –102.75 in this system.
Show your working.
Mantissa

Exponent

Working

DO NOT WRITE IN THIS MARGIN

0

Exponent

DO NOT WRITE IN THIS MARGIN

Mantissa

DO NOT WRITE IN THIS MARGIN

Show your working.

[3]

© UCLES 2024

ĬÕú¾Ġ³íËóçù½Ė¹ĕ·Ğ×
ĬĚĜßÈĨÝÄÙāð÷²ÝòÌÖĂ
ĥĥĥĕõõąĕąĥµĕµÅÅĕĥÕ

9618/33/M/J/24

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com
3

,

2



,

The TCP / IP protocol suite has four layers:
Transport, Application, Link, Internet
(a) Complete the diagram to show the correct order for these layers.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

* 0019655539703 *

[2]
(b) Describe the function of the Transport layer.

DO NOT WRITE IN THIS MARGIN

[2]
(c) Outline one protocol that is associated with the Application layer.

DO NOT WRITE IN THIS MARGIN

[2]
3

(a) Explain what is meant by non-composite and composite data types.

DO NOT WRITE IN THIS MARGIN

[3]

© UCLES 2024

Ĭ×ú¾Ġ³íËóçù½Ė¹ė·Ğ×
ĬĚěàÀĢá´à÷ā²ĦÕæÌæĂ
ĥĥĕÕµĕĥõĕĕĥĕµååÕõÕ

9618/33/M/J/24

[Turn over



,

(b) Write pseudocode statements to declare the record data type FootballClub to hold data
about football clubs in a league, to include:

•
•
•
•
•
•

name of team
date team joined the league
main telephone number
name of the manager
number of members
current position in the league.

DO NOT WRITE IN THIS MARGIN

4
,

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0019655539704 *

[4]
4

(a) Describe the sequential method of file access.

DO NOT WRITE IN THIS MARGIN

[2]
(b) Explain how the sequential method of file access is applied to files with serial organisation
and to files with sequential organisation.

DO NOT WRITE IN THIS MARGIN

[3]
© UCLES 2024

ĬÕú¾Ġ³íËóçù½Ė»ĕ·Ġ×
ĬĚěÝÀĬÓµÛùĊ¹ÈùĈÜÎĂ
ĥÕÅÕõĕĥÕõµĕĕõåąÕĥÕ

9618/33/M/J/24

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

DO NOT WRITE IN THIS MARGIN

* 0019655539705 *

5
,

5



,

(a) Write this Reverse Polish Notation (RPN) in infix form:
5 2 + 9 3 - / 3 *

DO NOT WRITE IN THIS MARGIN

[3]
(b) Write this infix expression in RPN:
((7 + 3) - (2 * 8)) / 6

[2]
(c) Evaluate this RPN expression:
a b - c d + * e /
when
a = 17, b = 5, c = 7, d = 3 and e = 10
Show the changing contents of the stack as the RPN expression is evaluated.

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[4]

© UCLES 2024

Ĭ×ú¾Ġ³íËóçù½Ė»ė·Ġ×
ĬĚĜÞÈĞÏÅÞÿ÷ðĔāÔÜÞĂ
ĥÕµĕµõąµĥÅÅĕõÅĥĕõÕ

9618/33/M/J/24

[Turn over

www.dynamicpapers.com
DO NOT WRITE IN THIS MARGIN

* 0019655539706 *

6
,

,

The diagram shows a logic circuit.
Q

A

P

B

R

Z

DO NOT WRITE IN THIS MARGIN

6



S
C
(a) Complete the truth table for the given logic circuit.

Working space
A

B

C

0

0

0

0

0

1

0

1

0

0

1

1

1

0

0

1

0

1

1

1

0

1

1

1

P

Q

R

S

Z

[3]
(b) Write the Boolean expression that corresponds to the logic circuit as a sum-of-products.
Z =

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

Show your working.

[2]

© UCLES 2024

ĬÙú¾Ġ³íËóçù½Ėºė¶Ğ×
ĬĚěÞËĨ·¿æČĆąôù±ôÎĂ
ĥąĕĕµÕąĕååĥĕµÅÅÕåÕ

9618/33/M/J/24

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

DO NOT WRITE IN THIS MARGIN

* 0019655539807 *

7
,



(c) (i)

,

Complete the Karnaugh map (K-map) for the Boolean expression:
A.B.C + A.B.C + A.B.C + A.B.C + A.B.C + A.B.C
BC
A

00

01

11

10

0
DO NOT WRITE IN THIS MARGIN

1
[2]
(ii)

Draw loop(s) around appropriate group(s) in the K-map to produce an optimal
sum-of-products.
[2]

(iii)

Write the Boolean expression from your answer to part (c)(ii) as a simplified
sum-of-products.

DO NOT WRITE IN THIS MARGIN

[1]
7

(a) Describe what is meant by a digital certificate.

DO NOT WRITE IN THIS MARGIN

[3]
(b) Explain the role of a digital certificate in creating a digital signature.

DO NOT WRITE IN THIS MARGIN

[2]

© UCLES 2024

ĬÛù¿Ġ³íËóçù½Ė¹ė¶Ğ×
ĬĚěàÈīÈéÕĉú²Ë¹±ÄæĂ
ĥµµÕµõåõÅåÅĕõąÅĕĕÕ

9618/33/M/J/24

[Turn over

,

A declarative programming language is used to represent the features that are available and the
features that are unavailable on different body styles of a car.
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22

feature(sunroof).
feature(automatic_tailgate).
feature(heated_seats).
feature(extra_seats).
feature(reversing_camera).
feature(dashboard_camera).
feature(air_conditioning).
feature(heated_windscreen).
feature(satnav).
bodystyle(saloon).
bodystyle(hatchback).
bodystyle(estate).
bodystyle(minivan).
bodystyle(convertible).
available(sunroof, hatchback).
available(sunroof, minivan).
available(reversing_camera, hatchback).
available(extra_seats, minivan).
available(reversing_camera, saloon).
unavailable(sunroof, convertible).
unavailable(automatic_tailgate, saloon).
unavailable(extra_seats, hatchback).

These clauses have the meanings:
Clause

Meaning

01

Sunroof is a feature.

10

Saloon is a body style.

15

Sunroof is available on a hatchback.

20

Sunroof is unavailable on a convertible.

(a) Sliding doors is a feature that is available on a minivan but unavailable on a hatchback.
Write additional clauses to represent this information.
23
24

DO NOT WRITE IN THIS MARGIN



DO NOT WRITE IN THIS MARGIN

8



DO NOT WRITE IN THIS MARGIN

8
,

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0019655539808 *

© UCLES 2024

ĬÙù¿Ġ³íËóçù½Ė»ĕ¶Ġ×
ĬĚěÝÈġ¶àâćñ¹ĩĕēÔÎĂ
ĥąĥÕõõåÕåąµĕµąĥĕąÕ

9618/33/M/J/24

DO NOT WRITE IN THIS MARGIN

25
[3]

www.dynamicpapers.com

DO NOT WRITE IN THIS MARGIN

* 0019655539809 *

9
,





,

(b) Using the variable Options, the goal:
available(Options, saloon)
returns
Options = reversing_camera
Write the result returned by the goal:

DO NOT WRITE IN THIS MARGIN

available(Options, hatchback)
Options = [1]
(c) F may be available for B if F is a feature and B is a body style and F is not unavailable for that
body style.
Write this as a rule:
may_choose_option(F, B)

DO NOT WRITE IN THIS MARGIN

IF

[4]
9

Explain what is meant by Deep Learning in relation to Artificial Intelligence (AI).

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

[3]

© UCLES 2024

ĬÛù¿Ġ³íËóçù½Ė»ė¶Ġ×
ĬĚĜÞÀħºÐ×ñĀð­ĝÇÔÞĂ
ĥąĕĕµĕŵµõĥĕµĥąÕĕÕ

9618/33/M/J/24

[Turn over

10
,

10 (a) State a condition that must be true for an array to be searchable for a binary search.

[1]
(b) Complete the given pseudocode to find an item in a 1D array Names of type STRING using a
binary search.

DO NOT WRITE IN THIS MARGIN

DECLARE Names : ARRAY[1:100000] OF STRING
DECLARE TopOfList : INTEGER
DECLARE EndOfList : INTEGER
DECLARE CurrentItem : INTEGER
DECLARE ToFind : STRING
DECLARE Found : BOOLEAN
DECLARE NotInList : BOOLEAN
TopOfList
1
EndOfList
100000

←
←

OUTPUT "Which name do you wish to find? "
INPUT ToFind

NotInList

← FALSE

WHILE AND
CurrentItem
(TopOfList + EndOfList) DIV 2

←

IF THEN
Found
TRUE
ELSE
IF TopOfList >= EndOfList THEN

←

ELSE
EndOfList
CurrentItem – 1
ENDIF
ENDIF
ENDIF
ENDWHILE
IF Found = TRUE THEN
OUTPUT "Item found at position ", CurrentItem, " in array"
ELSE
OUTPUT "Item not in array"
ENDIF

DO NOT WRITE IN THIS MARGIN

ELSE
IF ToFind > Names[CurrentItem] THEN

←

© UCLES 2024

ĬÙù¿Ġ³íËóçù½Ėºĕ¸Ğ×
ĬĚĚÝ½ģ®ºàĀúēąė÷ĬæĂ
ĥÕąĕõõąÕąµµÕµåĥĕµÕ

9618/33/M/J/24

DO NOT WRITE IN THIS MARGIN



[5]

DO NOT WRITE IN THIS MARGIN

,

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0019655539810 *

www.dynamicpapers.com

DO NOT WRITE IN THIS MARGIN

* 0019655539811 *

11
,



,

(c) Describe the performance of a binary search in relation to the number of data items in the
array being searched. Refer to Big O notation in your answer.

DO NOT WRITE IN THIS MARGIN

[2]
11

Reduced Instruction Set Computers (RISC) and Complex Instruction Set Computers (CISC) are
two types of processor.
(a) State two features of RISC processors.

DO NOT WRITE IN THIS MARGIN

[2]
(b) Outline the process of interrupt handling as it could be applied to RISC or CISC processors.

DO NOT WRITE IN THIS MARGIN

[3]
(c) Explain how pipelining affects interrupt handling for RISC processors.

DO NOT WRITE IN THIS MARGIN

[3]

© UCLES 2024

ĬÛù¿Ġ³íËóçù½Ėºė¸Ğ×
ĬĚęÞÅĥ²ÊÙúćÖÑğãĬÖĂ
ĥÕõÕµĕĥµĕÅĥÕµÅąÕåÕ

9618/33/M/J/24

12
,



,

Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge
Local Examinations Syndicate (UCLES), which is a department of the University of Cambridge.

© UCLES 2024

ĬÙù¿Ġ³íËóçù½Ė¼ĕ¸Ġ×
ĬĚęßÅğÄ¿ÞøĀÍóÃāüÞĂ
ĥĥåÕõĕĥĕõĥĕÕõÅåÕµÕ

9618/33/M/J/24

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

BLANK PAGE

DO NOT WRITE IN THIS MARGIN

www.dynamicpapers.com

* 0019655539812 *

Advertisement