Artificial Intelligence – A Level Computer Science (9618)
10 questions · Clear filters
Question text
7
(a) Identify one Artificial Intelligence (AI) algorithm to find the shortest distance between two
points on a graph.
…
… [1]
(b) Describe Deep Learning.
…
…
…
…
…
…
…
…
…
… [5]
ĬÛú¾Ġ´íÈõÏĪÅĊßùµþ×
Question text
9
(a) Deep Learning is a form of Machine Learning.
(i)
State one example where Deep Learning is used.
…
… [1]
(ii)
Identify how Deep Learning can be made more effective.
…
… [1]
(b) Describe the back propagation of errors method in Machine Learning.
…
…
…
…
…
…
…
… [4]
Question text
11
The table shows assembly language instructions for a processor that has one register, the
Accumulator (ACC).
Instruction
Label
Opcode
Operand
Explanation
LDM #n
Load the number n to the ACC
Load the contents of the location at the given
LDD <address>
address to ACC
The address to be used is at the given address.
LDI <address>
Load the contents of this second address to
the ACC.
Add the contents of the given address to the
ADD <address>
ACC
Subtract the contents of the given address
SUB <address>
from the ACC
Store the contents of the ACC at the given
STO <address>
address
Gives a symbolic address <label> to the
<label>:
<data>
memory location with the contents <data>
# denotes a denary number, e.g. #123
<label> can be used in place of <address>
The current contents of memory are:
Address
Contents
26
150
86
300
150
420
ĬÑĊ®Ġ´íÈõÏĪÅĊÞû·þ×
,
,
Write assembly language code, using only the given instruction set to:
•
store the contents of location 300 as labelled variable A
•
store the contents of location 420 as labelled variable B
•
add the value stored in the address contained in variable B to the value contained in
variable A
•
store the result in variable Answer.
Show the initialisation and values of the variables A, B and Answer in the table provided.
…
…
…
…
…
…
…
…
Label
Content
[7]
ĬÓĊ®Ġ´íÈõÏĪÅĊÞù·þ×
Question text
8
Calculate the shortest distance between the Start node and each of the nodes in the graph using
Dijkstra’s algorithm.
Show your working on the graph or in the working space. Write your answers in the table provided.
V
4
9
T
X
3
5
W
3
6
10
Y
22
8
Start
Z
Working …
…
…
…
…
…
Answers:
T
V
W
X
Y
Z
[5]
ĬÛú¾Ġ´íÈõÏĪÅĊÞû¶þ×
Question text
13 The table shows assembly language instructions for a processor that has one register, the
Accumulator (ACC).
Instruction
Label
Opcode
Operand
Explanation
LDM #n
Load the number n to the ACC
Load the contents of the location at the given
LDD <address>
address to the ACC
The address to be used is at the given address.
LDI <address>
Load the contents of this second address to
the ACC
Add the contents of the given address to the
ADD <address>
ACC
ADD #n
Add the number n to the ACC
Subtract the contents of the given address
SUB <address>
from the ACC
SUB #n
Subtract the number n from the ACC
Store the contents of the ACC at the given
STO <address>
address
Gives a symbolic address <label> to the
<label>:
<data>
memory location with the contents <data>
# denotes a denary number, e.g. #123
<label> can be used in place of <address>
The current contents of memory are:
Address
Contents
125
563
63
899
ĬÙú¾Ġ´íÈõÏĪÅĊÝù¸þ×
,
,
Write assembly language code, using only the given instruction set to:
•
store the denary value 250 as labelled variable X
•
store the value stored in location 563 as labelled variable Y
•
add the value stored in variable X to the value stored in variable Y
•
subtract the value stored in location 899 from the current value in the Accumulator
•
store the result in variable Total.
Show the initialisation and values of the variables X, Y and Total in the table provided.
…
…
…
…
…
…
…
…
Label
Content
[7]
ĬÛú¾Ġ´íÈõÏĪÅĊÝû¸þ×
,
,
Permission to reproduce items where third‑party owned material protected by copyright is included has been sought and cleared where possible. Every
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
ĬÙú¾Ġ´íÈõÏĪÅĊßù¸Ā×
Question text
12 Artificial neural networks have played a significant role in the development of machine learning.
Explain what is meant by the term artificial neural network.
…
…
…
…
…
…
…
… [4]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
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
Question text
8
Calculate the shortest distance between the Start and each of the destinations in the diagram
using Dijkstra’s algorithm.
Show your working and write your answers in the table provided.
4
8
A
B
C
2
3
8
9
D
2
E
7
10
Start
F
Working …
…
…
…
…
…
Answers:
A
B
C
D
E
F
[5]
Question text
9
Deep learning is used in Artificial Intelligence (AI).
(a) Describe what is meant by deep learning.
…
…
…
… [2]
(b) Outline the reasons for using deep learning.
…
…
…
… [2]
Question text
7
Supervised and unsupervised learning are two categories of machine learning.
Describe supervised learning and unsupervised learning.
Supervised learning …
…
…
…
Unsupervised learning …
…
…
…
[4]
Question text
9
(a) The diagram shown represents an artificial neural network.
Output
Layer
Input
Layer
Hidden
Hidden
Hidden
Layer 1
Layer 3
Layer 2
(i)
State the reason for having multiple hidden layers in an artificial neural network.
…
… [1]
(ii)
Explain how artificial neural networks enable machine learning.
…
…
…
…
…
…
…
…
…
… [4]
(b) Find the shortest path between the Home and School nodes using the A* algorithm.
Show your working in the table provided.
The first two rows in the table have been completed.
14
Home
9
h = 10
4
g = 1
5
A
C
3
7
B
6
2
6
D
6
3
7
F
1
2
3
E
3
5
School
Node
Cost from Home node (g)
Heuristic (h)
Total (f = g + h)
Home
0
14
14
A
1
10
11
Final path
[5]