Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4.2 TrustPilot
logo-home
Examen

COS3751 EXAM PACK 2022

Vendu
49
Pages
166
Grade
A+
Publié le
09-12-2021
Écrit en
2022/2023

Recent exam questions and answers and summarized notes for exam preparation. for assistance. All the best on your exams!!

Établissement
Cours











Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
Cours

Infos sur le Document

Publié le
9 décembre 2021
Nombre de pages
166
Écrit en
2022/2023
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

COS3751

EXAM PACK

,UNIVERSITY EXAMINATIONS



June/July 2021

COS3751
Techniques of Artificial Intelligence

100 Marks


Duration 2 Hours

EXAMINERS:
FIRST: Prof I Sanders
SECOND: Prof E van der Poel
EXTERNAL: Prof P Machanick (Rhodes University)



This paper consists of 8 pages.

Instructions

1. You are expected to provide your own answers to the questions. Getting an-
swers from the Internet (or other sources) could result in disciplinary action.

2. You may type your answers in a word processor (and then print to PDF for
submission) or handwrite your answers (and then scan to PDF).

3. Answer all questions.

4. The mark for each question is given in brackets next to each question.

5. Read each question carefully before answering: always make sure you pro-
vide an answer to what is being asked.

6. Follow the instructions as sent to you by the university to submit your an-
swers.

7. Make sure you leave yourself enough time to upload your answers before
the end of the allowed time.

Remember to complete the Honesty Declaration when submitting your an-
swers. By submitting your answers you are confirming that this is your
own, unaided work.




[TURN PAGE]

, COS3751
2 May/June 2021



Question 1 State Spaces [18]

Block layout This question involves a problem-solving agent. The agent is being asked
to solve the problem of laying out seven identical blocks into a “C” shape where there are
three blocks on the left and two blocks in each of the top and bottom arms – as shown in
Figure 1.




Figure 1: The desired result of block layout as seen from above

(a) Explain why we call this agent a problem-solving agent. (1)
(b) Define a non-graphical (i.e. no pictures) state representation for the problem. Your
state representation should be such that a search algorithm will be able to start the
search at any given state. (2)
(c) Defend your choice by showing that the level of abstraction is sufficient.
(Hint: Your state representation should only encode the necessary information). (2)
(d) What is the initial state? (1)
(e) What is the goal state? (1)
(f) Define the appropriate actions for this problem.
Note that the agent should start by placing a block into the bottom left postion.
Then using the successor function
Result(a, S) 7→ S 0 ,
show how applying each action a to some state S results in some state S 0 . (4)
(g) Using the state representation you defined above, draw the state space for the block
layout problem. (7)




[TURN PAGE]

, COS3751
3 May/June 2021



Question 2 Searching [12]

(a) Consider the following graph:
S(10)
2

8 e(4)
3
5

d(5) 4
k(2)
c(4)
8 3
7
6
j(4) 5 m(1)

5 i(4)
h(9) 4 3 l(1) 1

3
G
Each node shows the ĥ value (estimate to the goal) in parentheses after the node
name. Each edge shows the ĝ value next to it.
Assume that an A∗ search is employed, that the start node is S, and the goal is G.
The first 2 steps (start node added to frontier, the expansion of that node, and the state
of the frontier) are shown in the table below. The node expanded column shows the
ĝ, ĥ, and fˆ values in parentheses after the node name, and the frontier shows the fˆ
value in parentheses after the front-most node in the path has been explored):
Step Node expanded Frontier
1 [< S(10) >]
2 S(0, 10, 10) [< e(6), S >, < d(8), S >, < c(12), S >]
3
4
5
6
7
Complete the table by showing the list of nodes in the order in which they are expanded
(not just explored) and the state of the open queue when the nodes are expanded.
(10)
(b) Explain briefly the difference between Uniform Cost Search and A∗ search. (2)




[TURN PAGE]
€2,62
Accéder à l'intégralité du document:
Acheté par 49 étudiants

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Reviews from verified buyers

Affichage de tous les 7 avis
2 année de cela

2 année de cela

1 année de cela

2 année de cela

3 année de cela

3 année de cela

3 année de cela

3,7

7 revues

5
2
4
1
3
4
2
0
1
0
Avis fiables sur Stuvia

Tous les avis sont réalisés par de vrais utilisateurs de Stuvia après des achats vérifiés.

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
EduPal University of South Africa (Unisa)
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
149181
Membre depuis
7 année
Nombre de followers
35996
Documents
4338
Dernière vente
2 heures de cela

4,2

13562 revues

5
7808
4
2689
3
1791
2
455
1
819

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions