Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
ankitgupta.1729
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by ankitgupta.1729
2
answers
1
GATE DS&AI 2024 | Question: 31
Consider the following Python function: def $\operatorname{fun}(D, s 1, s 2)$ : if $\mathrm{s} 1<\mathrm{s} 2$ ... both inclusive. It swaps the elements in $\mathrm{D}$ at indices $\mathrm{s} 1$ and $\mathrm{s} 2$, and leaves the remaining elements unchanged.
Consider the following Python function:def $\operatorname{fun}(D, s 1, s 2)$ :if $\mathrm{s} 1<\mathrm{s} 2$ :$\mathrm{D}[\mathrm{s} 1], \mathrm{D}[\mathrm...
857
views
commented
Mar 15
Programming in Python
gate-ds-ai-2024
programming
+
–
5
answers
2
GATE CSE 2022 | Question: 35
Consider solving the following system of simultaneous equations using $\text{LU}$ decomposition. $x_{1} + x_{2} - 2x_{3} = 4$ $x_{1} + 3x_{2} - x_{3} = 7$ $2x_{1} + x_{2} - 5x_{3} = 7$ where $\textit{L}$ and $\textit{U}$ ... $\textit{L}_{32}= - \frac{1}{2}, \textit{U}_{33}= - \frac{1}{2}, x_{1}= 0$
Consider solving the following system of simultaneous equations using $\text{LU}$ decomposition.$$x_{1} + x_{2} – 2x_{3} = 4$$$$x_{1} + 3x_{2} – x_{3} = 7$$$$2x_{1} +...
11.1k
views
answer edited
Mar 9
Linear Algebra
gatecse-2022
linear-algebra
matrix
system-of-equations
2-marks
+
–
4
answers
3
GATE DS&AI 2024 | GA Question: 7
The probability of a boy or a girl being born is $1 / 2$. For a family having only three children, what is the probability of having two girls and one boy? $3 / 8$ $1 / 8$ $1 / 4$ $1 / 2$
The probability of a boy or a girl being born is $1 / 2$. For a family having only three children, what is the probability of having two girls and one boy?$3 / 8$$1 / 8$$...
2.2k
views
commented
Mar 7
Quantitative Aptitude
gate-ds-ai-2024
quantitative-aptitude
probability
+
–
1
answer
4
Definite Integral
$\displaystyle S = \int_{0}^{2\pi } \sqrt{4\cos^{2}t +\sin^{2}t} \, \, dt$ Please explain how to solve it.
$\displaystyle S = \int_{0}^{2\pi } \sqrt{4\cos^{2}t +\sin^{2}t} \, \, dt$Please explain how to solve it.
907
views
commented
Mar 7
Calculus
calculus
integration
engineering-mathematics
integrals
+
–
1
answer
5
GATE DS&AI 2024 | Question: 51
Let $\text{u}=\left[\begin{array}{l}1 \\ 2 \\ 3 \\ 4 \\ 5\end{array}\right]$, and let $\sigma_{1}, \sigma_{2}, \sigma_{3}, \sigma_{4}, \sigma_{5}$ be the singular values of the matrix $\text{M}=\text{u} \text{u}^{\text{T}}$ (where $\text{u}^{\text{T}}$ is the transpose of $\text{u}$ ). The value of $\sum_{i=1}^{5} \sigma_{i}$ is $\_\_\_\_\_\_\_\_\_$
Let $\text{u}=\left[\begin{array}{l}1 \\ 2 \\ 3 \\ 4 \\ 5\end{array}\right]$, and let $\sigma_{1}, \sigma_{2}, \sigma_{3}, \sigma_{4}, \sigma_{5}$ be the singular values ...
904
views
commented
Feb 25
Others
gate-ds-ai-2024
numerical-answers
+
–
1
answer
6
GATE DS&AI 2024 | Question: 49
Consider a joint probability density function of two random variables $X$ and $Y$ \[ f_{X, Y}(x, y)=\left\{\begin{array}{rll}2 x y, & 0<x<2, & 0<y<x \\ 0, & \text { otherwise } & \end{array}\right. \] Then, $E[Y \mid X=1.5]$ is $\_\_\_\_\_\_\_\_\_$
Consider a joint probability density function of two random variables $X$ and $Y$\[f_{X, Y}(x, y)=\left\{\begin{array}{rll}2 x y, & 0<x<2, & 0<y<x \\ 0, & \text { otherwi...
936
views
comment edited
Feb 25
Others
gate-ds-ai-2024
numerical-answers
+
–
0
answers
7
GATE DA 2024 ANSWER KEY CHALLENGE
Hello, I wanted to discuss the answer key given for some of the questions in official website. The doubts are following 1) It's about alpha beta pruning (Q25 in master question paper, 1 mark). The answer should be (m) = lowest, (n) = ... other people think ? I am planning to challenge these two questions but I feel that 2nd one will not be accepted by GATE.
Hello,I wanted to discuss the answer key given for some of the questions in official website. The doubts are following1) It's about alpha beta pruning (Q25 in master ques...
526
views
commented
Feb 25
Unknown Category
machine-learning
gate2024-da-memory-based
+
–
3
answers
8
GATE CSE 2024 | Set 2 | Question: 34
Let $x$ and $y$ be random variables, not necessarily independent, that take real values in the interval $[0,1]$. Let $z=x y$ and let the mean values of $x, y, z$ be $\bar{x}, \bar{y}, \bar{z}$ ... $\bar{z} \leq \bar{x} \bar{y}$ $\bar{z} \geq \bar{x} \bar{y}$ $\bar{z} \leq \bar{x}$
Let $x$ and $y$ be random variables, not necessarily independent, that take real values in the interval $[0,1]$. Let $z=x y$ and let the mean values of $x, y, z$ be $\bar...
2.2k
views
comment edited
Feb 24
Probability
gatecse2024-set2
probability
random-variable
+
–
3
answers
9
GATE DS&AI 2024 | GA Question: 10
Visualize two identical right circular cones such that one is inverted over the other and they share a common circular base. If a cutting plane passes through the vertices of the assembled cones, what shape does the outer boundary of the resulting cross-section make? A rhombus A triangle An ellipse A hexagon
Visualize two identical right circular cones such that one is inverted over the other and they share a common circular base. If a cutting plane passes thro...
2.0k
views
commented
Feb 24
Spatial Aptitude
gate-ds-ai-2024
spatial-aptitude
+
–
3
answers
10
GATE CSE 2024 | Set 1 | Question: 32
Consider the following recurrence relation: $T(n)=\left\{\begin{array}{c}\sqrt{n} T(\sqrt{n})+n \text { for } n \geq 1, \\ 1 \quad \text { for } n=1\end{array}\right.$ Which one of the following options is CORRECT? $T(n)=\Theta(n \log \log n)$ $T(n)=\Theta(n \log n)$ $T(n)=\Theta\left(n^2 \log n\right)$ $T(n)=\Theta\left(n^2 \log \log n\right)$
Consider the following recurrence relation:$T(n)=\left\{\begin{array}{c}\sqrt{n} T(\sqrt{n})+n \text { for } n \geq 1, \\ 1 \quad \text { for } n=1\end{array}\right.$Whic...
1.9k
views
commented
Feb 24
Algorithms
gatecse2024-set1
algorithms
+
–
3
answers
11
GATE CSE 2024 | Set 1 | GA: 10
The least number of squares to be added in the figure to make $\text{A B}$ a line of symmetry is $6$ $4$ $5$ $7$
The least number of squares to be added in the figure to make $\text{A B}$ a line of symmetry is$6$$4$$5$$7$
2.4k
views
commented
Feb 24
Spatial Aptitude
gatecse2024-set1
spatial-aptitude
+
–
2
answers
12
GATE CSE 2024 | Set 1 | GA: 5
For positive non-zero real variables $p$ and $q$, if $\log \left(p^2+q^2\right)=\log p+\log q+2 \log 3,$ then, the value of $\frac{p^4+q^4}{p^2 q^2}$ is $79$ $81$ $9$ $83$
For positive non-zero real variables $p$ and $q$, if$\log \left(p^2+q^2\right)=\log p+\log q+2 \log 3,$then, the value of $\frac{p^4+q^4}{p^2 q^2}$ is$79$$81$$9$$83$
2.9k
views
commented
Feb 20
Quantitative Aptitude
gatecse2024-set1
quantitative-aptitude
+
–
2
answers
13
GATE CSE 2024 | Set 2 | GA Question: 5
In the sequence $6,9,14, x, 30,41$, a possible value of $x$ is $25$ $21$ $18$ $20$
In the sequence $6,9,14, x, 30,41$, a possible value of $x$ is$25$$21$$18$$20$
2.1k
views
commented
Feb 20
Analytical Aptitude
gatecse2024-set2
analytical-aptitude
+
–
1
answer
14
GATE CSE 2024 | Set 1 | GA: 2
If two distinct non-zero real variables $x$ and $y$ are such that $(x+y)$ is proportional to $(x-y)$ then the value of $\frac{x}{y}$ depends on $x y$ depends only on $x$ and not on $y$ depends only on $y$ and not on $x$ is a constant
If two distinct non-zero real variables $x$ and $y$ are such that $(x+y)$ is proportional to $(x-y)$ then the value of $\frac{x}{y}$depends on $x y$depends only ...
2.9k
views
commented
Feb 19
Quantitative Aptitude
gatecse2024-set1
quantitative-aptitude
+
–
2
answers
15
GATE DS&AI 2024 | Question: 54
Given the following Bayesian Network consisting of four Bernoulli random variables and the associated conditional probability tables: \begin{array}{|c|c|} \hline & P(\cdot) \\ \hline U=0 & 0.5 \\ \hline U=1 & 0.5 \\ \hline \end{array} \begin{array}{|c|c|c|} \ ... The value of $P(U=1, V=1, W=1, Z=1)= \_\_\_\_\_\_\_$ (rounded off to three decimal places).
Given the following Bayesian Network consisting of four Bernoulli random variables and the associated conditional probability tables:\begin{array}{|c|c|}\hline & P(\cdot)...
1.0k
views
answered
Feb 19
Others
gate-ds-ai-2024
numerical-answers
+
–
2
answers
16
GATE DS&AI 2024 | Question: 32
Consider the table below, where the $(i, j)^{t h}$ element of the table is the distance between points $x_{i}$ and $x_{j}$. Single linkage clustering is performed on data points, $x_{1}, x_{2}, x_{3}, x_{4}, x_{5}$. \begin{array} ... & 3 & 5 & 1 & 0 \\ \hline \end{array} Which ONE of the following is the correct representation of the clusters produced?
Consider the table below, where the $(i, j)^{t h}$ element of the table is the distance between points $x_{i}$ and $x_{j}$. Single linkage clustering is performed on data...
635
views
answered
Feb 17
Others
gate-ds-ai-2024
+
–
1
answer
17
GATE DS&AI 2024 | Question: 52
Details of ten international cricket games between two teams "Green" and "Blue" are given in Table $\mathrm{C}$. This table consists of matches played on different pitches, across formats along with their winners. The attribute Pitch can take one of two values: spin-friendly ( ... $S$ $O$ Green $8$ $F$ $T$ Blue $9$ $F$ $O$ Blue $10$ $S$ $O$ Green
Details of ten international cricket games between two teams "Green" and "Blue" are given in Table $\mathrm{C}$. This table consists of matches played on different pitche...
756
views
answered
Feb 17
Others
gate-ds-ai-2024
numerical-answers
+
–
1
answer
18
GATE DS&AI 2024 | GA Question: 9
Three different views of a dice are shown in the figure below. The piece of paper that can be folded to make this dice is
Three different views of a dice are shown in the figure below.The piece of paper that can be folded to make this dice is
1.2k
views
answer edited
Feb 17
Spatial Aptitude
gate-ds-ai-2024
spatial-aptitude
figure-rotation
+
–
1
answer
19
GATE DS&AI 2024 | Question: 10
Given a dataset with $K$ binary-valued attributes (where $K>2$ ) for a two-class classification task, the number of parameters to be estimated for learning a naïve Bayes classifier is $2^{K}+1$ $2 K+1$ $2^{K+1}+1$ $K^{2}+1$
Given a dataset with $K$ binary-valued attributes (where $K>2$ ) for a two-class classification task, the number of parameters to be estimated for learn...
799
views
commented
Feb 17
Others
gate-ds-ai-2024
+
–
1
answer
20
GATE DS&AI 2024 | Question: 26
A fair six-sided die (with faces numbered $1,2,3,4,5,6$ ) is repeatedly thrown independently. What is the expected number of times the die is thrown until two consecutive throws of even numbers are seen? $2$ $4$ $6$ $8$
A fair six-sided die (with faces numbered $1,2,3,4,5,6$ ) is repeatedly thrown independently.What is the expected number of times the die is thrown until t...
983
views
commented
Feb 17
Probability
gate-ds-ai-2024
probability
+
–
2
answers
21
GATE DS&AI 2024 | Question: 29
Consider the function computes $(X)$ whose pseudocode is given below: computes $(X)$ $S[1] \leftarrow 1$ for $i \leftarrow 2$ to length $(X)$ $S[i] \leftarrow 1$ if $X[i-1] \leq X[i]$ $S[i] \leftarrow S[i]+S[i-1]$ end if end for return $S$ Which ONE of the following values is ... for $X=[6,3,5,4,10]$ ? $[1,1,2,3,4]$ $[1,1,2,3,3]$ $[1,1,2,1,2]$ $[1,1,2,1,5]$
Consider the function computes $(X)$ whose pseudocode is given below:computes $(X)$$S \leftarrow 1$for $i \leftarrow 2$ to length $(X)$$S[i] \leftarrow 1$...
602
views
answered
Feb 17
Others
gate-ds-ai-2024
+
–
1
answer
22
GATE DS&AI 2024 | Question: 50
Evaluate the following limit: \[ \lim _{x \rightarrow 0} \frac{\ln \left(\left(x^{2}+1\right) \cos x\right)}{x^{2}}= \]
Evaluate the following limit:\[\lim _{x \rightarrow 0} \frac{\ln \left(\left(x^{2}+1\right) \cos x\right)}{x^{2}}= \]
762
views
commented
Feb 17
Calculus
gate-ds-ai-2024
numerical-answers
limits
engineering-mathematics
+
–
1
answer
23
GATE DS&AI 2024 | Question: 23
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be the function $f(x)=\frac{1}{1+e^{-x}}$. The value of the derivative of $f$ at $x$ where $f(x)=0.4$ is $\_\_\_\_\_\_\_$. (rounded off to two decimal places). Note: $\mathbb{R}$ denotes the set of real numbers.
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be the function $f(x)=\frac{1}{1+e^{-x}}$.The value of the derivative of $f$ at $x$ where $f(x)=0.4$ is $\_\_\_\_\_\_\_$. (roun...
674
views
answer edited
Feb 17
Others
gate-ds-ai-2024
numerical-answers
+
–
1
answer
24
GATE DS&AI 2024 | Question: 55
Two fair coins are tossed independently. $X$ is a random variable that takes a value of $1$ if both tosses are heads and $0$ otherwise. $Y$ is a random variable that takes a value of $1$ if at least one of the tosses is heads and $0$ otherwise. The value of the covariance of $X$ and $Y$ is $\_\_\_\_\_\_\_$ (rounded off to three decimal places).
Two fair coins are tossed independently. $X$ is a random variable that takes a value of $1$ if both tosses are heads and $0$ otherwise. $Y$ is a random variable that take...
1.7k
views
answer edited
Feb 17
Others
gate-ds-ai-2024
numerical-answers
+
–
1
answer
25
GATE DS&AI 2024 | Question: 12
For any binary classification dataset, let $S_{B} \in \mathbb{R}^{d \times d}$ and $S_{W} \in \mathbb{R}^{d \times d}$ be the between-class and within-class scatter (covariance) matrices, respectively. The Fisher linear discriminant is defined by $u^{*} \in \mathbb{R}^{d}$, ... $S_{B} S_{W} u^{*}=\lambda u^{*}$ $u^{* T} u^{*}=\lambda^{2}$
For any binary classification dataset, let $S_{B} \in \mathbb{R}^{d \times d}$ and $S_{W} \in \mathbb{R}^{d \times d}$ be the between-class and within-c...
458
views
answered
Feb 17
Others
gate-ds-ai-2024
+
–
1
answer
26
GATE DS&AI 2024 | Question: 43
Consider the following figures representing datasets consisting of two-dimensional features with two classes denoted by circles and squares. Which of the following is/are TRUE? $\text{(i)}$ is linearly separable. $\text{(ii)}$ is linearly separable. $\text{(iii)}$ is linearly separable. $\text{(iv)}$ is linearly separable.
Consider the following figures representing datasets consisting of two-dimensional features with two classes denoted by circles and squares.Which of the following is/are ...
701
views
commented
Feb 16
Others
gate-ds-ai-2024
+
–
1
answer
27
GATE DS&AI 2024 | Question: 27
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be a function. Note: $\mathbb{R}$ denotes the set of real numbers. \[ f(x)=\left\{\begin{array}{cl} -x, & \text { if } x<-2 \\ a x^{2}+b x+c, & \text { if } x \in[-2,2] \\ x, & \text { if } x>2 \end ... differentiable? $a=\frac{1}{4}, b=0, c=1$ $a=\frac{1}{2}, b=0, c=0$ $a=0, b=0, c=0$ $a=1, b=1, c=-4$
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be a function. Note: $\mathbb{R}$ denotes the set of real numbers.\[f(x)=\left\{\begin{array}{cl}-x, & \text { i...
750
views
commented
Feb 16
Others
gate-ds-ai-2024
+
–
1
answer
28
GATE DS&AI 2024 | Question: 25
Consider the $3 \times 3$ matrix $\boldsymbol{M}=\left[\begin{array}{lll}1 & 2 & 3 \\ 3 & 1 & 3 \\ 4 & 3 & 6\end{array}\right]$. The determinant of $\left(\boldsymbol{M}^{2}+12 \boldsymbol{M}\right)$ is $\_\_\_\_\_\_\_\_\_$.
Consider the $3 \times 3$ matrix $\boldsymbol{M}=\left[\begin{array}{lll}1 & 2 & 3 \\ 3 & 1 & 3 \\ 4 & 3 & 6\end{array}\right]$.The determinant of $\left(\boldsymbol{M}^{...
606
views
commented
Feb 16
Others
gate-ds-ai-2024
numerical-answers
+
–
1
answer
29
GATE DS&AI 2024 | Question: 39
Let $\mathbb{R}$ be the set of real numbers, $U$ be a subspace of $\mathbb{R}^{3}$ and $\text{M} \in \mathbb{R}^{3 \times 3}$ be the matrix corresponding to the projection on to the subspace $U$. Which of the following statements is/are TRUE? If $U$ is a ... of $\mathbb{R}^{3}$, then the null space of $\text{M}$ is a $1$-dimensional subspace. $M^{2}=M$ $M^{3}=M$
Let $\mathbb{R}$ be the set of real numbers, $U$ be a subspace of $\mathbb{R}^{3}$ and $\text{M} \in \mathbb{R}^{3 \times 3}$ be the matrix corresponding t...
711
views
answered
Feb 16
Others
gate-ds-ai-2024
+
–
2
answers
30
GATE CSE 2024 | Set 2 | Question: 7
Let $\text{A}$ be the adjacency matrix of a simple undirected graph $\text{G}$. Suppose $\text{A}$ is its own inverse. Which one of the following statements is always TRUE? $\text{G}$ is a cycle $\text{G}$ is a perfect matching $\text{G}$ is a complete graph There is no such graph $\text{G}$
Let $\text{A}$ be the adjacency matrix of a simple undirected graph $\text{G}$. Suppose $\text{A}$ is its own inverse. Which one of the following statements i...
2.6k
views
answered
Feb 16
Graph Theory
gatecse2024-set2
graph-theory
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register