Tags: #◇CSMODEL #◇Mock Exams #◇Computer Science #◇Data Science #◇Statistical Modeling #◇Python #◇Machine Learning
Mock Exam 1
◇Overview
This mock examination assesses comprehensive statistical modeling concepts across probability distributions, hypothesis testing, regression analysis, clustering, classification, association rule mining, and time series modeling.
◇References & Navigation
- Detailed Step-by-Step Solutions: ◇[ANS] 1
- Consolidated Answer Key: ◇[ANS] Answer Key
- Calculator Guide: ◇[HO] calculator
ACTIVE RECALL VERIFICATION
Select an answer to verify conceptual comprehension and reveal the technical rationale.
What is the probability of drawing two Aces consecutively from a standard deck of 52 cards without replacement?
If a coin is flipped 3 times, what is the probability of getting exactly 2 heads?
In a one-sample z-test, the sample mean is 105, population mean is 100, population standard deviation is 15, and sample size is 36. What is the z-statistic?
Given support(X) = 0.5, support(Y) = 0.4, confidence(X -> Y) = 0.6. What is support(X U Y)?
An input volume of size 32x32x3 is convolved with 10 filters of size 5x5x3, stride 1, padding 2. What are the dimensions of the resulting output volume?
In a factory, Machine A produces 60% of the items and Machine B produces 40%. Machine A has a defect rate of 2% and Machine B has a defect rate of 5%. If a randomly selected item is defective, what is the probability it came from Machine B?
An input volume has size 12x12x1. A convolution is applied using a 5x5 filter with stride 1 and padding 0. How many multiplications are performed in total during this single forward pass (ignoring bias addition)?
If a dense network layer takes the flattened output of a 7x7x64 max pooling layer as input, and the dense layer has 10 neurons, how many weights (excluding bias) connect the max pooling layer to the dense layer?
According to the presentation Q&A, what is the primary reason for choosing Standard Scaling (Standardization) over Min-Max Scaling (Normalization), and what is a common misconception about the resulting values of Standardization?
You have an MA(1) model: y_t = 10 + 0.5 * e_{t-1}. If the previous forecast error e_{t-1} was -4, what is the forecast for y_t?
Consider the corpus: ["apple banana apple", "banana cherry"]. If we use a Bag of Words approach with CountVectorizer and alphabetical ordering of features, what is the feature vector for the first document?
Consider finding Apriori candidates. The frequent 2-itemsets are {1,2}, {1,3}, {2,3}, {2,4}. What are the candidate 3-itemsets generated before pruning?
Calculate the 95% confidence interval for the variance of a sample of size 10 with a sample variance of 20. (Chi-square critical values for df=9: 2.700 and 19.023)
What is the probability of rolling a sum of 7 with two fair six-sided dice?
In the context of K-Means clustering, what does "inertia" represent and what is the ideal direction for this metric?
Consider an undirected graph with 5 nodes. The degree sequence is 2, 2, 3, 3, 2. How many edges does this graph have?
What is the dot product of item profile [2, 4, 6] and user profile [1, 0, 0]?
Evaluate the objective function Z = 4x + 6y at the point (0, 3).
What does the p-value represent in hypothesis testing?
What is the interpretation of a "Lift" value greater than 1 in an association rule A -> B?
Calculate the Jaccard distance between Set A = {1, 2, 3} and Set B = {2, 3, 4, 5}.
What is the dot product of item profile [4, 5] and user profile [-1, 2]?
Calculate the Root Mean Squared Error (RMSE) for actual values [5, 10] and predictions [2, 6].
A document contains the text: "Very good very very good". What is the raw term frequency (count) of the unigram "very"?
What is the maximum possible value for Confidence of an association rule?
Calculate the cosine similarity between user A [1, 1] and user B [1, 1].
A 64x64 RGB image is flattened into a 1D vector. What is the dimension of the resulting vector?
In an ARIMA(1, 1, 0) model, what does the middle '1' signify?
The actual values are [100, 200] and predictions are [90, 210]. What is the Mean Absolute Percentage Error (MAPE)?
Which distribution is used for hypothesis testing of a population variance?
Calculate the Weighted Moving Average (WMA) for a time series [10, 20, 30] at t=3 with weights [1, 2, 3] (where the most recent observation has the highest weight).
A feature map of size 24x24 is subjected to a Max Pooling layer with a 3x3 filter and stride 3. What is the output dimension?
Calculate the Manhattan distance between point P(2, 3) and point Q(5, 7).
Calculate the cosine similarity between user A [3, 0, 4] and user B [0, 3, 4].
In Word2Vec architectures, which statement correctly describes the Continuous Bag of Words (CBOW) and Skip-Gram models?
Calculate the cosine similarity between user A with ratings [1, 0] and user B with ratings [0, 1].
You have two urns. Urn 1 has 4 red balls and 6 blue balls. Urn 2 has 5 red balls and 5 blue balls. You randomly pick an urn and then randomly pick a ball. It is red. What is the probability you picked Urn 1?
In Linear Programming, what represents the set of all possible points that satisfy all constraints?
In a paired t-test with 20 pairs, the mean difference is 3.5 and standard deviation of differences is 4.0. What is the t-statistic?
After the pruning step of Apriori for the candidates {1,2,3} and {2,3,4} from the previous question, which candidates remain? The frequent 2-itemsets were {1,2}, {1,3}, {2,3}, {2,4}.
A graph has 4 nodes (A, B, C, D). Edges exist between (A,B), (B,C), (C,D), and (A,D). The edge weights are respectively 2, 3, 1, 5. What is the shortest path length from A to C?
In a document of 200 words, the word "algorithm" appears 8 times. What is the normalized Term Frequency (TF)?
Calculate the Minkowski distance (p=3) between P(0,0) and Q(3,4).
Using the same dataset (Total=10, Supp(A)=0.7, Supp(B)=0.6, Supp(A,B)=0.4), what is the confidence of the rule {A} -> {B}?
A random walk starts at node A, which has 4 outgoing edges with equal probability. One of the edges goes to B. Node B has 2 outgoing edges, one going to C. What is the probability of traversing the path A -> B -> C?
Is the point (3, 4) feasible for the constraint x + y <= 5?
In agglomerative clustering, the distance between Cluster 1 {A(0,0)} and Cluster 2 {B(3,0), C(4,0)} using complete linkage is:
An image of size 28x28 is processed by a convolutional layer with a 3x3 filter, stride of 1, and no padding (valid padding). What is the spatial dimension of the output feature map?
What is the dot product of item profile [-1, -1] and user profile [2, 2]?
The actual values for a time series are [10, 15, 20] and the predicted values are [12, 14, 23]. What is the Mean Absolute Error (MAE)?