Chapter 18 SB Answers
Chapter 18 SB Answers
Chapter 18 SB Answers
Chapter 18 answers
What you should already know
1 Artificial Intelligence
is a machine which carries out a task that requires some degree of ‘human’ intelligence
duplicates human tasks requiring decision-making and problem-solving skills.
2 AI pros and cons
technologies such as autonomous vehicles
artificial limb technology helping the disabled
improvements in medical areas
job losses in many areas
dependence by humans on the technology
loss of skills since taken over by AI.
3 Examples of the use of AI
robotics
predictions such as climate change
performing delicate operations
bespoke cancer treatments
drones in bomb disposal, welding, nuclear incidents, and so on.
Activity 18A
Shortest route: A B C F I
Activity 18B
1 ‘A’ has two nodes ‘B’ and ‘F’
F(B) = 6 + 8 = 14, F(F) = 3 + 6 = 9
since F(F) < F(B) then ‘F’ is the next start node
Path: A → F
‘F’ has two nodes ‘G’ and ‘H’
F(G) = ((3 + 1) + 5) = 9, F(H) = ((3 + 7) + 3) = 13
since F(G) < F(H) then ‘G’ is the next start node
Path: A → F → G
‘G’ has one node, ‘I’
so F(I) = 7 + 1 = 8
Path: A → F → G → I
‘I’ has three nodes ‘E’, ‘H’ and ‘J’
F(E) = ((3 + 1 + 3 + 5) + 3) = 15
F(H) = ((3 + 1 + 3 + 2) + 3) = 12
F(J) = ((3 + 1 + 3 + 3) + 0) = 10
F(J) has the smallest value …
3 a)
b) shortest route: E B C D G
4 a) i)
Activity 18C
1 a) Narrow AI – machine which is superior to a human when doing a specific task.
General AI – machine which is similar in performance to a human in any intellectual task.
Strong AI – machine which is superior to a human in many tasks.
b) Reward and punishment
The machine learns from good results and bad results to help improve the
performance/produce optimal outcomes.
For example, search engines:
The number of hits shown on the first page (matching search criteria) is very high
indicates a good result.
If user needs to look at page 2, page 3, … then this is seen as a bad result and the search
engine would need to learn from these two outcomes to improve future performance.
c) Artificial neural networks:
Are artificial networks based on the biology of the human brain in its inter-connections
between neurons.
Makes use of input, output and hidden layers.
Has hidden layers are where the inputs are processed to produce output(s).
For example, the following diagram shows an artificial neural network (with two hidden
layers):
2 a) i) Supervised learning
are systems able to predict future outcomes based on past data.
uses labelled data
uses both inputs and outputs to train the model.
ii) Unsupervised learning
are systems able to identify hidden patterns based on input data provided
systems are not trained on ‘right’ answers.
iii) Reinforcement learning
are systems given no training …
… but learns on the basis of ‘reward and punishment’ when performing an action to
determine which action yields optimal outcomes.
Cambridge International AS & A Level Computer Science 4
© Helen Williams and David Watson 2020
Cambridge International AS & A Level Computer Science Answers
b)
2 a) i) Reinforcement learning
given no training
learns using ‘reward and punishment’
uses optimisation techniques.
ii) Supervised learning
requires both input and output so model can be trained
once trained, uses labelled data and results compared to what they should be
uses regression and classification analysis.
b) i) Chat bots
interact through instant messaging, artificially replicating patterns of human interaction
uses machine learning.
ii) Search engines
measures success of search based on whether website/web page comes up as first page of
search
if not on first page, this is seen as a failure and system adapts to improve the search
process.
b) i)
ii) Route: C A S H N Q
5
a) ii) route: A B F G K L
b) A → D = 30 min}
D → H = 12 min} total = 62 mins
H → L = 20 min}
A → I = 20 min }
I → J = 14 min } total = 69 mins
J → K = 20 min }
K → L = 15 min}