Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 6 MCQs Backtracking

ECAP538 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 General method Easy

    What is the main idea of backtracking?

  2. Question 2 of 60 General method Easy

    Which structure is commonly used to represent the choices explored by a backtracking algorithm?

  3. Question 3 of 60 General method Easy

    What does pruning mean in backtracking?

  4. Question 4 of 60 General method Easy

    Backtracking most commonly uses which search strategy?

  5. Question 5 of 60 General method Easy

    When does a backtracking algorithm undo its most recent choice?

  6. Question 6 of 60 The 8-queens problem Easy

    What is the goal of the 8-queens problem?

  7. Question 7 of 60 The 8-queens problem Easy

    Which board size is used in the standard 8-queens problem?

  8. Question 8 of 60 The 8-queens problem Easy

    In a valid 8-queens solution, how many queens may occupy the same row?

  9. Question 9 of 60 The 8-queens problem Easy

    Which three relationships must be checked to prevent two queens from attacking each other?

  10. Question 10 of 60 The 8-queens problem Easy

    What should a backtracking algorithm do after placing a queen causes a conflict?

  11. Question 11 of 60 Graph coloring Easy

    What is assigned to each vertex in the graph coloring problem?

  12. Question 12 of 60 Graph coloring Easy

    In a proper vertex coloring, adjacent vertices must have what property?

  13. Question 13 of 60 Graph coloring Easy

    What does the chromatic number of a graph represent?

  14. Question 14 of 60 Graph coloring Easy

    How many colors are sufficient to properly color a graph containing no edges?

  15. Question 15 of 60 Graph coloring Easy

    When should backtracking reject a color assigned to a vertex?

  16. Question 16 of 60 Hamiltonian cycles Easy

    What is a Hamiltonian cycle?

  17. Question 17 of 60 Hamiltonian cycles Easy

    What must happen at the end of a Hamiltonian cycle?

  18. Question 18 of 60 Hamiltonian cycles Easy

    How many times is each vertex visited in a Hamiltonian cycle, apart from repeating the start to close the cycle?

  19. Question 19 of 60 Hamiltonian cycles Easy

    When extending a partial Hamiltonian cycle, which vertex may be added next?

  20. Question 20 of 60 Hamiltonian cycles Easy

    What is the key difference between a Hamiltonian cycle and an Euler cycle?

  21. Question 21 of 60 General method Medium

    A backtracking algorithm has a maximum of candidates at each of decision levels. If no branches are pruned, what is its worst-case time complexity?

  22. Question 22 of 60 General method Medium

    Which sequence correctly describes how a typical backtracking algorithm processes a candidate?

  23. Question 23 of 60 General method Medium

    For a pruning rule to preserve the correctness of a backtracking algorithm, which condition must hold?

  24. Question 24 of 60 General method Medium

    A backtracking procedure currently stops when it finds its first valid solution. What change is needed to enumerate all valid solutions?

  25. Question 25 of 60 General method Medium

    A depth-first backtracking algorithm has maximum recursion depth . Ignoring stored output, what is its typical auxiliary space usage when each stack frame has constant size?

  26. Question 26 of 60 The 8-queens problem Medium

    In an 8-queens representation where is the column of the queen in row , when do queens in rows and attack each other?

  27. Question 27 of 60 The 8-queens problem Medium

    Queens have been placed in columns for rows . Which column is safe for the queen in row ?

  28. Question 28 of 60 The 8-queens problem Medium

    A backtracking formulation places exactly one queen in each row. Which conflicts must its promising function explicitly test?

  29. Question 29 of 60 The 8-queens problem Medium

    In the standard row-by-row state-space tree for 8-queens, what does a promising node at depth represent?

  30. Question 30 of 60 The 8-queens problem Medium

    If an 8-queens solution has its row- queen in column , where is that queen after reflecting the board across its vertical axis?

  31. Question 31 of 60 Graph coloring Medium

    What is the minimum number of colors required to properly color the cycle graph ?

  32. Question 32 of 60 Graph coloring Medium

    A backtracking algorithm attempts to color using three colors. What happens after three mutually adjacent vertices receive distinct colors?

  33. Question 33 of 60 Graph coloring Medium

    Vertices , , and form a triangle. If is red and is blue, which color can be assigned to in a proper coloring using red, blue, and green?

  34. Question 34 of 60 Graph coloring Medium

    Which vertex-ordering heuristic often reduces the search performed by a graph-coloring backtracking algorithm?

  35. Question 35 of 60 Graph coloring Medium

    For a graph with vertices and available colors, what is the maximum number of complete color assignments before constraint-based pruning?

  36. Question 36 of 60 Hamiltonian cycles Medium

    During a Hamiltonian-cycle search, which conditions make an unvisited vertex a valid next candidate on the current path?

  37. Question 37 of 60 Hamiltonian cycles Medium

    After a backtracking algorithm places all vertices in a candidate Hamiltonian path, what final condition must it verify?

  38. Question 38 of 60 Hamiltonian cycles Medium

    A connected graph with more than two vertices contains a vertex of degree . What can be concluded about Hamiltonian cycles in the graph?

  39. Question 39 of 60 Hamiltonian cycles Medium

    How many distinct undirected Hamiltonian cycles does the complete graph have when rotations and reversals are considered identical?

  40. Question 40 of 60 Hamiltonian cycles Medium

    Two triangles share exactly one common vertex and have no other connecting edges. Why does the resulting graph have no Hamiltonian cycle?

  41. Question 41 of 60 General method Hard

    A backtracking algorithm prunes a node whenever a predicate on the current partial state is false. Which property of is sufficient to guarantee that pruning preserves completeness?

  42. Question 42 of 60 General method Hard

    At depth , each surviving node generates at most children, and testing a node at depth costs . With no pruning, which expression is the tightest general upper bound on total testing cost through depth ?

  43. Question 43 of 60 General method Hard

    A constraint solver dynamically chooses the unassigned variable with the fewest legal values rather than using a fixed variable order. Under which condition does this preserve completeness?

  44. Question 44 of 60 General method Hard

    Two different partial assignments reach states with the same proposed memoization signature. When is merging those states sound for an optimization backtracking algorithm?

  45. Question 45 of 60 General method Hard

    In a minimization search seeking one optimal solution, an incumbent has value . A valid lower bound applies to every completion of state . Which pruning rule is sound?

  46. Question 46 of 60 The 8-queens problem Hard

    In a bit-mask solver, , , and mark columns and diagonals attacked in the current row, and . After choosing a one-bit position , which update correctly prepares the masks for the next row?

  47. Question 47 of 60 The 8-queens problem Hard

    The standard 8-queens problem has 92 solutions when board orientations are distinguished. How many fundamental solutions remain when rotations and reflections are considered equivalent?

  48. Question 48 of 60 The 8-queens problem Hard

    Queens have been legally placed in rows through at columns . Which set contains exactly the legal columns for the queen in row ?

  49. Question 49 of 60 The 8-queens problem Hard

    A solver restricts the first-row queen to columns through to break left-right reflection symmetry. What is the precise effect on the 92 oriented solutions?

  50. Question 50 of 60 The 8-queens problem Hard

    A generalized queens solver may choose any unassigned row next and applies the minimum-remaining-values heuristic. Which statement best characterizes this modification?

  51. Question 51 of 60 Graph coloring Hard

    Using the chromatic polynomial of a cycle, how many proper colorings of the labeled vertices of exist with three labeled colors?

  52. Question 52 of 60 Graph coloring Hard

    A graph is -degenerate, meaning every nonempty subgraph has a vertex of degree at most . Which procedure is guaranteed to construct a proper coloring using at most colors?

  53. Question 53 of 60 Graph coloring Hard

    For vertices ordered as , a coloring search enforces and . What symmetry does this restriction remove?

  54. Question 54 of 60 Graph coloring Hard

    During -coloring backtracking, each uncolored vertex has a residual list of permitted colors. For an uncolored clique , which condition is a sound reason to prune?

  55. Question 55 of 60 Graph coloring Hard

    An uncolored graph has vertices with saturation degrees and uncolored degrees , respectively. Under standard DSATUR selection with uncolored degree as the tie-breaker, which vertex is selected?

  56. Question 56 of 60 Hamiltonian cycles Hard

    A bipartite graph has parts and with and . Which conclusion about Hamiltonian cycles is valid regardless of its edge set?

  57. Question 57 of 60 Hamiltonian cycles Hard

    Let mean that a path starts at fixed vertex , visits exactly the vertices in , and ends at . Which recurrence supports a Hamiltonian-cycle algorithm?

  58. Question 58 of 60 Hamiltonian cycles Hard

    A Hamiltonian-cycle backtracking search has a partial path from start vertex to current endpoint , with unvisited set . Which condition is a sound pruning test?

  59. Question 59 of 60 Hamiltonian cycles Hard

    For a simple graph with vertices, which statement correctly applies Dirac's theorem?

  60. Question 60 of 60 Hamiltonian cycles Hard

    How many distinct undirected Hamiltonian cycles does the complete labeled graph contain when cycles differing only by starting vertex or traversal direction are identified?

That's unit 6

Answer a few questions and your score shows up here.