The quiz as it appeared on the paper (Section 3, 100 marks). Q1 is a written answer marked by the instructor; Q2 is checked automatically.
{Red, Blue, Green} to each region of the map below, so that no two regions sharing a border have the same colour.
Figure (a) shows the uncoloured map with five regions A, B, C, D, E; Figure (b) shows one valid 3-colouring.
Specify the five components: State Space, Initial State, Actions / Transition Model, Goal Test, and Path Cost.
Adjacency (shared border): A–B, A–C, B–D, B–E, C–D, D–E. The pairs A–D and B–C touch only at a corner, so they are not adjacent.
Edges (undirected): S–A 2, S–B 5, A–C 3, A–D 1, C–G 5, D–G 4, B–E 2, E–G 1.
S. Draw it on paper, then type each branch of your tree from the root to a leaf, one branch per line, leftmost branch first.S, A, X and S, B, Y.Questions from a previous COMP338 midterm on the same material: problem formulation and uninformed search.
Edges (directed): 0→1 5, 0→2 7, 1→3 1, 2→1 3, 2→4 5, 2→6 4, 3→4 1, 4→5 4, 4→6 5, 5→7 1, 6→5 2, 6→7 2.
The original question also asked for A* and Greedy Best-First Search, using a table of heuristic values. Those two belong to informed search and are left for the next tutorial.
Submitting as ….
Checking marks each search answer as right or wrong, all or nothing. The instructor reads your working and your written answers separately and can give partial credit.