Recent questions tagged gatecse2024-set1

2 votes
1 answer
32
​​​​​An array $[82,101,90,11,111,75,33,131,44,93]$ is heapified. Which one of the following options represents the first three elements in the heapified array?$...
0 votes
2 answers
33
Consider a binary min-heap containing $105$ distinct elements. Let $k$ be the index (in the underlying array) of the maximum element stored in the heap. The number of pos...
1 votes
1 answer
36
2 votes
2 answers
38
​​Consider the following $\mathrm{C}$ function definition.int f (int x, int y){ for (int i=0 ; i<y ; i++ ) { x= x + x + y; } return x; }Which of the following stateme...
0 votes
2 answers
44
Consider a $512$ GB hard disk with $32$ storage surfaces. There are $4096$ sectors per track and each sector holds $1024$ bytes of data. The number of cylinders in the ha...
1 votes
2 answers
50
The number of edges present in the forest generated by the $\text{DFS}$ traversal of an undirected graph $G$ with $100$ vertices is $40$. The number of connected componen...
0 votes
1 answer
55
5 votes
1 answer
58
Consider the following sample of numbers:$9,18,11,14,15,17,10,69,11,13$The median of the sample is$13.5$$14$$11$$18.7$
4 votes
3 answers
59
3 votes
2 answers
60
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$