Engineering Questions with Answers - Multiple Choice Questions

# Artificial Intelligence MCQ – Constraints Satisfaction Problems

1 - Question

_________________ are mathematical problems defined as a set of objects whose state must satisfy a number of constraints or limitations.
a) Constraints Satisfaction Problems
b) Uninformed Search Problems
c) Local Search Problems
d) All of the mentioned

Explanation: Refer definition of CSPs.

2 - Question

Which of the Following problems can be modeled as CSP?
a) 8-Puzzle problem
b) 8-Queen problem
c) Map coloring problem
d) All of the mentioned

Explanation: All of above problems involves constraints to be satisfied.

3 - Question

What among the following constitutes to the incremental formulation of CSP?
a) Path cost
b) Goal cost
c) Successor function
d) All of the mentioned

Explanation: Initial state: The empty assignment ( ), in which all variables are unassigned.
Successor function: A value can be assigned to any unassigned variable, provided it does not conflict with previously assigned variables.
Goal test: The current assignment is complete.
Path cost: A constant cost (e.g., 1) for every step.

4 - Question

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 search
b) Backtrack search
c) Hill algorithm
d) Reverse-Down-Hill search

Explanation: Refer definition of backtracking algorithm.

5 - Question

To overcome the need to backtrack in constraint satisfaction problem can be eliminated by ____________
a) Forward Searching
b) Constraint Propagation
c) Backtrack after a forward search
d) Omitting the constraints and focusing only on goals

Explanation: Forward Searching is technique in which a forward check till k steps is made to analyze that the goal can be achieved satiating all constraints. With constraint propagation, constraints on a variable can be propagated to next level/hierarchy and satisfied at that level, eliminating need to backtrack.

6 - Question

The BACKTRACKING-SEARCH algorithm in Figure 5.3 has a very simple policy for what to do when a branch of the search fails: back up to the preceding variable and try a different value for it. This is called chronological-backtracking. It is also possible to go all the way to set of variable that caused failure.
a) True
b) False

Explanation: Intelligent backtracking

7 - Question

Consider a problem of preparing a schedule for a class of student. What type of problem is this?
a) Search Problem
b) Backtrack Problem
c) CSP
d) Planning Problem

Explanation: Schedule developer needs to consider all constraints on teacher as well as students.

8 - Question

Constraint satisfaction problems on finite domains are typically solved using a form of ___________
a) Search Algorithms
b) Heuristic Search Algorithms
c) Greedy Search Algorithms
d) All of the mentioned

Explanation: Any Search techniques can be used

9 - Question

Solving a constraint satisfaction problem on a finite domain is an/a ___________ problem with respect to the domain size.
a) P complete
b) NP complete
c) NP hard
d) Domain dependent

Explanation: None.

10 - Question

___________ is/are useful when the original formulation of a problem is altered in some way, typically because the set of constraints to consider evolves because of the environment.
a) Static CSPs
b) Dynamic CSPs
c) Flexible CSPs
d) None of the mentioned

Explanation: Refer to the definition of Dynamic CSPs algorithm.

11 - Question

Flexible CSPs relax on _______
a) Constraints
b) Current State
c) Initial State
d) Goal State

Explanation: Definition of flexible CSPs.

12 - Question

Language/Languages used for programming Constraint Programming includes ____________
a) Prolog
b) C#
c) C
d) Fortrun

Explanation: None.

13 - Question

Backtracking is based on ____________
a) Last in first out
b) First in first out
c) Recursion
d) Both Last in first out & Recursion

Explanation: Recursion uses LIFO.

14 - Question

Constraint Propagation technique actually modifies the CSP problem.
a) True
b) False

Explanation: Constraints are propagated towards goal node, modifying the actual problem.

15 - Question

When do we call the states are safely explored?
a) A goal state is unreachable from any state
b) A goal state is denied access
c) A goal state is reachable from every state
d) None of the mentioned

Explanation: None.

16 - Question

Which of the following algorithm is generally used CSP search algorithm?