chapter

    K-means Clustering and Cluster Geometry Practice Questions for Gate Da

    Solve 117+ K-means Clustering and Cluster Geometry practice questions for GATE DA 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
    Level 1: Warm-up

    Points and belong to the same cluster in a -means result. Which point must also belong to this cluster?

    Question 2
    Level 1: Warm-up

    Points and are in cluster 3. Which point is necessarily in cluster 3?

    Question 3
    Level 1: Warm-up

    Consider the following two statements:

    Assertion (A): The point is necessarily in the same cluster as and .

    Reason (R): The point lies on the line passing through and .

    Question 4
    Level 1: Warm-up

    Points and are in the same -means cluster. A student claims that point is necessarily in the same cluster because . For the line segment test to guarantee this, we must have and . Which of the following pairs makes the student's claim IMPOSSIBLE to justify via this test?

    Question 5
    Level 1: Warm-up

    The Voronoi cell for center and for center is separated by a boundary line. A point is in if it satisfies .

    If a student makes a sign error when expanding as , they incorrectly derive the boundary as . What is the value of for the true and incorrect boundary equations (assuming and are integers with no common factors and )?

    Question 6
    Level 1: Warm-up

    The Voronoi boundary between centers and is given by , where , , and are integers with no common factors and . What is the value of ?

    Question 7
    Level 1: Warm-up

    Three points , , and are collinear in that order. If point is in cluster 1, which statement is necessarily true?

    Question 8
    Level 1: Warm-up

    Match the following geometric properties with their descriptions in -means clustering:

    \begin{tabular}{ll}

    \textbf{Property} & \textbf{Description} \\

    P. Voronoi cell shape & 1. Always contains midpoints of its points \\

    Q. Convexity & 2. Intersection of half-spaces \\

    R. Cluster membership & 3. Contains all line segments between its points \\

    \end{tabular}

    Question 9
    Level 1: Warm-up

    Which of the following configurations is impossible in -means clustering?

    Question 10
    Level 1: Warm-up

    Points and are in the same cluster in a -means clustering of a continuous 2D space. What is the minimum number of points on the line segment connecting them that are guaranteed to be in the cluster?

    Free preview ends here

    Login to view the complete practice 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.

    K-means Clustering and Cluster Geometry Practice Questions for GATE DA

    Solve 117+ K-means Clustering and Cluster Geometry practice questions for GATE DA with answers and detailed solutions. Free sample questions below.

    Chapter Roadmap: k-Means Clustering and Cluster Geometry

    Chapter Roadmap

    1
    k-Means Cluster Geometry and Voronoi Regions
    Understand how space is partitioned. The foundation of the algorithm.
    2
    Advanced k-Means and Convergence
    Advanced applications, convergence properties, and exam-level problem solving.

    The Geometry of Clustering

    The Geometry of Clustering

    Imagine dividing a city into delivery zones for warehouses. The rule is simple: every house belongs to the warehouse closest to it. The invisible lines separating these zones form the geometry of the clusters.

    In machine learning, this is exactly what -means does in a multi-dimensional feature space. It partitions the space into distinct territories, known as Voronoi regions, based purely on Euclidean distance to the cluster centers.

    K-means Clustering and Cluster Geometry: Solved Questions with Step-by-Step Explanations (10 Problems)

    Question 1 · Machine Learning MCQ

    Points and belong to the same cluster in a -means result. Which point must also belong to this cluster?

    1. A.

      (3, 5)

    2. B.

      (2, 4)

    3. C.

      (4, 6)

    4. D.

      (3, 6)

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a midpoint calculation question. When two points are in the same cluster, their midpoint must also be in that cluster.

    Step 1: Identify the two given points: and .

    Step 2: Calculate the midpoint using the formula:

    Step 3: Verify that is one of the options. It is option A.

    Answer: (3, 5)

    Question 2 · Machine Learning MCQ

    Points and are in cluster 3. Which point is necessarily in cluster 3?

    1. A.

      (2, 1)

    2. B.

      (1, 0)

    3. C.

      (3, 2)

    4. D.

      (2, 2)

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a geometric certainty question. When two points are in a cluster, any point on the line segment between them must also be in that cluster.

    Step 1: Identify the two given points: and .

    Step 2: Check each option to see if it lies on the line segment between and .

    Step 3: The line segment can be parameterized as:

    Step 4: Check option A: . We need and , which gives . Since , this point is on the segment.

    Step 5: Verify other options are not on the segment (they don't satisfy with ).

    Answer: (2, 1)

    Question 3 · Machine Learning MCQ

    Consider the following two statements:

    Assertion (A): The point is necessarily in the same cluster as and .

    Reason (R): The point lies on the line passing through and .

    1. A.

      Both A and R are false.

    2. B.

      A is false but R is true.

    3. C.

      Both A and R are true but R is not the correct explanation of A.

    4. D.

      Both A and R are true and R is the correct explanation of A.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is an assertion-reason question testing the difference between a line and a segment. Step 1: Evaluate the Reason (R): The points and lie on the line . The point also lies on this line. Therefore, Reason (R) is true. Step 2: Evaluate the Assertion (A): For to be necessarily in the same cluster as and , it must lie on the line segment connecting them. Step 3: The segment connecting and only contains points where . Since has , it lies outside this segment. Step 4: Therefore, is not necessarily in the same cluster. Assertion (A) is false. Answer: A is false but R is true.
    Question 4 · Machine Learning MCQ

    Points and are in the same -means cluster. A student claims that point is necessarily in the same cluster because . For the line segment test to guarantee this, we must have and . Which of the following pairs makes the student's claim IMPOSSIBLE to justify via this test?

    1. A.

      (0.5, 0.5)

    2. B.

      (1.0, 0.0)

    3. C.

      (-0.2, 1.2)

    4. D.

      (0.3, 0.7)

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: This is a language-to-math translation question, recognisable because it asks to validate a geometric claim using algebraic constraints.

    Step 1: The line segment test requires the point to be a convex combination of and .

    Step 2: A convex combination requires two conditions: the coefficients must sum to 1 (), and both coefficients must be non-negative ().

    Step 3: Evaluate the options. The pair sums to 1, but is negative.

    Step 4: A negative coefficient means the point lies on the line passing through and , but outside the segment connecting them. Thus, it is not guaranteed to be in the cluster.

    Answer: The pair makes the claim impossible to justify.

    Question 5 · Machine Learning NAT

    The Voronoi cell for center and for center is separated by a boundary line. A point is in if it satisfies .

    If a student makes a sign error when expanding as , they incorrectly derive the boundary as . What is the value of for the true and incorrect boundary equations (assuming and are integers with no common factors and )?

    Correct Answer:

    9.00

    Step-by-Step Solution

    Key idea: This is a language-to-math translation question, recognisable because it requires converting the geometric distance condition into an algebraic inequality and identifying a specific algebraic error.

    Step 1: Write the true distance condition for : .

    Step 2: Substitute the centers: .

    Step 3: Expand correctly: .

    Step 4: Simplify: .

    Step 5: The true boundary is , so .

    Step 6: Apply the student's sign error: .

    Step 7: Re-simplify with the error: .

    Step 8: The incorrect boundary is , so .

    Step 9: Calculate .

    Answer: 9.00

    Question 6 · Machine Learning NAT

    The Voronoi boundary between centers and is given by , where , , and are integers with no common factors and . What is the value of ?

    Correct Answer:

    18.00

    Step-by-Step Solution

    Key idea: This is a language-to-math translation question, recognisable because it requires converting the geometric distance condition into an algebraic equation.

    Step 1: Write the distance condition for the boundary: .

    Step 2: Substitute the centers: .

    Step 3: Expand carefully: .

    Step 4: Cancel and : .

    Step 5: Rearrange: .

    Step 6: Simplify by dividing by 4: .

    Step 7: Identify coefficients: , , .

    Step 8: Calculate .

    Answer: 18.00

    Question 7 · Machine Learning MCQ

    Three points , , and are collinear in that order. If point is in cluster 1, which statement is necessarily true?

    1. A.

      Point is in cluster 1

    2. B.

      Point is in cluster 1

    3. C.

      Points and are in the same cluster

    4. D.

      None of the above

    Correct Answer:

    D

    Step-by-Step Solution

    Key idea: This is a collinearity distinction question. Collinearity alone does not guarantee that points are in the same cluster.

    Step 1: Understand the given information: Points , , are collinear, and is in cluster 1.

    Step 2: Recall that the convexity rule only applies when you know TWO points are in the same cluster. Here, we only know about point .

    Step 3: Since we only know is in cluster 1, points and could be in cluster 1, cluster 2, or any other cluster. The Voronoi boundary could pass between and , or between and .

    Step 4: Therefore, none of the statements A, B, or C is necessarily true.

    Answer: None of the above

    Question 8 · Machine Learning MCQ

    Match the following geometric properties with their descriptions in -means clustering:

    \begin{tabular}{ll}

    \textbf{Property} & \textbf{Description} \\

    P. Voronoi cell shape & 1. Always contains midpoints of its points \\

    Q. Convexity & 2. Intersection of half-spaces \\

    R. Cluster membership & 3. Contains all line segments between its points \\

    \end{tabular}

    1. A.

      P-2, Q-3, R-1

    2. B.

      P-1, Q-2, R-3

    3. C.

      P-3, Q-1, R-2

    4. D.

      P-2, Q-1, R-3

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a matching question testing geometric properties of -means clusters.

    Step 1: Match P (Voronoi cell shape): Voronoi cells are formed by the intersection of half-spaces (perpendicular bisectors between cluster centers). So P matches with 2.

    Step 2: Match Q (Convexity): A convex set contains all line segments between any two of its points. So Q matches with 3.

    Step 3: Match R (Cluster membership): If two points are in a cluster, their midpoint is also in that cluster (a consequence of convexity). So R matches with 1.

    Step 4: The correct matching is P-2, Q-3, R-1.

    Answer: P-2, Q-3, R-1

    Question 9 · Machine Learning MCQ

    Which of the following configurations is impossible in -means clustering?

    1. A.

      Two points in the same cluster with a point from another cluster between them on the line segment

    2. B.

      A cluster region that is convex

    3. C.

      Two collinear points in different clusters

    4. D.

      A cluster containing the midpoint of two of its points

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a boundary case question testing what configurations are possible or impossible in -means clustering.

    Step 1: Analyze option A: "Two points in the same cluster with a point from another cluster between them on the line segment."

    Step 2: Recall the convexity property: If two points are in a cluster, ALL points on the line segment between them must be in that cluster.

    Step 3: Therefore, it's impossible for a point from another cluster to lie on the line segment between two points of the same cluster. This violates convexity.

    Step 4: Verify other options are possible:

    • Option B: Clusters are convex, so this is possible.
    • Option C: Collinear points can be in different clusters (the boundary can pass between them).
    • Option D: The midpoint of two points in a cluster is always in that cluster.

    Answer: A

    Question 10 · Machine Learning MCQ

    Points and are in the same cluster in a -means clustering of a continuous 2D space. What is the minimum number of points on the line segment connecting them that are guaranteed to be in the cluster?

    1. A.

      Infinitely many

    2. B.

      Exactly 1 (the midpoint)

    3. C.

      Exactly 2 (the endpoints)

    4. D.

      0

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a minimum cardinality question on a continuous segment.

    Step 1: Identify the given points: and are in the same cluster.

    Step 2: Recall the geometric rule for cluster regions: if two points belong to a cluster, the entire continuous line segment connecting them must also lie within that cluster.

    Step 3: A continuous line segment in a 2D space contains an uncountably infinite number of points.

    Step 4: Since every point on this segment is guaranteed to be in the cluster, the minimum number of points guaranteed to be in the cluster is infinite.

    Answer: Infinitely many

    More practice questions in this unit