Professional Documents
Culture Documents
3. Which of the following algorithms can be used for map coloring problems?
a) Genetic algorithms
b) Ant colony optimization
c) Simulated annealing
d) All the mentioned
5. Which of the following heuristics choose variable with the fewest legal moves in a constraint satisfaction
problem?
a) Minimum remaining values
b) Most constraint variables
c) Least constraining value
Page 1 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
d) Forward checking
6. Which of the following heuristics choose the variable with the most constraints on remaining variables?
a) Minimum remaining values
b) Most constraint variables
c) Least constraining value
d) Forward checking
7. The term ___________ is used for a depth-first search that chooses values for one variable at a time and returns
when a variable has no legal values left to assign.
a) Forward checking
b) Backtrack search
c) Depth search
d) Breadth search
8. To overcome the need to backtrack in constraint satisfaction problem can be eliminated by ____________
a) Forward checking
b) Constraint Propagation
c) Backtrack after a forward search
d) Omitting the constraints and focusing only on goals
9. Consider a problem of preparing a schedule for a class of student. What type of problem is this?
a) Depth first search Problem
b) Backtrack Problem
c) Constraints Satisfaction Problem
d) Breadth first search Problem
10. Which of the following algorithm is generally used in CSP search problems?
a) Breadth-first search algorithm
b) Depth-first search algorithm
c) Uniform cost search algorithm
Page 2 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
11. Forward chaining systems are ______ while backward chaining systems are _______
a) Goal-driven, goal-driven
b) Goal-driven, data-driven
c) Data-driven, goal-drive
d) Data-driven, data-driven
b) Inference
c) Conjunction
d) First-order definite clauses
14. Which algorithm will work backward from the goal to solve a problem?
a) Forward chaining
b) Backward chaining
c) Depth chaining
d) None of the mentioned
Page 3 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
17. Which of the following is a measure for the performance of a search algorithm?
a) Completeness
b) Optimality
c) Time and Space complexity
d) All of the mentioned
Page 4 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
21. Which search algorithm imposes a fixed depth limit on nodes to be complete?
a) Depth-limited search
b) Depth-first search
c) Iterative deepening search
d) Bidirectional search
22. Which search implements stack operation for searching the states?
a) Depth-first search
b) Breadth-first search
c) All the mentioned
d) None of the mentioned
25. Which data structure conveniently used to implement BFS (Breadth first search)?
a) Stacks
b) Queues
c) Priority Queues
d) All of the mentioned
Page 5 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
28. Depth-first search always expands the ______ node in the current fringe of the search tree.
a) Shallowest
b) Child node
c) Deepest
d) Minimum cost
29. Breadth-first search always expands the ______ node in the current fringe of the search tree.
a) Shallowest
b) Child node
c) Deepest
d) Minimum cost
Page 6 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
33. Which search uses the problem specific knowledge beyond the definition of the problem?
a) Informed search
b) Depth-first search
c) Breadth-first search
d) Uninformed search
Page 7 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
37. Which search method will expand the node that is closest to the goal?
a) Best-first search
b) Greedy best-first search
c) A* search
d) None of the mentioned
39. The search strategy the uses a problem specific knowledge is known as ___________
a) Informed Search
b) Best First Search
c) Heuristic Search
d) All of the mentioned
40. Best-First search is a type of informed search, which uses ________________ to choose the best next node for
expansion.
a) Evaluation function returning lowest evaluation
b) Evaluation function returning highest evaluation
c) Evaluation function returning lowest & highest evaluation
d) None of them is applicable
Page 8 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
44. A game can be formally defined as a kind of search problem with the following components.
a) states and Initial State
b) Successor Function and Terminal Test
c) Utility Function
d) All the mentioned
45. General algorithm applied on game tree for making decision of win/lose is ____________
a) DFS/BFS Search Algorithms
b) Heuristic Search Algorithms
c) Greedy Search Algorithms
d) MIN/MAX Algorithms
46. Which search is equal to minimax search but eliminates the branches that can’t influence the final decision?
a) Depth-first search
b) Breadth-first search
Page 9 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
c) Alpha-beta pruning
d) None of the mentioned
48. Which value is assigned to alpha and beta in the alpha-beta pruning?
a) Alpha = max
b) Beta = min
c) Beta = max
d) Both Alpha = max & Beta = min
50. In some problems the path to the goal is not important, this class of problems can be answered using which of
the following Techniques?
a) Informed Search
b) Uninformed Search
d) Local Search
d) Constraint Satisfaction Problem
51. A loop that constantly moves in the direction of growing value that is uphill, ....... is an algorithm.
a) Up-Hill Search
b) Hill-Climbing
c) Simulated annealing
d) Tabu Search
Page 10 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
53. Which of the following are the main disadvantages of a hill-climbing search?
a) Stops at local optimum and cannot find the optimum solution
b) Stops at global optimum and cannot find a solution
c) Cannot find the local optimum solution
d) Fail to find a guaranteed solution
54. Which of the following is the main advantage of the local search algorithms?
a) A big memory required
b) Less time required
c) Must search a solution in a big infinite space
d) Less memory and search a solution in a big infinite space
55. A _________ is a decision support tool that uses a tree-like graph or model of decisions and their possible
consequences, including chance event outcomes, resource costs, and utility.
a) Decision tree
b) Local search
c) Heuristics Search
d) Ant colony optimization
56. In decision tree, the _______is the measure of uncertainty of a random variable, it characterizes the impurity of
an arbitrary collection of examples.
a) Information Gain
b) Gini Index
c) Entropy
d) none of these
Page 11 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
57. Which subdomain of AI teaches how to make a decision and make an interface based on previous experience?
a) Heuristic search
b) Uninformed search
c) Machine learning
d) All the mentioned
58. ...... learning model is able to identify hidden patterns from the training data.
a) Supervised
b) Unsupervised
c) Reinforcement
d) All the mentioned
59. ...... learning model must provide labeled data to train the model.
a) Supervised
b) Unsupervised
c) Reinforcement
d) All the mentioned
60. ...... learning model learns on the basis of the reward/punishment received from the last action.
a) Supervised
b) Unsupervised
c) Reinforcement
d) All the mentioned
Choose (A) for the true statement and (B) for the false statement.
1. A solution to a problem is a path from the initial state to a goal state. Solution quality is measured by the path cost
function, and an optimal solution has the lowest path cost among all solutions. ُTrue
2. Breadth-first search is not optimal when all step costs are equal. False
Page 12 of 13
Artificial Intelligence
Second Semester 2022-2023
Prof. Dr.Mohamed K. Heussein
3. The main idea of Bidirectional search is to reduce the time complexity by searching two way simultaneously
from start node and another from goal node. ُTrue
4. Uninformed search strategies are better than informed search strategies. False
5. A* is optimal if h(n) is an admissible heuristic-that is, provided that h(n) never overestimates the cost to reach
the goal.ُTrue
6. Breadth first search is not optimal in case actions have different cost.ُTrue
10. The Depth first search can be implemented using queue. False
11. Alpha-beta pruning can alter the computed minimax value of the root of a game search tree. False
12. There are primarily two modes for an inference engine: forward chaining and backward chaining.
true غالبًا الدكتور هيقول ملغيه برضو بس هي
13. A complete, local search algorithm forever finds target if one exists, an optimal algorithm forever finds a
global minimum/maximum. ُTrue
14. Simulated annealing is more likely to accept a bad move late in the search than earlier. False
16. The main idea of Bidirectional search is to reduce the time complexity by searching two way simultaneously
from start node and another from goal node. ُTrue
18. Informed search strategies are better than uninformed search strategies. ُTrue
Page 13 of 13