chapter

    Minimum Spanning Trees and Shortest Paths Pyqs for Gate Cs

    Solve 10+ Minimum Spanning Trees and Shortest Paths previous year questions for GATE CS with answers and detailed solutions. Free sample questions below.

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    2026 Slot Set2 PYQ
    Level 3: Exam Standard

    Let be a weighted directed acyclic graph with edges and vertices. Given and a source vertex in , which one of the following options gives the worst case time complexity of the fastest algorithm to find the lengths of shortest paths from to all vertices that are reachable from in ?

    Question 2
    2026 Slot Set1 PYQ
    Level 3: Exam Standard
    Let be a simple, undirected, edge-weighted graph with unique edge weights.

    Which of the following statements about the minimum spanning trees (MST) of is/are true?
    Question 3
    2026 Slot Set1 PYQ
    Level 3: Exam Standard
    Let be an undirected, edge-weighted graph with integer weights. The weight of a path is the sum of the weights of the edges in that path. The length of a path is the number of edges in that path.

    Let be a vertex in . For every and for every , let denote the weight of a shortest path (in terms of weight) from to of length at most . If there is no path from to of length at most , then .

    Consider the statements:

    S1: For every and , .

    S2: For every , if is part of a shortest path (in terms of weight) from to , then for every , .

    Which one of the following options is correct?
    Question 4
    2025 Slot Set2 PYQ
    Level 3: Exam Standard
    Let be an edge-weighted undirected graph with positive edge weights. Suppose a positive constant is added to the weight of every edge.

    Which ONE of the following statements is TRUE about the minimum spanning trees (MSTs) and shortest paths (SPs) in before and after the edge weight update?
    Question 5
    2025 Slot Set1 PYQ
    Level 3: Exam Standard

    Let be any undirected graph with positive edge weights, and be a minimum spanning tree of . For any two vertices, and , let and be the shortest distances between and in and , respectively. Which ONE of the options is CORRECT for all possible , , and ?

    Question 6
    2025 Slot Set1 PYQ
    Level 3: Exam Standard
    The maximum value of such that the edge between the nodes B and C is included in every minimum spanning tree of the given graph is ________ . (answer in integer)

    ABDC768x31
    Question 7
    2024 Slot Set2 PYQ
    Level 3: Exam Standard
    The number of distinct minimum-weight spanning trees of the following graph is __________

    abfgced121332222211
    Question 8
    2022 PYQ
    Level 3: Exam Standard

    Consider a simple undirected weighted graph , all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of is/are TRUE?

    Question 9
    2021 Slot Set2 PYQ
    Level 3: Exam Standard
    Let be a connected undirected weighted graph. Consider the following two statements.

    There exists a minimum weight edge in which is present in every minimum spanning tree of .
    If every edge in has distinct weight, then has a unique minimum spanning tree.

    Which one of the following options is correct?
    Question 10
    2021 Slot Set1 PYQ
    Level 3: Exam Standard
    Consider the following undirected graph with edge weights as shown:

    0.1 0.1 0.1 0.9 0.9 0.1 0.9 0.1 0.9 0.1 0.9 0.1

    The number of minimum-weight spanning trees of the graph is __________.
    Free preview ends here

    Login to view the complete previous-year questions and solutions

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Explore complete test series, official past papers, and chapter-wise study tools.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Minimum Spanning Trees and Shortest Paths PYQs for GATE CS

    Solve 10+ Minimum Spanning Trees and Shortest Paths previous year questions for GATE CS with answers and detailed solutions. Free sample questions below.

    Chapter Journey: Minimum Spanning Trees and Shortest Paths

    Chapter Roadmap

    Your journey through graph optimization algorithms.

    1
    MST Cut-Cycle Properties and Uniqueness

    The theoretical foundation. (You are here)

    2
    MST Construction and Counting

    Kruskal's, Prim's, and counting distinct trees.

    3
    Shortest-Path Properties and Algorithms

    Dijkstra, Bellman-Ford, and path relaxations.

    4
    Effects of Edge-Weight Transformations

    Adding constants, scaling, and structural impacts.

    MST Cut-Cycle Properties and Uniqueness

    Algorithms › Minimum Spanning Trees

    Cut-Cycle Properties & Uniqueness

    The theoretical engine behind every MST algorithm.

    What you will master:
    • Defining cuts and cycles in graph theory.
    • The Cut Property: identifying "safe" edges.
    • The Cycle Property: identifying "unsafe" edges.
    • Conditions that guarantee a unique Minimum Spanning Tree.

    Minimum Spanning Trees and Shortest Paths: Solved Questions with Step-by-Step Explanations (10 Problems)

    Question 1 · Algorithms · 2026_Set2 MCQ

    Let be a weighted directed acyclic graph with edges and vertices. Given and a source vertex in , which one of the following options gives the worst case time complexity of the fastest algorithm to find the lengths of shortest paths from to all vertices that are reachable from in ?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: Shortest paths in a Directed Acyclic Graph (DAG) can be found in linear time using topological sorting, bypassing the need for priority queues or multiple passes.

    Exam route: Recognize the graph is a DAG. Recall that topological sort + single-pass relaxation takes time, which is . Select A.

    Learning route:

    Step 1: Recognize the graph type. The problem explicitly states the graph is a weighted Directed Acyclic Graph (DAG). This is the crucial condition that allows a faster algorithm than Dijkstra's or Bellman-Ford.

    Step 2: Perform a topological sort of the vertices. This linearizes the graph such that all directed edges go from left to right. This step takes time using DFS or Kahn's algorithm.

    Step 3: Initialize the distance to the source vertex as 0, and all other vertices as .

    Step 4: Process each vertex in topological order. For each outgoing edge with weight , relax the edge: if , update .

    Step 5: Because we process vertices in topological order, by the time we reach any vertex , all possible paths leading into have already been fully relaxed. Thus, each vertex and each edge is processed exactly once. The relaxation step takes time.

    Step 6: Total time complexity is .

    Tempting wrong path: Defaulting to Dijkstra's algorithm () or Bellman-Ford () because they are more commonly memorized. This fails to leverage the DAG property, which guarantees no back-edges and allows a single linear pass.

    Verification: Topological sort visits each vertex and edge once. Relaxation visits each vertex and edge once. Total operations are proportional to , confirming .

    Question 2 · Algorithms · 2026_Set1 MSQ
    Let be a simple, undirected, edge-weighted graph with unique edge weights.

    Which of the following statements about the minimum spanning trees (MST) of is/are true?
    1. A.

      In every cycle of , the edge with the largest weight in is not in any MST

    2. B.

      In every cycle of , the edge with the smallest weight in is in every MST

    3. C.

      For every vertex , the edge with the largest weight incident on is not in any MST

    4. D.

      For every vertex , the edge with the smallest weight incident on is in every MST

    Correct Answer:

    ["A","D"]

    Step-by-Step Solution

    Insight: Option A is the Cycle Property (heaviest edge in a cycle is never in any MST). Option D is the Cut Property applied to the cut ({v}, V \ {v}), making the lightest incident edge mandatory for every MST.

    Exam route:

    • Option A: True. By the Cycle Property, the strictly heaviest edge in any cycle cannot be in any MST.
    • Option B: False. The lightest edge in a cycle might not be the lightest edge crossing the cut that separates its endpoints, so it can be excluded.
    • Option C: False. The heaviest edge incident to a vertex might be a bridge (e.g., in a star graph), making it mandatory for connectivity.
    • Option D: True. For any vertex v, consider the cut ({v}, V \ {v}). The lightest edge incident to v is the unique lightest edge crossing this cut, so it must be in every MST.

    Learning route:

    1. Cycle Property: In any cycle, the maximum weight edge is never part of any MST. Since weights are unique, this edge is strictly the heaviest, making Option A true.
    2. Cut Property: For any cut, the minimum weight edge crossing it is in every MST. For a specific vertex v, the cut ({v}, V \ {v}) is crossed exactly by the edges incident to v. The lightest such edge is the unique minimum for this cut, making Option D true.
    3. Counterexample for B: A triangle with weights 10, 20, 30, plus a parallel path of weight 1 and 2 connecting the endpoints of the 10-weight edge. The 10-weight edge is the lightest in the triangle but is not in the MST.
    4. Counterexample for C: A star graph where the center vertex has incident edges of weights 10, 20, 30. The edge with weight 30 is the heaviest incident to the center, but it is a bridge and must be in the MST.
    Question 3 · Algorithms · 2026_Set1 MCQ
    Let be an undirected, edge-weighted graph with integer weights. The weight of a path is the sum of the weights of the edges in that path. The length of a path is the number of edges in that path.

    Let be a vertex in . For every and for every , let denote the weight of a shortest path (in terms of weight) from to of length at most . If there is no path from to of length at most , then .

    Consider the statements:

    S1: For every and , .

    S2: For every , if is part of a shortest path (in terms of weight) from to , then for every , .

    Which one of the following options is correct?
    1. A.

      Only S1 is true

    2. B.

      Only S2 is true

    3. C.

      Both S1 and S2 are true

    4. D.

      Neither S1 nor S2 is true

    Correct Answer:

    A

    Step-by-Step Solution

    Insight: Allowing more edges (length k+1 vs k) can only decrease or maintain the shortest path weight, making S1 true. Negative edges can make a prefix of a shortest path heavier than the full path, falsifying S2.

    Exam route: For S1, the set of paths of length ≤ k+1 is a superset of paths of length ≤ k, so the minimum weight cannot increase. For S2, construct a 3-node graph with a negative edge: s→u (10), u→v (-8). Shortest path to v is s→u→v (weight 2). For k=2, d_2(u)=10, d_2(v)=2. Thus d_2(u) ≤ d_2(v) is false.

    Learning route:

    1. S1 is true because d_{k+1}(u) is the minimum over a larger set of paths than d_k(u). The minimum of a superset is always ≤ the minimum of a subset.
    2. S2 assumes that if (u,v) is on the shortest path to v, the shortest path to u must be lighter. This holds for positive weights, but fails for negative weights. If w(u,v) is negative, the path to v can be lighter than the path to u.
    3. Counterexample for S2: Graph with vertices s, u, v. Edges (s,u)=10, (u,v)=-5. Shortest path to v is s→u→v (weight 5). For k=2, d_2(u)=10, d_2(v)=5. 10 ≤ 5 is false.
    Question 4 · Algorithms · 2025_Set2 MCQ
    Let be an edge-weighted undirected graph with positive edge weights. Suppose a positive constant is added to the weight of every edge.

    Which ONE of the following statements is TRUE about the minimum spanning trees (MSTs) and shortest paths (SPs) in before and after the edge weight update?
    1. A.

      Every MST remains an MST, and every SP remains an SP.

    2. B.

      MSTs need not remain MSTs, and every SP remains an SP.

    3. C.

      Every MST remains an MST, and SPs need not remain SPs.

    4. D.

      MSTs need not remain MSTs, and SPs need not remain SPs.

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: Adding a constant penalizes paths based on hop count, but penalizes all spanning trees equally because every spanning tree has exactly V-1 edges.

    Exam route: Recall the MST invariant: all spanning trees gain exactly (V-1)*alpha, preserving their relative order. Recall the SP penalty: paths with fewer edges absorb less total penalty, potentially changing the shortest path. Select C.

    Learning route:

    Step 1: Analyze the MST. A spanning tree in a graph with V vertices always has exactly V-1 edges. If we add a constant alpha to every edge, the total weight of any spanning tree T increases by exactly (V-1)*alpha. Since this additive penalty is identical for every possible spanning tree, their relative weight ordering is perfectly preserved. The minimum remains the minimum.

    Step 2: Analyze the Shortest Path. A path between two vertices can have any number of edges, say k. Adding alpha to every edge increases the path's total weight by k*alpha. A previously shortest path with many edges might see its weight increase more than an alternative path with fewer edges but a slightly higher original weight. Thus, the shortest path can change.

    Step 3: Conclude. Every MST remains an MST, but SPs need not remain SPs.

    Tempting wrong path: Assuming that because the MST doesn't change, the shortest paths inside it also don't change. This fails because shortest paths do not have to live in the MST, and the hop-count penalty shifts the optimal route toward paths with fewer edges, regardless of the MST structure.

    Verification: If V=3, MST has 2 edges. Adding alpha adds 2alpha to all spanning trees. A 2-edge SP gets +2alpha, but a 1-edge SP gets +1*alpha, potentially flipping the shortest path.

    Question 5 · Algorithms · 2025_Set1 MCQ

    Let be any undirected graph with positive edge weights, and be a minimum spanning tree of . For any two vertices, and , let and be the shortest distances between and in and , respectively. Which ONE of the options is CORRECT for all possible , , and ?

    1. A.

    2. B.

    3. C.

    4. D.

    Correct Answer:

    B

    Step-by-Step Solution

    Insight: T is a subgraph of G. The shortest path in a subgraph cannot be shorter than the shortest path in the original graph.

    Exam route: Since T is a spanning tree of G, every path in T is also a valid path in G. The shortest distance d1(u,v) in G is the minimum over all paths in G. The distance d2(u,v) in T is the minimum over a subset of those paths (only those in T). The minimum over a subset is always ≥ the minimum over the superset. Thus, d1(u,v) ≤ d2(u,v).

    Learning route:

    1. Recognize that T is a subgraph of G. Any path that exists in T also exists in G with the exact same weight.
    2. The shortest path distance in G, d1(u,v), considers all possible paths in G.
    3. The shortest path distance in T, d2(u,v), considers only paths that are entirely within T.
    4. Since the set of paths in T is a subset of the paths in G, the minimum weight path in T cannot be strictly less than the minimum weight path in G. Therefore, d1(u,v) ≤ d2(u,v).
    5. Counterexample for equality: A triangle with weights 1, 10, 10. The MST uses the weight-1 edge and one weight-10 edge. Distance in G between the two leaves is 10. Distance in T is 1 + 10 = 11. So d1 < d2 is possible.
    Question 6 · Algorithms · 2025_Set1 NAT
    The maximum value of such that the edge between the nodes B and C is included in every minimum spanning tree of the given graph is ________ . (answer in integer)

    ABDC768x31
    Correct Answer:

    5

    Step-by-Step Solution

    Insight: An edge is in every MST if and only if it is strictly lighter than the heaviest edge on the minimax path between its endpoints in the remaining graph.

    Exam route: Remove edge B-C. Find the path from B to C that minimizes the maximum edge weight. Paths: B→A→C (max 7), B→D→C (max 8), B→D→A→C (max 6). The minimax path is B→D→A→C with max weight 6. For B-C to be in every MST, its weight x must be strictly less than 6. Max integer x = 5.

    Learning route:

    1. To guarantee an edge e=(u,v) is in every MST, it must be the unique lightest edge crossing the cut that separates u and v when e is removed.
    2. Equivalently, if we add e to the MST of the remaining graph, it forms a cycle. For e to be chosen over the existing path, its weight must be strictly less than the maximum weight edge on that path.
    3. In the given graph, removing B-C leaves paths from B to C. The path B→D (1) → A (6) → C (3) has a maximum edge weight of 6.
    4. Therefore, x < 6. The maximum integer value for x is 5.
    Question 7 · Algorithms · 2024_Set2 NAT
    The number of distinct minimum-weight spanning trees of the following graph is __________

    abfgced121332222211
    Correct Answer:

    9.00

    Step-by-Step Solution

    Insight: Isolate components formed by the lightest edges, then multiply the number of valid connecting edges between independent components.

    Exam route: Weight 1 edges form 3 components: {a,b,f}, {c,d,e}, and {g}. To connect them, we must pick exactly one weight 2 edge from {g} to {a,b,f} (3 choices) and one from {g} to {c,d,e} (3 choices). Total = 3 * 3 = 9.

    Learning route:

    Step 1: List all edges grouped by weight.

    • Weight 1: (a,b), (a,f), (c,d), (e,d) 4 edges.
    • Weight 2: (a,g), (b,g), (f,g), (g,c), (g,e), (g,d) 6 edges.
    • Weight 3: (b,c), (f,e) 2 edges.

    Step 2: Process weight 1 edges. They form two disjoint tree components without cycles:

    • Component 1: {a, b, f} (using edges a-b, a-f).
    • Component 2: {c, d, e} (using edges c-d, e-d).

    Vertex {g} is isolated. Total components = 3.

    Step 3: A spanning tree for 7 vertices requires exactly edges. We already have 4 edges of weight 1. We need exactly 2 more edges to connect the 3 components.

    Step 4: Look at weight 2 edges. They connect {g} to Component 1 via 3 edges: (a,g), (b,g), (f,g). They connect {g} to Component 2 via 3 edges: (g,c), (g,e), (g,d). There are no weight 2 edges directly between Component 1 and Component 2.

    Step 5: To connect all 3 components into a single tree, we must choose exactly one edge from the first group (3 choices) and exactly one edge from the second group (3 choices).

    Step 6: Total distinct MSTs = . (Weight 3 edges are not needed as the graph is already connected with weight 1 and 2 edges).

    Tempting wrong path: Multiplying the total number of weight 2 edges (6) or assuming we need to use weight 3 edges. This fails because choices must be isolated per component bridge; you cannot pick two edges that both connect {g} to Component 1, as that would form a cycle.

    Verification: Total vertices = 7. Edges chosen = 4 (weight 1) + 2 (weight 2) = 6. No cycles are formed. All vertices are connected. Total weight is minimized.

    Question 8 · Algorithms · 2022 MSQ

    Consider a simple undirected weighted graph , all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of is/are TRUE?

    1. A.

      The edge with the second smallest weight is always part of any minimum spanning tree of .

    2. B.

      One or both of the edges with the third smallest and the fourth smallest weights are part of any minimum spanning tree of .

    3. C.

      Suppose be such that and . Consider the edge with the minimum weight such that one of its vertices is in and the other in . Such an edge will always be part of any minimum spanning tree of .

    4. D.

      can have multiple minimum spanning trees.

    Correct Answer:

    ["A","B","C"]

    Step-by-Step Solution

    Insight: Distinct edge weights guarantee a unique MST, and Kruskal's algorithm rejects an edge only if it forms a cycle with strictly lighter edges.

    Exam route: Since weights are distinct, the MST is unique (D is false). e1 and e2 can form at most one cycle, rejecting at most one of e3 or e4, so at least one must be in the MST (B is true). e2 cannot form a cycle with e1 alone (A is true). The minimum weight edge crossing any cut is always in the MST (C is true). Select A, B, C.

    Learning route:

    Step 1: Analyze the distinct weights condition. Since all edge weights are distinct, the Minimum Spanning Tree (MST) of the graph is strictly unique. There are no ties to break. This immediately makes statement D ("G can have multiple minimum spanning trees") FALSE.

    Step 2: Evaluate the smallest edges. Let the edges sorted by weight be By Kruskal's algorithm, is always included.

    Step 3: Evaluate . Can form a cycle with ? No, because a cycle requires at least 3 edges in a simple graph. Thus, will never be rejected by Kruskal's and is always in the MST. Statement A is TRUE.

    Step 4: Evaluate and . For an edge to be rejected by Kruskal's, it must form a cycle with edges already accepted into the MST. The only edges lighter than and are and . These two edges can form at most one path of length 2 (if they share a vertex). Therefore, they can form a cycle with at most ONE additional edge (the one closing the triangle).

    Step 5: Since and can only cause the rejection of at most one edge, they cannot cause the rejection of BOTH and . Thus, at least one of or must be accepted into the MST. Statement B is TRUE.

    Step 6: Evaluate the cut property. Statement C describes exactly the Cut Property: the minimum weight edge crossing any cut is always safe and belongs to the MST. Statement C is TRUE.

    Tempting wrong path: Assuming that because and are in the MST, they might somehow block both and . This fails because two edges can only close one specific cycle, leaving the other edge free to be added.

    Verification: If and , they form a path . Only the edge can form a cycle with them. If , it is rejected, but will be accepted. If , both and are accepted. In all cases, at least one is accepted.

    Question 9 · Algorithms · 2021_Set2 MCQ
    Let be a connected undirected weighted graph. Consider the following two statements.

    There exists a minimum weight edge in which is present in every minimum spanning tree of .
    If every edge in has distinct weight, then has a unique minimum spanning tree.

    Which one of the following options is correct?
    1. A.

      Both and are true.

    2. B.

      is true and is false.

    3. C.

      is false and is true.

    4. D.

      Both and are false.

    Correct Answer:

    C

    Step-by-Step Solution

    Insight: S1 fails because if multiple edges share the global minimum weight, none of them is guaranteed to be in every MST (e.g., a triangle of weight 1). S2 is a standard theorem: distinct weights guarantee a unique MST.

    Exam route: For S1, consider a triangle with all edge weights = 1. Every edge is a minimum weight edge, but any MST only picks 2 of them. Thus, no single minimum weight edge is in every MST. S1 is false. For S2, distinct weights mean every cut has a strictly unique lightest edge, forcing a single unique MST. S2 is true.

    Learning route:

    1. S1 claims there exists a minimum weight edge in every MST. If all edges have the same weight (e.g., a triangle with weights 1, 1, 1), any two edges form an MST. No single edge is present in all possible MSTs. Thus, S1 is false.
    2. S2 states that distinct edge weights imply a unique MST. This is true because every cut will have a strictly unique lightest edge, leaving no ties to break during Kruskal's or Prim's algorithm.
    3. The Cut Property guarantees that the unique lightest edge crossing any cut is in the MST. Distinct weights ensure this uniqueness globally.
    Question 10 · Algorithms · 2021_Set1 NAT
    Consider the following undirected graph with edge weights as shown:

    0.1 0.1 0.1 0.9 0.9 0.1 0.9 0.1 0.9 0.1 0.9 0.1

    The number of minimum-weight spanning trees of the graph is __________.
    Correct Answer:

    3.00

    Step-by-Step Solution

    Insight: Group edges by weight and count valid choices to connect independent components formed by the lightest edges.

    Exam route: Identify that the 7 edges of weight 0.1 form exactly two components without cycles. Find the 3 edges of weight 0.9 that connect these two components. We need exactly 1 more edge to complete the MST, giving 3 valid choices. Answer: 3.

    Learning route:

    Step 1: List all edges and group by weight. We have 7 edges of weight 0.1 and 5 edges of weight 0.9 in this 3x3 grid (9 vertices).

    Step 2: Process weight 0.1 edges using Kruskal's logic. These 7 edges connect the 9 vertices into exactly 2 connected components without forming any cycles:

    • Component 1: Top row (3 vertices, connected by 2 horizontal edges).
    • Component 2: The remaining 6 vertices, connected by the other 5 weight 0.1 edges in a valid tree structure.

    Step 3: A spanning tree for 9 vertices requires exactly edges. We already have 7 edges of weight 0.1. We need exactly 1 more edge to connect Component 1 and Component 2.

    Step 4: Identify the edges connecting Component 1 and Component 2. These are the 3 vertical edges in the top half of the grid (left, middle, right), all of which have weight 0.9.

    Step 5: We can choose any 1 of these 3 edges to complete the MST. Each choice yields a valid, distinct MST of total weight .

    Tempting wrong path: Assuming we can choose any of the 5 weight 0.9 edges, or using a global combination formula like . This fails because some weight 0.9 edges lie entirely within Component 2 and would create a cycle, violating the tree property.

    Verification: Total vertices = 9. Edges chosen = 7 (weight 0.1) + 1 (weight 0.9) = 8. No cycles are formed. Total weight is minimized.

    More previous year questions (pyqs) in this unit