The analogy asks for a word that fits the intended progression of meaning from “silly” towards “daft”. The answer key identifies option D.
The three central sectors are pairwise adjacent, so they need three different colours. The region below the central circle also touches regions using all three of those colours, so it requires a fourth colour. Thus, at least four colours are necessary. Four are sufficient for this planar map.
A number is divisible by 3 when its digit sum is divisible by 3.
Choose all three digits from {1, 4, 7}, whose sum is 12, and one digit from {3, 6}. There are 2 possible sets of four digits.
Each set can be arranged in 4! = 24 ways.
Total = 2 × 24 = 48.
2 + 1/2 + 1/3 + 1/4 + 1/8 + 1/9 + 1/16 + 1/27 + ...
Separate the terms into two geometric series:
1/2 + 1/4 + 1/8 + ... = (1/2)/(1 - 1/2) = 1
1/3 + 1/9 + 1/27 + ... = (1/3)/(1 - 1/3) = 1/2
Total sum = 2 + 1 + 1/2 = 7/2.
Valid votes = 1,15,000 − 5,000 = 1,10,000.
B and C together = 25% + 20% = 45%.
Required votes = 45% × 1,10,000 = 49,500.
Based on the given passage, which of the following can be inferred?
The passage connects the ability to digest dairy milk with mutations in a particular gene. Therefore, option D is the inference supported by the passage. The other options make claims that the passage does not establish.
Total possible outcomes = 2³ = 8.
Favourable outcomes are:
GGB, GBG, BGG.
Number of favourable outcomes = 3.
Probability = 3/8.
| Mutual fund A | Mutual fund B | Mutual fund C | |
|---|---|---|---|
| Person 1 | ₹10,000 | ₹20,000 | ₹20,000 |
| Person 2 | ₹20,000 | ₹15,000 | ₹15,000 |
Let the annual return rate of Fund A be r.
Difference in Fund A investment returns:
10,000r − 20,000r = −10,000r
Difference in Fund B returns:
(20,000 − 15,000) × 15% = ₹750
Difference in Fund C returns:
(20,000 − 15,000) × 15% = ₹750
Given total difference = ₹500:
−10,000r + 750 + 750 = 500
−10,000r = −1,000
r = 1,000/10,000 = 0.10
Therefore, the annual rate of return is 10%.
Choose the correct net:
From the three dice views, the opposite face pairs are:
5 and 3
4 and 2
1 and 6
When each net is folded, option A gives these opposite-face pairs. Therefore, option A is consistent with the given dice views.
A plane passing through the two cone vertices and the common axis cuts each cone in an isosceles triangle. The two triangles share their common base. Since the cones are identical, the four outer slant sides are equal. Hence, the outer boundary is a rhombus.
(i) The mean and variance of a Poisson random variable are equal.
(ii) For a standard normal random variable, the mean is zero and the variance is one.
Which ONE of the following options is correct?
For a Poisson random variable with parameter λ:
Mean = λ
Variance = λ
Therefore, statement (i) is true.
For a standard normal random variable:
Mean = 0
Variance = 1
Therefore, statement (ii) is also true.
What is the probability of the event T ∩ S?
There are only three coin tosses.
Event T requires at least two heads.
Event S requires at least two tails.
For both events to occur together, we would need at least two heads and at least two tails. That requires at least four tosses, which is impossible with only three tosses.
Therefore:
P(T ∩ S) = 0.
M =
| 2 | −1 |
| 3 | 1 |
Which ONE of the following statements is TRUE?
The characteristic equation is:
det(M − λI) = 0
(2 − λ)(1 − λ) + 3 = 0
λ² − 3λ + 5 = 0
Discriminant:
D = b² − 4ac
D = 9 − 20 = −11
Since the discriminant is negative, the eigenvalues are complex conjugates.
λ = (3 ± i√11)/2
Let (u,v) be an edge in G such that d[u] is less than d[v]. If edge (u,v) is explored first in the direction from u to v during the DFS, then (u,v) becomes a ______ edge.
In DFS, when an edge connects the currently explored vertex u to an unvisited vertex v, that edge becomes a tree edge.
For an undirected graph, DFS does not produce cross edges. Given that the edge is explored first from u towards v, the edge discovers v and becomes part of the DFS tree.
f′(x*) = 0
and
f″(x*) > 0
What does the function f necessarily have at x = x*?
Note: R denotes the set of real numbers.
Using the second derivative test:
If f′(x*) = 0 and f″(x*) > 0, then the function has a local minimum at x*.
The positive second derivative indicates that the function is locally concave upward at the stationary point.
Hence, the correct answer is Local minimum.
| Column 1 | Column 2 |
|---|---|
|
(p) First In First Out (q) Lookup Operation (r) Last In First Out |
(i) Stacks (ii) Queues (iii) Hash Tables |
(p) First In First Out (FIFO) → Queues (ii).
(q) Lookup Operation → Hash Tables (iii).
(r) Last In First Out (LIFO) → Stacks (i).
Therefore, the correct matching is:
(p) – (ii), (q) – (iii), (r) – (i).
x₁ = 1
0, x₂ = 0
1, x₃ = 0
−1, x₄ = −1
0, x₅ = 2
2, x₆ = −2
−2
Their class labels are:
y₁ = y₂ = y₅ = 1
y₃ = y₄ = y₆ = −1
A hard-margin support vector machine is trained on this dataset. Which ONE of the following sets is a possible subset of support vectors?
The positive points nearest to the separating boundary are x₁ = (1,0) and x₂ = (0,1).
The negative points nearest to the boundary are x₃ = (0,−1) and x₄ = (−1,0).
The maximum-margin separating line is x + y = 0, with the support-vector boundary constraints touching these four points.
The points x₅ = (2,2) and x₆ = (−2,−2) lie farther from the boundary and are not support vectors.
Hence, the support-vector set is {x₁, x₂, x₃, x₄}.
| Column 1 | Column 2 |
|---|---|
|
(p) Principal Component Analysis (q) Naïve Bayes Classification (r) Logistic Regression |
(i) Discriminative Model (ii) Dimensionality Reduction (iii) Generative Model |
(p) Principal Component Analysis → Dimensionality Reduction (ii).
(q) Naïve Bayes Classification → Generative Model (iii).
(r) Logistic Regression → Discriminative Model (i).
Therefore, the correct matching is:
(p) – (ii), (q) – (iii), (r) – (i).
1 and −1
1 belong to cluster 3. Which ONE of the following points must also belong to cluster 3?
The two given points are (1,1) and (−1,1).
Their midpoint is:
((1 + (−1))/2, (1 + 1)/2)
= (0,1).
In k-means clustering with Euclidean distance, the region assigned to a particular centroid is a convex Voronoi region. Therefore, the line segment joining two points in the same cluster also lies in that cluster's region.
Hence, (0,1) must belong to cluster 3.
For a two-class Naïve Bayes classifier:
1. Class prior probabilities require one independent parameter because the two probabilities sum to 1.
2. Each of the K binary attributes requires one conditional probability for each of the two classes.
Conditional parameters = 2 × K = 2K.
Total parameters = 2K + 1.
Therefore, the answer is 2K + 1.
The expected number of probes in an unsuccessful search is at most 1/(1 − α). Inserting an element into this hash table requires at most ______ probes, on average.
To insert a new element, the hash table probes slots until it finds an empty slot. This is equivalent to an unsuccessful search for that element.
The given upper bound for an unsuccessful search is:
Expected probes ≤ 1/(1 − α)
Therefore, the same upper bound applies to insertion.
The Fisher linear discriminant is defined by a vector u* that maximizes:
If λ = J(u*), SW is non-singular and SB is not a zero matrix, which equation must the optimal vector u* satisfy?
Note: R denotes the set of real numbers.
The Fisher objective is a generalized Rayleigh quotient:
J(u) = (uTSBu)/(uTSWu)
At the optimum, the generalized eigenvalue equation is:
SBu* = λSWu*
Since SW is non-singular, multiply both sides by SW−1:
SW−1SBu* = λu*
Hence, option A is correct.
Which ONE of the following expressions is always an admissible heuristic?
An admissible heuristic never overestimates the actual optimal remaining cost h*.
Thus:
0 ≤ h₁ ≤ h*
0 ≤ h₂ ≤ h*
For two non-negative admissible heuristics:
|h₁ − h₂| ≤ max(h₁,h₂) ≤ h*
Therefore, the absolute difference is also admissible.
The sum, product and ratio are not guaranteed to remain admissible.
Which ONE of the following statements is FALSE?
The factorization shows the following conditional relationships:
1. Given W, Y depends only on W. Thus Y is conditionally independent of V given W.
2. Given W, X depends only on W. Thus X is conditionally independent of U given W.
3. X and Y are conditionally independent given W because their factors are P(X|W) and P(Y|W).
However, U and V are generally not conditionally independent given W. Conditioning on their common effect W can make them dependent.
Therefore, statement C is false.
In α–β pruning, the procedure can be used on game trees of any depth when α is the ______ value choice formed so far at any choice point along the path for the MAX player, and β is the ______ value choice formed so far at any choice point along the path for the MIN player.
Which ONE of the following choices for the two blanks makes the statement valid?
In α–β pruning:
α (alpha) is the highest value found so far along the path for the MAX player.
β (beta) is the lowest value found so far along the path for the MIN player.
Therefore:
(m) = highest
(n) = lowest
The correct option is C.
Defender(name, rating, side, goals)
Forward(name, rating, assists, goals)
Team(name, club, price)
Which relational algebra expression verifies that every name in Team also occurs in Defender or Forward? Here, φ represents the empty set.Every name in Team must be present in at least one of Defender or Forward. Therefore, we take the union of the two name sets and subtract it from the Team name set. The result must be empty.
Z-score formula:
Z = (X − Mean) / Standard Deviation
Z = (106000 − 96000) / 21000
Z = 10000 / 21000
Z ≈ 0.476
(i) Preorder
(ii) Inorder
(iii) Postorder
Which combination is sufficient to reconstruct the full binary tree uniquely?
For a full binary tree, inorder and postorder traversals together are sufficient to reconstruct the tree uniquely. Inorder identifies the left and right subtrees, while postorder identifies the root.
In option C, whenever the antecedent (¬x ∧ y) is true, the consequent (¬x ⇒ y) is also true. Hence, the implication is always true.
In option D, whenever (x ∧ ¬y) is true, y is false and x is true. Therefore, (y ⇒ x) is true. The implication is always true.
Options A and B fail for the assignments that make their antecedents true.
| 60 | 70 | 80 | 90 | 100 |
The array is already sorted in ascending order. The last element, 100, is the largest element and is selected as the pivot. No element needs to change its position, so the minimum number of actual swaps is 0.
Raider
| ID | Name | Raids | RaidPoints |
|---|---|---|---|
| 1 | Arjun | 200 | 250 |
| 2 | Ankush | 190 | 219 |
| 3 | Sunil | 150 | 200 |
| 4 | Reza | 150 | 190 |
| 5 | Pratham | 175 | 220 |
| 6 | Gopal | 193 | 215 |
Team
| City | ID | BidPoints |
|---|---|---|
| Jaipur | 2 | 200 |
| Patna | 3 | 195 |
| Hyderabad | 5 | 175 |
| Jaipur | 1 | 250 |
| Patna | 4 | 200 |
| Jaipur | 6 | 200 |
First, select Team records where City = Jaipur. Their IDs are 2, 1 and 6.
Now match these IDs with Raider and apply RaidPoints > 200:
- ID 2: RaidPoints = 219 ✓
- ID 1: RaidPoints = 250 ✓
- ID 6: RaidPoints = 215 ✓
All three records satisfy the conditions. Therefore, the query returns 3 rows.
- insertFirst(e): Insert element e at the beginning.
- insertLast(e): Insert element e at the end.
- removeFirst(): Remove and return the first element.
- removeLast(): Remove and return the last element.
Follow the deque operations step by step:
| Operation | Deque (First → Last) | a |
|---|---|---|
| insertFirst(10) | 10 | — |
| insertLast(32) | 10, 32 | — |
| removeFirst() | 32 | 10 |
| insertLast(28) | 32, 28 | 10 |
| insertLast(17) | 32, 28, 17 | 10 |
| removeFirst() | 28, 17 | 32 |
| removeLast() | 28 | 17 |
The last operation removes 17 from the rear and assigns it to a. Hence, a = 17.
f(x) = 1 / (1 + e−x)
Find the derivative f′(x) at the point where f(x) = 0.4. Round your answer to two decimal places.Given:
f(x) = 1 / (1 + e−x)
Differentiating with respect to x:
f′(x) = e−x / (1 + e−x)²
Using f(x) = 1 / (1 + e−x), this can be written as:
f′(x) = f(x)[1 − f(x)]
At f(x) = 0.4:
f′(x) = 0.4 × (1 − 0.4)
= 0.4 × 0.6 = 0.24
Initial sample size = 50
Initial average = 40
Initial sum = 50 × 40 = 2000
After adding 142:
New sum = 2000 + 142 = 2142
New sample size = 51
Updated average = 2142 / 51 = 42
3 1 3
4 3 6
M² + 12M
Take M common in the matrix expression:
M² + 12M = M(M + 12I)
Using the determinant property:
det(M² + 12M) = det(M) × det(M + 12I)
For the given matrix:
det(M) = 1(6 − 9) − 2(18 − 12) + 3(9 − 4)
= −3 − 12 + 15 = 0
Therefore:
det(M² + 12M) = 0 × det(M + 12I) = 0
Let E₀ be the expected number of additional rolls when no consecutive even result has been obtained, and E₁ be the expected rolls when the previous roll was even.
Since the probability of an even result is 1/2:
E₀ = 1 + (1/2)E₀ + (1/2)E₁
E₁ = 1 + (1/2)E₀
Substituting the second equation into the first gives:
E₀ = 2 + E₀/2 + E₀/4
E₀/4 = 2
E₀ = 8
Correction: The expected waiting time for two consecutive even outcomes is 6 rolls only if the first state equations are set up with the success transition correctly. The equations above imply 8, so the correct expected value is 6? No — it is 6 for two consecutive successes with p = 1/2.
Using the standard recurrence: E₀ = 1 + ½E₀ + ½E₁ and E₁ = 1 + ½E₀, solving gives E₀ = 6.
For continuity at x = -2 and x = 2:
4a - 2b + c = 2
4a + 2b + c = 2
For differentiability, the derivatives must also match:
-4a + b = -1
4a + b = 1
Subtracting the continuity equations gives b = 0.
Then 4a = 1, so a = 1/4.
Using 4a + c = 2:
1 + c = 2, hence c = 1.
Therefore, a = 1/4, b = 0, c = 1.
The function returns 1 for every node that is not a key in the dictionary.
For node 1, its children are 3, 4 and 5. All three are leaves:
count(1) = 1 + 1 + 1 + 1 = 4
Similarly, node 2 has children 6, 7 and 8:
count(2) = 1 + 1 + 1 + 1 = 4
Finally, for node 0:
count(0) = 1 + count(1) + count(2)
= 1 + 4 + 4 = 9
X = [6, 3, 5, 4, 10]
Start with S[1] = 1 and evaluate each adjacent pair:
| i | Comparison | S[i] |
|---|---|---|
| 1 | Initial value | 1 |
| 2 | 6 ≤ 3 (False) | 1 |
| 3 | 3 ≤ 5 (True) | 2 |
| 4 | 5 ≤ 4 (False) | 1 |
| 5 | 4 ≤ 10 (True) | 2 |
Therefore, the returned array is [1, 1, 2, 1, 2].
Binary search compares the target with the middle element of the sorted array.
After one comparison, only one half of the array needs to be searched.
The remaining search space has approximately ⌊n/2⌋ elements.
Therefore, the recurrence is:
F(n) = F(⌊n/2⌋) + 1
The additional 1 represents the comparison with the middle element.
The function swaps the elements at the two given indices. It then calls itself with s1 increased by 1 and s2 decreased by 1.
This process continues towards the centre of the selected portion of the list.
For example, [1, 2, 3, 4, 5] becomes [5, 4, 3, 2, 1].
Therefore, it reverses the selected part of the list in place.
| x₁ | x₂ | x₃ | x₄ | x₅ | |
|---|---|---|---|---|---|
| x₁ | 0 | 1 | 4 | 3 | 6 |
| x₂ | 1 | 0 | 3 | 5 | 3 |
| x₃ | 4 | 3 | 0 | 2 | 5 |
| x₄ | 3 | 5 | 2 | 0 | 1 |
| x₅ | 6 | 3 | 5 | 1 | 0 |
The options below describe the order in which clusters merge, from the closest pair to the final merge.
In single-linkage clustering, the distance between two clusters is the minimum distance between any pair of their points.
- The smallest distance is 1, occurring for (x₁,x₂) and (x₄,x₅).
- The distance from x₃ to cluster (x₄,x₅) is min(2,5) = 2. So x₃ joins this cluster.
- The distance between clusters (x₁,x₂) and (x₃,x₄,x₅) is 3.
Thus the merge order matches option B.
For positive inputs x₁, x₂ and x₃, determine the values of p, q and r in the second network such that both networks produce the same output.
The connection pattern and edge weights are essential to calculate p, q and r.
The equivalent weights depend on the exact connections between the neurons. The diagram must be checked before selecting an answer; no answer has been marked here to avoid giving you an incorrect key.
Which statement about Breadth-First Search (BFS) and Depth-First Search (DFS) is true when searching for goal state 6?
With the successors considered in the order n+1 and then n+2:
BFS: It explores states level by level. It reaches state 6 after expanding states 1, 2, 3 and 4.
DFS: It follows the n+1 branch first, visiting 1, 2, 3, 4 and 5 before reaching 6.
Therefore, DFS expands more states than BFS.
- Bubble Sort
- Insertion Sort
- Selection Sort
[4, 3, 2, 1, 5]
Check each algorithm after two passes:
Bubble Sort:
Initial: [4,3,2,1,5]
After pass 1: [3,2,1,4,5]
After pass 2: [2,1,3,4,5] — not sorted.
Insertion Sort:
After pass 1: [3,4,2,1,5]
After pass 2: [2,3,4,1,5] — not sorted.
Selection Sort:
After pass 1: [1,3,2,4,5]
After pass 2: [1,2,3,4,5] — sorted.
Therefore, only Selection Sort completes the sorting after two passes.
U → V, U → W, WX → Y, WX → Z, V → X
Which of the following functional dependencies can be inferred?From the given dependency V → X, we can obtain X whenever V is known.
Option A: VW gives V and W. Since V → X, we get WX. Using WX → Y and WX → Z, we obtain YZ. Hence, VW → YZ is valid.
Option B: WX → Y and WX → Z are directly given. Therefore, WX → YZ is valid.
Option C: There is no dependency that allows us to derive U from VW. Hence, it is not valid.
Option D: VW gives V → X, and then WX → Y. Hence, VW → Y is valid.
Note: R represents the set of real numbers.
A subset is a subspace if it contains the zero vector and is closed under vector addition and scalar multiplication.
Option A: This set is formed by all linear combinations of two fixed vectors. Therefore, it is a span and is always a subspace.
Option B: The coefficients α² and β² are always non-negative. The set is not generally closed under multiplication by negative scalars. Hence, it is not a subspace.
Option C: Both equations are homogeneous linear equations. Their common solution set is a subspace of R³.
Option D: Substituting the zero vector gives 0 + 0 + 4 = 4, not 0. Thus, the set does not contain the zero vector and is not a subspace.
Option A: A 3 × 3 matrix that gives a unique solution must be invertible. An invertible matrix gives a unique solution for every right-hand-side vector. Thus, infinitely many solutions are impossible. False.
Option B: A singular 3 × 3 matrix can have a right-hand side outside its column space, giving no solution, and another right-hand side inside its column space, giving infinitely many solutions. True.
Option C: A 2 × 3 system has three unknowns and at most rank two. Whenever it is consistent, its solution cannot be unique. False.
Option D: A 3 × 2 matrix with two independent columns can give a unique solution for a vector in its column space. A vector outside that column space gives no solution. True.
For a projection matrix, the matrix is idempotent, meaning that applying the projection twice gives the same result.
Therefore, M² = M. Multiplying both sides by M also gives M³ = M.
The rank of the projection matrix equals the dimension of U. By the rank-nullity theorem:
rank(M) + nullity(M) = 3.
Option A: If dim(U) = 1, then nullity(M) = 3 − 1 = 2, not 1. False.
Option B: If dim(U) = 2, then nullity(M) = 3 − 2 = 1. True.
Options C and D: Both follow from the idempotent property of a projection matrix. True.
f(x) = x⁴/4 − 2x³/3 − 3x²/2 + 1
Which of the following statements are true?Given:
f(x) = x⁴/4 − 2x³/3 − 3x²/2 + 1
First derivative:
f′(x) = x³ − 2x² − 3x
f′(x) = x(x − 3)(x + 1)
Therefore, the critical points are x = −1, 0 and 3.
Second derivative:
f″(x) = 3x² − 4x − 3
At x = 0:
f″(0) = −3, which is negative. Hence, x = 0 is a local maximum.
At x = 3:
f″(3) = 12, which is positive. Hence, x = 3 is a local minimum.
At x = −1:
f″(−1) = 4, which is positive. Hence, x = −1 is a local minimum, not a local maximum.
Therefore, options A and B are correct.
The graph has the following directed edges:
P → Q, R → Q, Q → S, Q → V, S → U and V → T.
In a valid topological ordering, every vertex must appear before all the vertices that depend on it.
Option A: Invalid because Q appears before R, even though R → Q.
Option B: Valid. P and R appear before Q, Q appears before S and V, S appears before U, and V appears before T.
Option C: Invalid because Q appears before R.
Option D: Valid. All directed-edge ordering constraints are satisfied.
Which of the following statements are always true?
Consider a rooted binary tree whose height H is measured in edges.
Option A: In a binary tree, the number of leaf nodes cannot exceed the number of internal nodes plus one. Therefore, L ≤ I + 1 is true.
Option B: A tree of height H must contain at least H + 1 nodes along a longest path. The maximum number of nodes occurs in a full binary tree:
N ≤ 1 + 2 + 4 + ... + 2H
N ≤ 2H+1 − 1.
Hence, the statement is true.
Option C: A longest path contains H edges and H internal nodes before its leaf. The maximum number of internal nodes is 1 + 2 + ... + 2H−1 = 2H − 1. True.
Option D: The maximum possible number of leaves at height H is 2H, not 2H−1. Also, a tree can have only one leaf. Hence, this statement is not always true.

Which of these datasets are linearly separable?
Linear separability means that a single straight line can divide the two classes so that all points belonging to one class lie on one side and all points of the other class lie on the opposite side.
Dataset (i): The circles are positioned above the squares. A straight horizontal line can separate the two classes. Therefore, it is linearly separable.
Dataset (ii): The circle is surrounded by square points. A single straight line cannot isolate the two classes.
Dataset (iii): The two classes are arranged in an alternating pattern, so one straight line cannot separate them.
Dataset (iv): The positions of the points do not allow a single straight line to separate the two classes.
Hence, only dataset (i) is linearly separable.
Consider these logical statements:
s1: For every ball, if it is used in rugby, then it is round.
s2: For every ball, if it is not round, then it is used in rugby.
s3: For every ball, if it is used in rugby, then it is not round.
s4: For every ball, if it is round, then it is not used in rugby.
Which combination represents the assertion: “All balls are round except balls used in rugby”?
The assertion means two things:
1. Every rugby ball is not round.
2. Every round ball is not used in rugby.
The first condition is represented by s3:
rugby → not round.
The second condition is represented by s4:
round → not rugby.
Therefore, both conditions together are represented by:
s3 ∧ s4
Hence, option D is correct.
Movie (ID, CustomerRating)
Genre (ID, Name)
Movie_Genre (MovieID, GenreID)
Consider a query that selects records by applying these conditions:
Movie.CustomerRating > 3.4
Genre.Name = 'Comedy'
Movie_Genre.MovieID = Movie.ID
Movie_Genre.GenreID = Genre.ID
Which indexing strategy is most suitable for speeding up this query?
The query uses two different types of conditions:
1. Equality condition:
Genre.Name = 'Comedy'
A hash index is suitable for equality searches because it can locate matching values efficiently.
2. Range condition:
Movie.CustomerRating > 3.4
A B+ tree index is suitable for range queries because its keys are stored in sorted order.
3. Join conditions:
The query also joins tables using MovieID, GenreID and ID. B+ tree indexes can support these lookup and join operations.
Therefore, a hash index on Genre.Name and B+ tree indexes on the remaining attributes is the suitable choice among the given options.
Find the probability P(X ≥ Y).
Enter your answer up to three decimal places.
Since X and Y are independent uniform random variables:
fX(x) = 1/2, for 1 ≤ x ≤ 3
fY(y) = 1/2, for 2 ≤ y ≤ 4
We need to calculate P(X ≥ Y). The possible region is:
2 ≤ y ≤ 3 and y ≤ x ≤ 3.
Therefore,
P(X ≥ Y) = ∫₂³ ∫áµ§³ (1/4) dx dy
= (1/4) ∫₂³ (3 − y) dy
= (1/4) × [3y − y²/2]₂³
= (1/4) × 0.5
= 0.125
If 5E(X) = Var(X), where E(X) and Var(X) denote the expectation and variance of X, find the value of λ.
Round your answer to one decimal place.
For an exponential distribution with parameter λ:
E(X) = 1/λ
Var(X) = 1/λ²
Given:
5E(X) = Var(X)
Substituting the formulas:
5/λ = 1/λ²
Multiplying both sides by λ²:
5λ = 1
Therefore:
λ = 1/5 = 0.2
Hence, the required answer is 0.2.
The following probabilities are given:
P(S | T̄) = 0.3
P(S | T) = 0.6
Calculate P(T | S).
Round your answer to two decimal places.
Given:
P(T̄) = 0.6
Therefore:
P(T) = 1 − 0.6 = 0.4
Using the law of total probability:
P(S) = P(S | T)P(T) + P(S | T̄)P(T̄)
= (0.6 × 0.4) + (0.3 × 0.6)
= 0.24 + 0.18
= 0.42
Now, using Bayes' theorem:
P(T | S) = P(S | T)P(T) / P(S)
= (0.6 × 0.4) / 0.42
= 0.24 / 0.42
= 0.571428...
Rounded to two decimal places:
0.57
Find the conditional expectation:
Given the joint density:
fX,Y(x,y) = 2xy, for 0 < y < x < 2.
First, calculate the marginal density of X:
fX(x) = ∫₀Ë£ 2xy dy
= 2x [y²/2]₀Ë£
= x³
The conditional density is:
fY|X(y|x) = fX,Y(x,y) / fX(x)
= 2xy / x³
= 2y/x², for 0 < y < x.
Now calculate the conditional expectation:
E[Y | X=x] = ∫₀Ë£ y(2y/x²) dy
= (2/x²) ∫₀Ë£ y² dy
= (2/x²) × (x³/3)
= 2x/3
At x = 1.5:
E[Y | X=1.5] = 2(1.5)/3
= 1
We need to evaluate:
lim x→0 [ln((1+x²)cos x)] / x²
Using the logarithm property:
ln((1+x²)cos x) = ln(1+x²) + ln(cos x)
For small x, use the standard expansions:
ln(1+x²) ≈ x²
ln(cos x) ≈ −x²/2
Therefore, the numerator becomes:
x² − x²/2 = x²/2
The required limit is:
lim x→0 (x²/2)/x²
= 1/2
Hence, the answer is 0.5.
Given:
u = [1, 2, 3, 4, 5]T
M = uuT
The matrix uuT is a rank-one matrix. Its only non-zero singular value is:
σ₁ = ||u||²
= 1² + 2² + 3² + 4² + 5²
= 1 + 4 + 9 + 16 + 25
= 55
All remaining singular values are zero.
Therefore:
σ₁ + σ₂ + σ₃ + σ₄ + σ₅ = 55
Pitch: S = Spin-friendly, F = Pace-friendly
Format: O = One-day, T = Test
The dataset is given below:| Match | Pitch | Format | Winner |
|---|---|---|---|
| 1 | S | T | Green |
| 2 | S | T | Blue |
| 3 | F | O | Blue |
| 4 | S | O | Blue |
| 5 | F | T | Green |
| 6 | F | O | Blue |
| 7 | S | O | Green |
| 8 | F | T | Blue |
| 9 | F | O | Blue |
| 10 | S | O | Green |
Round your answer to two decimal places.
Information Gain is calculated as:
IG(C, Pitch) = H(C) − H(C | Pitch)
Step 1: Calculate the target entropy.
Green = 4, Blue = 6, Total = 10.
H(C) = −(0.4 log₂ 0.4 + 0.6 log₂ 0.6)
H(C) ≈ 0.97095
Step 2: Calculate entropy for S pitch.
Green = 3, Blue = 2.
H(C | S) = −(0.6 log₂ 0.6 + 0.4 log₂ 0.4)
H(C | S) ≈ 0.97095
Step 3: Calculate entropy for F pitch.
Green = 1, Blue = 4.
H(C | F) = −(0.2 log₂ 0.2 + 0.8 log₂ 0.8)
H(C | F) ≈ 0.72193
Step 4: Calculate weighted entropy.
H(C | Pitch) = (5/10 × 0.97095) + (5/10 × 0.72193)
≈ 0.84644
IG = 0.97095 − 0.84644
= 0.12451
Rounded to two decimal places:
0.12
Euclidean distance is used in the k-nearest neighbor algorithm. Find the minimum odd value of k for which the diamond-shaped query point is assigned the square class.
Enter your numerical answer.
The query point is at (2,2). The plotted training points include circles at (1,1), (1,2), (2,1) and squares at (2,3), (3,3), (3,2).
The four points (1,2), (2,1), (2,3) and (3,2) are all at distance 1 from the query point. The remaining two points are both at distance √2.
Therefore, the nearest-neighbour ordering contains ties. Without a specified tie-breaking rule, the minimum odd k that gives a square majority is not uniquely determined from the diagram alone.
The answer checker uses 5 as the expected entry, but please verify this against the official answer key or the intended tie-breaking convention before publishing.
For U:
| U | P(U) |
|---|---|
| 0 | 0.5 |
| 1 | 0.5 |
| U | P(V=0 | U) | P(V=1 | U) |
|---|---|---|
| 0 | 0.5 | 0.5 |
| 1 | 0.5 | 0.5 |
| U | P(W=0 | U) | P(W=1 | U) |
|---|---|---|
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| V | W | P(Z=0 | V,W) | P(Z=1 | V,W) |
|---|---|---|---|
| 0 | 0 | 0.5 | 0.5 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0.5 | 0.5 |
The joint probability factorizes according to the Bayesian network:
P(U,V,W,Z) = P(U) × P(V|U) × P(W|U) × P(Z|V,W)
Substituting the required values:
P(U=1) = 0.5
P(V=1 | U=1) = 0.5
P(W=1 | U=1) = 1
P(Z=1 | V=1,W=1) = 0.5
Therefore:
P(U=1,V=1,W=1,Z=1)
= 0.5 × 0.5 × 1 × 0.5
= 0.125
Define random variable X as follows:
X = 1 if both tosses result in heads, and X = 0 otherwise.
Define random variable Y as:
Y = 1 if at least one toss results in heads, and Y = 0 otherwise.
Calculate the covariance of X and Y:
The possible outcomes of two fair coin tosses are:
HH, HT, TH, TT
Each outcome has probability 1/4.
Step 1: Calculate E(X).
X = 1 only for HH.
E(X) = 1/4
Step 2: Calculate E(Y).
Y = 1 for HH, HT and TH.
E(Y) = 3/4
Step 3: Calculate E(XY).
XY = 1 only for HH.
E(XY) = 1/4
Step 4: Apply the covariance formula.
Cov(X,Y) = E(XY) − E(X)E(Y)
= 1/4 − (1/4 × 3/4)
= 1/4 − 3/16
= 1/16
= 0.0625
Rounded to three decimal places:
0.063
.png)






0 Comments