Professional Documents
Culture Documents
Sl. Ma VTU
No
Question rks QP
Backtracking – General Method
1 What is backtracking. Give the general Procedure. 6
N-Queens problem
2 Give the problem statement of n-queens problem. Explain the solution for 4-queens problem 6/ Jul 14,
using state space tree. 8 16, Jan
15,16
Sum of subset problem
3 Explain backtracking concept and apply it solve subset sum problem for S = {6,5,3,7} and 6 Jan 17
d=15. Draw the state space tree.
4 Apply backtracking to solve the following instance of the subset-sum problem : S={1,3,4,5} 6
and d=11. Draw the state space tree.
Graph Coloring ( new topic in CBCS scheme)
5 Apply backtracking to solve the 3-cloring problem for the graph given below. 4
6 Apply backtracking based graph coloring algorithm for the graph given below with m=4. 6
Give state space tree showing first 3 valid assignments.
(a) (b)
Branch and Bound- Assignment Problem
9 What branch and bound method. How it is different from backtracking. 5
10 Apply branch and bound method for the following instance of assignment problem to find the 6/ Jul 16
optimal solution. Give the complete state space tree. 8/ Jan 16
10 Jan 15
Jul 14
Branch and Bound- Travelling Sales Person problem
11 Apply the branch-and-bound algorithm to solve the travelling sales man problemfor the 6
following graph. Consider start city is A. Give the statespace tree.
12 Apply the branch-and-bound algorithm to solve the travelling sales man problemfor the 8
following graph. Start city is a. Give the statespace tree.