Unit 3 - Practice Quiz

INT396 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 Which of the following best describes the agglomerative approach to hierarchical clustering?

Hierarchical clustering: Agglomerative vs. Divisive Easy
A. A top-down approach that starts with all data points in a single cluster.
B. A bottom-up approach that starts with each data point as its own cluster.
C. A centroid-based approach that requires specifying in advance.
D. A density-based approach that identifies core points.

2 Divisive hierarchical clustering operates by:

Hierarchical clustering: Agglomerative vs. Divisive Easy
A. Merging the closest pairs of clusters sequentially.
B. Starting with all points in one cluster and recursively splitting them.
C. Identifying dense regions separated by sparse regions.
D. Assigning points to the nearest centroid.

3 In the initial step of agglomerative hierarchical clustering on a dataset with points, how many clusters are there?

Hierarchical clustering: Agglomerative vs. Divisive Easy
A.
B. $1$
C.
D.

4 Which linkage method defines the distance between two clusters as the shortest distance between any two points in the clusters?

Linkage methods (single, complete, average, Ward) Easy
A. Average linkage
B. Ward's method
C. Complete linkage
D. Single linkage

5 Complete linkage is based on which of the following metrics?

Linkage methods (single, complete, average, Ward) Easy
A. The minimum distance between points in two clusters.
B. The maximum distance between any two points in the clusters.
C. The increase in within-cluster variance.
D. The average distance of all pairs of points.

6 Which linkage method aims to minimize the total within-cluster variance when merging two clusters?

Linkage methods (single, complete, average, Ward) Easy
A. Ward's method
B. Single linkage
C. Complete linkage
D. Average linkage

7 What is the primary characteristic of average linkage in hierarchical clustering?

Linkage methods (single, complete, average, Ward) Easy
A. It uses the closest pair of points.
B. It uses the furthest pair of points.
C. It calculates the average of distances between all pairs of points across two clusters.
D. It explicitly minimizes the sum of squared errors.

8 Which linkage method is most prone to the 'chaining' effect, where clusters end up being long and uncompact?

Linkage methods (single, complete, average, Ward) Easy
A. Ward's method
B. Single linkage
C. Complete linkage
D. Average linkage

9 What is a dendrogram?

Dendrogram interpretation Easy
A. A mathematical formula for distance calculation.
B. A tree-like diagram that records the sequences of merges or splits in hierarchical clustering.
C. A scatter plot showing density distributions.
D. A bar chart of cluster sizes.

10 How can you determine the final clusters from a dendrogram?

Dendrogram interpretation Easy
A. By measuring the thickness of the lines.
B. By looking at the x-axis labels only.
C. By calculating the area under the curve.
D. By drawing a horizontal line to cut the dendrogram at a desired height.

11 In a standard dendrogram, what does the vertical height (y-axis) of a merge point represent?

Dendrogram interpretation Easy
A. The distance or dissimilarity between the two clusters being merged.
B. The total variance of the dataset.
C. The density of the resulting cluster.
D. The number of data points in the merged cluster.

12 What does the acronym DBSCAN stand for?

Density-based clustering: DBSCAN fundamentals Easy
A. Distribution-Based Spatial Clustering Algorithm for Nodes
B. Distance-Based Spatial Clustering of Applications with Noise
C. Data-Based Sequential Clustering and Normalization
D. Density-Based Spatial Clustering of Applications with Noise

13 Which of the following is a major advantage of DBSCAN?

Density-based clustering: DBSCAN fundamentals Easy
A. It forces every single point into a cluster.
B. It only works well with linearly separable data.
C. It requires the user to specify the number of clusters in advance.
D. It can discover clusters of arbitrary shapes.

14 In DBSCAN, what defines a 'core point'?

e-neighborhood, MinPts, Noise and border points Easy
A. A point that belongs to multiple clusters.
B. A point that is the furthest from the center of a cluster.
C. A point that has at least MinPts within its -neighborhood.
D. A point that has zero neighbors.

15 How does DBSCAN classify a 'border point'?

e-neighborhood, MinPts, Noise and border points Easy
A. It has fewer than MinPts within its -neighborhood, but falls within the neighborhood of a core point.
B. It does not belong to any -neighborhood.
C. It has more than MinPts within its -neighborhood.
D. It is randomly assigned to a cluster boundary.

16 What is a 'noise point' in the context of DBSCAN?

e-neighborhood, MinPts, Noise and border points Easy
A. A point that is the exact center of a cluster.
B. A point that is neither a core point nor a border point.
C. A point that connects two distinct clusters.
D. A point that satisfies the MinPts condition perfectly.

17 In DBSCAN, what does the parameter (epsilon) represent?

e-neighborhood, MinPts, Noise and border points Easy
A. The threshold for hierarchical cluster merging.
B. The total number of clusters to form.
C. The maximum distance (radius) used to define the neighborhood of a point.
D. The minimum number of points required to form a cluster.

18 Unlike Hierarchical clustering and DBSCAN, what must be provided as an explicit input parameter to the standard k-Means algorithm?

Comparison: k-Means vs. Hierarchical vs. DBSCAN Easy
A. The linkage criteria
B. The minimum number of points (MinPts)
C. The radius
D. The number of clusters

19 Which clustering algorithm inherently identifies outliers and explicitly leaves them unclustered?

Comparison: k-Means vs. Hierarchical vs. DBSCAN Easy
A. DBSCAN
B. k-Means
C. Agglomerative Hierarchical
D. Ward's Hierarchical

20 Which clustering method generates a tree-like hierarchy of clusters that does not require an initial assumption about the number of clusters?

Comparison: k-Means vs. Hierarchical vs. DBSCAN Easy
A. K-Medoids
B. Hierarchical clustering
C. k-Means
D. DBSCAN

21 In the context of hierarchical clustering on a dataset with points, which of the following accurately describes the initial and final states of the Divisive approach?

Hierarchical clustering: Agglomerative vs. Divisive Medium
A. Initial state: 1 cluster containing points; Final state: clusters based on density
B. Initial state: clusters containing 1 point each; Final state: 1 cluster containing points
C. Initial state: 1 cluster containing points; Final state: clusters containing 1 point each
D. Initial state: clusters; Final state: clusters containing 1 point each

22 Which linkage method defines the distance between two clusters as the maximum distance between any single point in the first cluster and any single point in the second cluster, tending to produce tightly bound, spherical clusters?

Linkage methods (single, complete, average, Ward) Medium
A. Ward's linkage
B. Single linkage
C. Average linkage
D. Complete linkage

23 An analyst notices that their hierarchical clustering results suffer from the "chaining effect," where clusters are stretched out into long, thin bands. Which linkage method was most likely used?

Linkage methods (single, complete, average, Ward) Medium
A. Ward's method
B. Single linkage
C. Average linkage
D. Complete linkage

24 Unlike single, complete, and average linkage which rely strictly on pairwise distances between points, Ward's method decides which clusters to merge by minimizing what metric?

Linkage methods (single, complete, average, Ward) Medium
A. The median distance between all cluster points
B. The between-cluster sum of squared errors
C. The within-cluster sum of squared errors (WCSS)
D. The maximum distance between cluster centroids

25 When interpreting a dendrogram generated by agglomerative clustering, what does the vertical height (on the y-axis) of a horizontal merge line represent?

Dendrogram interpretation Medium
A. The density of the newly formed cluster
B. The distance or dissimilarity threshold at which the two clusters were merged
C. The variance explained by the merging of the two clusters
D. The number of data points in the newly formed cluster

26 If you draw a horizontal cut line across a dendrogram at a specific height , how is the number of resulting clusters determined?

Dendrogram interpretation Medium
A. By calculating the ratio of total height to
B. By summing the data points below height
C. By counting the number of vertical lines that intersect the horizontal cut line
D. By counting the number of horizontal merge lines exactly at height

27 In the DBSCAN algorithm, what is the primary condition for a data point to be classified as a "core point"?

Density-based clustering: DBSCAN fundamentals Medium
A. It must be exactly in the geometric center of a cluster.
B. It must have at least number of points (including itself) within its -neighborhood.
C. It must have a distance less than to all other points in the dataset.
D. It must be reachable from another core point and have fewer than neighbors.

28 Consider a point in a dataset analyzed via DBSCAN. Point has fewer than points in its -neighborhood, but it falls within the -neighborhood of a core point . How will DBSCAN classify point ?

Noise and border points Medium
A. As an outlier
B. As a noise point
C. As a core point
D. As a border point

29 If DBSCAN finishes running and a point is neither a core point nor reachable from any core point in the dataset, what is its final designation?

Noise and border points Medium
A. Border point
B. Noise point
C. Isolated core point
D. Centroid

30 If you decrease the value of (epsilon) while keeping constant in DBSCAN, what is the most likely effect on the clustering output?

e-neighborhood, MinPts Medium
A. More points will be classified as noise, and existing clusters may split.
B. Fewer points will be classified as noise.
C. Clusters will merge together into larger, single clusters.
D. The number of core points will increase.

31 You are given a dataset containing two concentric ring-shaped clusters. Which clustering algorithm is best suited to correctly identify these two non-linear clusters?

Comparison: k-Means vs. Hierarchical vs. DBSCAN Medium
A. k-Means clustering
B. DBSCAN
C. Agglomerative clustering with Ward's linkage
D. Divisive clustering with complete linkage

32 Which of the following statements accurately compares k-Means and DBSCAN regarding their handling of outliers?

Comparison: k-Means vs. Hierarchical vs. DBSCAN Medium
A. Both algorithms are highly robust to outliers because they use median distances.
B. Both algorithms assign a specific "noise" label to outliers.
C. k-Means forces all points into clusters, shifting centroids due to outliers, whereas DBSCAN ignores isolated points as noise.
D. DBSCAN incorporates outliers into the nearest border points, whereas k-Means drops them from the dataset.

33 When comparing the time complexity of clustering algorithms for a large dataset of points, which of the following is generally true?

Comparison: k-Means vs. Hierarchical vs. DBSCAN Medium
A. Divisive clustering is always faster than k-Means because it splits data linearly.
B. Standard Agglomerative Hierarchical clustering is generally faster than k-Means .
C. DBSCAN is always the slowest algorithm regardless of indexing.
D. k-Means is generally faster than Standard Agglomerative Hierarchical clustering .

34 In DBSCAN, what happens to the clustering model if is set to 1?

e-neighborhood, MinPts Medium
A. Every point will be classified as noise regardless of the value.
B. Every point will be classified as a core point, and points within of each other will form clusters.
C. The algorithm will fail to execute due to a division by zero error.
D. The algorithm will behave exactly like k-Means.

35 Which of the following is a major drawback of standard Agglomerative Hierarchical Clustering?

Hierarchical clustering: Agglomerative vs. Divisive Medium
A. It randomly initializes centroids, leading to non-deterministic results.
B. Once a merge is performed, it cannot be undone in subsequent steps.
C. It can only identify spherical clusters.
D. It requires the user to specify the number of clusters before running the algorithm.

36 Which algorithm does NOT require the user to explicitly declare the desired number of clusters beforehand, but instead infers the number of clusters from the data's properties?

Comparison: k-Means vs. Hierarchical vs. DBSCAN Medium
A. k-Means
B. DBSCAN
C. k-Medoids
D. Spectral Clustering

37 You observe a dendrogram where the longest vertical branches without any horizontal merges occur between a height of 10 and 25. What does this gap suggest about the dataset?

Dendrogram interpretation Medium
A. The clusters formed above height 25 are completely identical to those below height 10.
B. The algorithm encountered a local minimum between heights 10 and 25.
C. Cutting the dendrogram anywhere between 10 and 25 will yield a highly stable and natural clustering partition.
D. The data has a high amount of noise points.

38 In the formal definition of DBSCAN, what is the relationship between "Directly Density-Reachable" and "Density-Reachable"?

Density-based clustering: DBSCAN fundamentals Medium
A. Density-reachable is the transitive closure of directly density-reachable.
B. They are synonymous terms describing identical spatial relationships.
C. Density-reachable is a symmetric relationship, while directly density-reachable is not.
D. Directly density-reachable applies only to noise points, while density-reachable applies to core points.

39 Suppose you are computing the distance between Cluster A (containing 3 points) and Cluster B (containing 4 points) using Average Linkage. How many pairwise distance calculations are averaged to find the distance between A and B?

Linkage methods (single, complete, average, Ward) Medium
A. 2
B. 1
C. 12
D. 7

40 A border point in DBSCAN is within the -neighborhood of two different core points, and , which belong to two entirely separate clusters. How does DBSCAN handle the assignment of point ?

Noise and border points Medium
A. It duplicates , putting one copy in 's cluster and one in 's cluster.
B. It classifies as a noise point because it cannot break the tie.
C. It assigns to both clusters simultaneously, creating an overlapping clustering.
D. It assigns to whichever cluster's core point discovers it first.

41 An exact divisive hierarchical clustering algorithm on a dataset of points requires evaluating all possible bipartite splits of a cluster at each step. What is the worst-case time complexity of creating the first split in this exact divisive approach, assuming no heuristic optimizations like DIANA are used?

Hierarchical clustering: Agglomerative vs. Divisive Hard
A.
B.
C.
D.

42 Ward's linkage method aims to minimize the total within-cluster variance. When deciding to merge clusters and with centroids and , the increase in the Sum of Squared Errors (SSE), denoted as , is proportional to the squared Euclidean distance between their centroids. Which of the following defines the exact cost ?

Linkage methods (single, complete, average, Ward) Hard
A.
B.
C.
D.

43 Consider the Lance-Williams update formula: . For Complete Linkage, what are the specific values of and ?

Linkage methods (single, complete, average, Ward) Hard
A.
B.
C.
D.

44 Single Linkage clustering can be directly derived from a Minimum Spanning Tree (MST) of the data points. If a dataset has points and all pairwise distances are distinct, how can one obtain the exact clusters produced by Single Linkage from the MST?

Linkage methods (single, complete, average, Ward) Hard
A. By removing the edges in the MST that have the largest weights.
B. It is impossible; Single Linkage handles graph components differently than Kruskal's or Prim's algorithms.
C. By removing all edges in the MST with weights greater than the median edge weight, recursively times.
D. By finding the subtrees with the minimum total edge weight.

45 You calculate the cophenetic correlation coefficient to evaluate an agglomerative clustering output. Which of the following scenarios would theoretically yield a cophenetic correlation coefficient of strictly $1.0$?

Dendrogram interpretation Hard
A. The original distance matrix strictly satisfies the triangle inequality for all points.
B. Ward's linkage is used on a dataset where all variables follow a standard normal distribution.
C. The data points lie exactly on a one-dimensional straight line.
D. The original distance matrix exactly satisfies the ultrametric inequality for all triplets of points.

46 A researcher is analyzing a dendrogram generated by a hierarchical clustering algorithm. They observe 'reversals' (or 'inversions'), where a parent node merges at a lower distance height than its child nodes. Which of the following explains this anomaly?

Dendrogram interpretation Hard
A. The researcher used a linkage method that violates the space-conserving Lance-Williams constraints, such as Centroid or Median linkage.
B. Ward's linkage was used, causing the objective function to contract heavily in the initial merges.
C. The distance metric used was non-Euclidean, such as Cosine distance or Manhattan distance.
D. The data contains highly dense clusters intermixed with uniform noise, causing scaling issues on the y-axis.

47 In a dendrogram produced by Complete Linkage, a very long vertical line segment with no horizontal merges branching off indicates:

Dendrogram interpretation Hard
A. A substantial range of distance thresholds (cutting heights) over which the number of clusters and their compositions remain unchanged.
B. A violation of the ultrametric inequality during the agglomeration steps.
C. That the clusters merged at the bottom of the vertical line are highly highly chained and space-contracting.
D. That the dataset contains extreme outliers that were forced to merge at a localized point.

48 In the context of DBSCAN, let be an undirected graph where vertices are data points. An edge exists between and if and . How can the resulting DBSCAN clusters be rigorously defined in graph-theoretic terms?

Density-based clustering: DBSCAN fundamentals, e-neighborhood, MinPts Hard
A. They correspond to all maximal cliques in of size at least MinPts.
B. They are the connected components of the subgraph induced strictly by the core points, with border points appended to any adjacent core-point component.
C. They are the strictly bipartite subgraphs where the two sets are core points and border points respectively.
D. They are the strongly connected components of the entire graph including noise points.

49 In DBSCAN, density-reachability and density-connectedness are foundational concepts. Which of the following statements strictly holds regarding their mathematical properties?

Density-based clustering: DBSCAN fundamentals, e-neighborhood, MinPts Hard
A. Both density-reachability and density-connectedness are strictly symmetric and transitive equivalence relations.
B. Density-reachability is transitive but generally asymmetric, whereas density-connectedness is both symmetric and transitive.
C. Neither density-reachability nor density-connectedness exhibit symmetry in datasets containing varying densities.
D. Density-reachability is symmetric but not transitive, whereas density-connectedness is transitive but not symmetric.

50 Assume a dataset in a 10,000-dimensional space where points are distributed uniformly at random. When applying DBSCAN to this dataset, which of the following phenomena severely hinders its effectiveness due to the Curse of Dimensionality?

Density-based clustering: DBSCAN fundamentals, e-neighborhood, MinPts Hard
A. All points automatically become core points regardless of because the volume of the -sphere expands to encompass the entire space exponentially fast.
B. The density-reachability condition becomes symmetric for all points, collapsing the distinction between core and border points.
C. The distance from a point to its nearest neighbor approaches the distance to its farthest neighbor, making it nearly impossible to distinguish dense regions from sparse regions using a fixed .
D. The algorithm requires computing distance comparisons, exceeding computational limits.

51 Which of the following is an inherent source of non-determinism in the standard DBSCAN algorithm regarding border points?

Noise and border points Hard
A. Border points frequently fluctuate between being classified as noise and border points depending on the random initialization of the algorithm's KD-tree.
B. If a border point's distance to a core point is exactly equal to , floating-point instability will randomly assign it to the noise category.
C. A border point that falls within the -neighborhood of core points belonging to two distinct clusters will be assigned to whichever cluster is processed first.
D. The algorithm randomly selects border points to merge density-reachable clusters, leading to different final cluster counts.

52 Consider a dataset clustered by DBSCAN with parameters and . Point is identified as a border point. If a single noise point located far away from all clusters is removed from the dataset, and DBSCAN is re-run with the identical parameters, which of the following is guaranteed to be true regarding Point ?

Noise and border points Hard
A. Point could be upgraded to a core point because the global density of the dataset decreases.
B. Point will still be identified as a border point, or it could potentially become a noise point if the distance matrix recalculation shifts the space.
C. Point will turn into a noise point, because DBSCAN relies on global average density to determine relative border distances.
D. Point will definitely remain a border point, as the removal of a distant noise point cannot affect the -neighborhoods of the core points near .

53 Let be a dataset. You run DBSCAN with and an arbitrary . Which of the following correctly describes the resulting classifications of points?

Noise and border points Hard
A. All points are classified as border points, and there are no core points.
B. The classification will perfectly mirror Single Linkage clustering cut at height , resulting in a mix of core and border points.
C. All points are classified as noise points.
D. All points are classified as core points; there are absolutely no border points or noise points.

54 Suppose you have a dataset with dense data points in . You require a clustering algorithm that can theoretically operate within or memory and time limits. Which of the following approaches is most feasible without utilizing severe dataset subsampling?

Comparison: k-Means vs. Hierarchical vs. DBSCAN Hard
A. Agglomerative Hierarchical Clustering with Single Linkage, using a generic distance matrix.
B. DBSCAN, heavily leveraging a spatial index such as an R-tree or KD-tree.
C. Divisive Hierarchical Clustering using an exact bipartite split algorithm.
D. Agglomerative Hierarchical Clustering with Ward's linkage, using a Lance-Williams matrix update.

55 You are tasked with clustering a 2D dataset consisting of a dense inner ring and a sparse, expanding outer ring of points (concentric circles of varying densities). Which of the following algorithms and configurations will fundamentally fail to isolate the two rings as distinct clusters?

Comparison: k-Means vs. Hierarchical vs. DBSCAN Hard
A. Single Linkage Hierarchical Clustering, because it suffers from the chaining effect and cannot separate non-convex shapes.
B. k-Means with , assuming the centroids are initialized using k-Means++.
C. OPTICS (Ordering Points To Identify the Clustering Structure), because it strictly inherits DBSCAN's inability to handle varying densities.
D. DBSCAN, because a single fixed cannot simultaneously accommodate the dense inner ring (without merging it into noise) and the sparse outer ring (without classifying it as noise).

56 Inductive clustering models can readily assign out-of-sample data points to existing clusters without re-running the algorithm on the entire combined dataset. Transductive models generally lack this native capability. Categorize k-Means, DBSCAN, and Standard Agglomerative Hierarchical clustering based on these definitions.

Comparison: k-Means vs. Hierarchical vs. DBSCAN Hard
A. Agglomerative Hierarchical is Inductive. k-Means and DBSCAN are Transductive.
B. k-Means and DBSCAN are Inductive. Agglomerative Hierarchical is Transductive.
C. k-Means is Inductive. DBSCAN and Agglomerative Hierarchical are Transductive.
D. All three are inherently Transductive; Inductive extensions require supervised learning.

57 The MacNaughton-Smith algorithm is a divisive hierarchical approach. Unlike the computationally prohibitive exact divisive method, how does it primarily construct the sequence of splitting?

Hierarchical clustering: Agglomerative vs. Divisive Hard
A. By calculating the eigenvectors of the unnormalized Laplacian matrix and splitting at the median.
B. By recursively removing the longest edge in the dataset's Minimum Spanning Tree.
C. By repeatedly running k-Means with and picking the cluster with the highest variance to split next.
D. By starting with all points in one cluster, selecting the point with the highest average dissimilarity to the rest as a 'splinter group', and iteratively moving points to it.

58 Consider a dataset clustered effectively by k-Means, DBSCAN, and Complete Linkage Hierarchical Clustering using Euclidean distance. If the dataset undergoes an affine transformation where the x-axis is scaled by a factor of , which algorithm's underlying logic will be fundamentally robust to this transformation, assuming parameters are unadjusted?

Comparison: k-Means vs. Hierarchical vs. DBSCAN Hard
A. DBSCAN, as density remains topologically equivalent despite the scaling.
B. Complete Linkage Hierarchical, as relative maximal distances are preserved.
C. k-Means, because the centroids simply stretch along the x-axis.
D. None of the algorithms are robust to non-uniform scaling when using standard Euclidean distance.

59 A data scientist decides to construct a k-distance graph to determine the optimal for DBSCAN, setting . They plot the sorted k-distances of all points in descending order. If the graph exhibits two distinct, sharp 'knees' (inflection points) separated by a long plateau, what topological characteristic does the dataset likely possess?

Density-based clustering: DBSCAN fundamentals, e-neighborhood, MinPts Hard
A. The dataset contains at least two distinct clusters of significantly different densities.
B. The dataset is essentially uniformly distributed without any cluster structures.
C. The dataset suffers from the curse of dimensionality, rendering the distance metric useless.
D. The dataset consists exclusively of noise points randomly scattered around a single core point.

60 Average Linkage clustering (UPGMA) avoids the chaining effect of Single Linkage and the extreme sensitivity to outliers of Complete Linkage. What is a strict mathematical requirement for the distance metric between points for Average Linkage to produce an ultrametric tree without reversals?

Linkage methods (single, complete, average, Ward) Hard
A. The distance metric must be Euclidean, as Ward's linkage is the only alternative for non-Euclidean spaces.
B. There is no requirement; UPGMA is space-conserving and inherently monotonic regardless of the strict metric properties of the underlying dissimilarity matrix.
C. The distance metric must be identical to the Pearson correlation coefficient.
D. The distance metric must satisfy and , and UPGMA will always guarantee monotonicity.