AI310 & CS361 AI (Mainstream) Midterm Exam (Fall 2023) ANSWER KEY
AI310 & CS361 AI (Mainstream) Midterm Exam (Fall 2023) ANSWER KEY
AI310 & CS361 AI (Mainstream) Midterm Exam (Fall 2023) ANSWER KEY
Artificial Intelligence (CS-361 | AI-301) Midterm Exam Thur. Nov. 16th, 2023
Time Allowed: 30 Minutes – Num. of Pages: 2 Pages (1 Sheet) – Marks: 15
Q.1 Choose the correct answer: [ 17 QUESTIONS – 17 MARKS – INCLUDING 2 BONUS MARKS ]
1) In the context of self-driving cars, an AI approach that is concerned with making the vehicle's actions
and decisions closely like those of a human driver is an example of _______, while an AI-powered
recommendation system that suggests movies for you to watch based on your preferences and viewing
history is an example of _______. (a) Acting Humanly / Acting Rationally (b) Acting Rationally / Acting
Humanly (c) Thinking Humanly / Thinking Rationally (d) Both are examples of Acting Humanly (e) Both are
examples of Acting Rationally
2) In a medical diagnosis system that learns from a database of patient records to predict diseases, the
concept that is primarily used is _______, while in a store, the system that identifies patterns in sales data
to optimize inventory and product placement is primarily applying _______. (a) Data Mining / Machine
Learning (b) Machine Learning / Data Mining
3) In a weather forecasting system that processes vast amounts of unstructured climate data for
predictions, the concept that is primarily used for handling this large dataset is _______. (a) Artificial
Intelligence (b) Data Mining (c) Big Data (d) Deep Learning (e) None of the above.
4) In a robot designed to clean your house, which component of PEAS represents the robot's cleaning
brushes? (a) Performance Measure (b) Environment (c) Sensors (d) Actuators
5) Which agent type are the following: (i) An energy-saving system for a smart home electricity
consumption while maintaining comfort levels – considering that the unsuccessful reduction is annoying
the residents. (ii) A language translation app aiming to provide accurate translations. (a) Cost-based /
Goal-based (b) Goal-based / Cost-based (c) Both are Goal-based (d) Both are Cost-based
6) Match the following AI concepts with their real-world characteristics and/or applications:
a. The Turing Test 1. AI systems with human-like understanding and feeling and general problem-
b. The Chinese solving abilities.
2. AI systems for specific tasks like virtual assistants or recommendation systems,
Room Argument
without human-like consciousness.
c. Weak AI
3. Challenging the idea that “computer manipulation equals true understanding”.
d. Strong AI 4. Assessing if a computer can mimic human conversation.
(a) 1 2 3 4 (b) 2 1 3 4 (c) 3 2 1 4 (d) 1 2 4 3 (e) 4 3 2 1
8) In a facial recognition AI system for security, which metric should be minimized to prevent unauthorized
access? (a) True Positives. (b) True Negatives. (c) False Positives. (d) False Negatives. (e) All of the above.
Page 1 of 2
Helwan University | Faculty of Computers & Artificial Intelligence | Mainstream Prog.
Artificial Intelligence (CS-361 | AI-301) Midterm Exam Thur. Nov. 16th, 2023
Time Allowed: 30 Minutes – Num. of Pages: 2 Pages (1 Sheet) – Marks: 15
9) Match the following machine learning techniques with their real-world applications:
11) If you decided to use the Backtracking search algorithm to find a solution
for the given Sudoku puzzles, which of the two given states (puzzles) is likely
to require more time from the algorithm to solve? (a) Top. (b) Bottom.
(c) Both are likely to require a similar time to solve.
12) Using the heuristic h(N) “selecting the cell with the fewest possible
candidate values (i.e., the smallest domain) to fill first”, may reduce the
branching factor in the search space. (a) True. (e) False.
13) Which of the following search algorithms make use of this advice: "When
solving a Sudoku puzzle, filling first the cells that are part of a unit with fewer
filled cells is more likely to lead to a valid solution." (a) Backtracking.
(b) Bidirectional. (c) Minimax. (d) Depth-First. (e) Best-First.
15) If the bottom state is the configuration (puzzle) given by the user to the
AI-agent to solve, what is its g(N): (a) 36 (b) 29 (c) 0 (d) 81 (e) 52
16) Which search algorithm will most likely get stuck in a local optimum when
solving Sudoku? (a) Breadth-First. (b) Depth-First. (c) Best-First. (d) Hill
Climbing. (e) Depth-First with Iterative Deepening.
17) An Intelligent Sudoku Solver’s environment is: (a) Episodic. (b) Strategic. (c) Stochastic. (d) Multi-
Agent. (e) Discrete.
Page 2 of 2