Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent activity
321
views
2
answers
1
votes
Test series question of ace academy
#include<stdio.h>#define ADD(a,b)(a+b)#define SQUARE(x)(x*x)int main(){int x=2;int y=3;int z = ADD(SQUARE(x++),y);printf("%d\n",z);return 0;}What is the output of the above code snippet?
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
321
views
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
commented
1 hour
ago
Programming in C
ace-test-series
+
–
9.3k
views
5
answers
15
votes
GATE CSE 2021 Set 2 | Question: 2
Let $H$ be a binary min-heap consisting of $n$ elements implemented as an array. What is the worst case time complexity of an optimal algorithm to find the maximum element in ... \Theta (1)$\Theta (\log n)$\Theta (n)$\Theta (n \log n)$
Cxdr
9.3k
views
Cxdr
answered
5 hours
ago
DS
gatecse-2021-set2
data-structures
binary-heap
time-complexity
1-mark
+
–
248
views
0
answers
0
votes
NIELIT 2016 MAR Scientist C - Section B: 15
The equation of the plane through the point $(-1,3,2)$ and perpendicular to each of the planes $x+2y+3z=5$ and $3x+3y+z=0$ is$7x-8y+3z+25=0$7x+8y+3z+25=0$7x-8y+3z-25=0$7x-8y-3z-25=0$
makhdoom ghaya
248
views
makhdoom ghaya
edited
6 hours
ago
Others
nielit2016mar-scientistc
non-gate
+
–
618
views
2
answers
4
votes
GO Classes CS Test Series 2025 | Calculus | Topic Wise Test 3 | Question: 16
The sum of three positive numbers is $12$ and two of them are equal. Find the largest possible product.$86$64$48$72$
Khem Singh
618
views
Khem Singh
answered
7 hours
ago
Calculus
goclasses_2025_cs_em_tw_3
goclasses
calculus
differentiation
maxima-minima
2-marks
+
–
16.5k
views
5
answers
42
votes
GATE CSE 2006 | Question: 18
We are given a set $X = \{X_1,\ldots,X_n\}$ where $X_i=2^i$. A sample $S\subseteq X$ is drawn by selecting each $X_i$ ... $ is:$\left(\frac{1}{n}\right)$2$\sqrt n$n$
Sachin Mittal 1
16.5k
views
Sachin Mittal 1
commented
7 hours
ago
Probability
gatecse-2006
probability
expectation
normal
+
–
6.2k
views
5
answers
4
votes
ISRO2014-41
Consider the following binary search tree T given below: Which node contains the fourth smallest element in T?QVWX
makhdoom ghaya
6.2k
views
makhdoom ghaya
edited
7 hours
ago
DS
isro2014
data-structures
binary-search-tree
+
–
164
views
1
answers
0
votes
self doubt
let suppose address of first index of array is n and size of each block of array is u. then the index of second element is a+u.let suppose the array has m elements. ... array of same size, if it's address of second last element is (n - u).
nothingToDo
164
views
nothingToDo
answered
8 hours
ago
Programming in C
programming-in-c
array
+
–
32.4k
views
8
answers
57
votes
GATE CSE 1996 | Question: 2.13, ISRO2016-28
The average number of key comparisons required for a successful search for sequential search on $n$ items is$\frac{n}{2}$\frac{n-1}{2}$\frac{n+1}{2}$None of the above
Shaik Masthan
32.4k
views
Shaik Masthan
commented
8 hours
ago
Algorithms
gate1996
algorithms
easy
isro2016
searching
+
–
7.0k
views
5
answers
26
votes
GATE CSE 1991 | Question: 13
Give an optimal algorithm in pseudo-code for sorting a sequence of $n$ numbers which has only $k$ distinct numbers ($k$ is not known a Priori). Give a brief analysis for the time-complexity of your algorithm.
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
7.0k
views
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
commented
9 hours
ago
Algorithms
gate1991
sorting
time-complexity
algorithms
difficult
descriptive
+
–
22.4k
views
10
answers
56
votes
GATE CSE 2017 Set 1 | Question: 48
Let $A$ be an array of $31$ numbers consisting of a sequence of $0$'s followed by a sequence of $1$'s. The problem is to find the smallest index ... in $A$. The worst case number of probes performed by an optimal algorithm is ____________.
Shaik Masthan
22.4k
views
Shaik Masthan
commented
11 hours
ago
Algorithms
gatecse-2017-set1
algorithms
normal
numerical-answers
searching
+
–
21.2k
views
4
answers
57
votes
GATE CSE 2016 Set 1 | Question: 18
Which one of the following regular expressions represents the language: the set of all binary strings having two consecutive $0$'s and two consecutive $1$ ... * + (0+1)^*11 (0+1)^*$00(0+1)^*11 +11(0+1)^*00$
Faizan Khan Original
21.2k
views
Faizan Khan Original
commented
12 hours
ago
Theory of Computation
gatecse-2016-set1
theory-of-computation
regular-expression
normal
+
–
6.3k
views
2
answers
26
votes
GATE CSE 1994 | Question: 11
Find the contents of the flip-flop $Q_2, Q_1$ and $Q_0$ in the circuit of figure, after giving four clock pulses to the clock terminal. Assume $Q_2Q_1Q_0=000$ initially.
sru12
6.3k
views
sru12
commented
12 hours
ago
Digital Logic
gate1994
digital-logic
sequential-circuit
digital-counter
circuit-output
normal
descriptive
+
–
377
views
1
answers
1
votes
NIELIT 2021 Dec Scientist B - Section B: 94
The complement of the expression $\text{Y} = \text{ABC} + \text{AB} \overline{\rm C} + \overline{\rm A}\; \overline {\rm B} \text{C} + \overline{\rm A} \text{BC}$ is ... {C})$(\text{A} + \overline {\rm B}) ( \text{A} + \overline{\rm C})$
makhdoom ghaya
377
views
makhdoom ghaya
edited
12 hours
ago
Digital Logic
nielit2021dec-scientistb
digital-logic
boolean-algebra
+
–
22.2k
views
5
answers
48
votes
GATE CSE 2008 | Question: 84
Consider the following C program that attempts to locate an element $x$ in an array $Y[ \ ]$ using binary search. The program is erroneous. f (int Y[10] , int x) { int i, j, k; ... $ 2 < x < 20$ and $x$ is even
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
22.2k
views
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
comment edited
13 hours
ago
Algorithms
gatecse-2008
algorithms
searching
normal
+
–
18.8k
views
4
answers
38
votes
GATE CSE 1995 | Question: 1.10
Consider a grammar with the following productions$S \rightarrow a \alpha b \mid b \alpha c \mid aB$ ... $LR(k)$
Amoljadhav
18.8k
views
Amoljadhav
answered
13 hours
ago
Compiler Design
gate1995
compiler-design
grammar
normal
+
–
10.3k
views
3
answers
36
votes
GATE CSE 1994 | Question: 1.18
Which of the following features cannot be captured by context-free grammars?Syntax of if-then-else statementsSyntax of recursive proceduresWhether a variable has been declared before its useVariable names of arbitrary length
Amoljadhav
10.3k
views
Amoljadhav
commented
13 hours
ago
Compiler Design
gate1994
compiler-design
grammar
normal
+
–
4.6k
views
3
answers
19
votes
GATE CSE 1991 | Question: 10a
Consider the following grammar for arithmetic expressions using binary operators $-$ and $/$ which are not associative$E \rightarrow E -T\mid T$T \rightarrow T/F\ ... ? If not, give an unambiguous grammar that gives $/$ precedence over $-$.
Amoljadhav
4.6k
views
Amoljadhav
commented
13 hours
ago
Compiler Design
gate1991
grammar
compiler-design
normal
descriptive
+
–
8.3k
views
6
answers
9
votes
ISRO2017-49
The number of swappings needed to sort the numbers $8 , 22, 7, 9, 31, 5, 13$ in ascending order using bubble sort is$11$12$13$10$
ritiksri8
8.3k
views
ritiksri8
answered
14 hours
ago
Algorithms
isro2017
algorithms
sorting
+
–
5.7k
views
2
answers
3
votes
ISRO2018-66
Of the following sorting algorithms, which has a running time that is least dependent on the initial ordering of the input?Mege SortInsertion SortSelection SortQuick Sort
ritiksri8
5.7k
views
ritiksri8
commented
14 hours
ago
Algorithms
isro2018
algorithms
sorting
+
–
2.5k
views
1
answers
2
votes
ISRO2018-35
Given two sorted list of size $m$ and $n$ respectively. The number of comparisons needed the worst case by the merge sort algorithm will be:$m \times n$maximum of $m$ and $n$minimum of $m$ and $n$m+n-1$
ritiksri8
2.5k
views
ritiksri8
commented
14 hours
ago
Algorithms
isro2018
algorithms
merge-sort
+
–
18
views
0
answers
0
votes
Go classes linear algebra lecture filling a vector space.
Why does linear combination of 2 linearly independent vectors produce every vector in R^2 ?
Sanidhya_10
18
views
Sanidhya_10
asked
14 hours
ago
Linear Algebra
goclasses
linear-algebra
+
–
1.7k
views
1
answers
2
votes
NIELIT 2018-27
The following vectors $(1, 9, 9, 8), (2, 0, 0, 8), (2, 0, 0, 3)$ areLinearly dependentLinearly independentConstantNone of these
Krishd
1.7k
views
Krishd
commented
15 hours
ago
Linear Algebra
nielit-2018
engineering-mathematics
linear-algebra
+
–
12.2k
views
11
answers
56
votes
GATE CSE 2004 | Question: 81
Let $G_1=(V,E_1)$ and $G_2 =(V,E_2)$ be connected graphs on the same vertex set $V$ ... have a cut-edge (bridge)has chromatic number strictly greater than those of $G_1$ and $G_2$
kingjuno
12.2k
views
kingjuno
commented
15 hours
ago
Graph Theory
gatecse-2004
graph-theory
normal
graph-connectivity
+
–
3.2k
views
1
answers
1
votes
GATE CSE 2024 | Set 2 | Question: 14
Which of the following tasks is/are the responsibility/responsibilities of the memory management unit $\text{(MMU)}$ in a system with paging-based memory management ... to write to a page marked with read-only permission in the page table
Sachin Mittal 1
3.2k
views
Sachin Mittal 1
answer edited
16 hours
ago
Operating System
gatecse2024-set2
operating-system
multiple-selects
virtual-memory
+
–
8
views
0
answers
0
votes
I have my doubts on choosing Msc integrated CsE and Btech Cse , both in merit im in a struggle
I have always been intrested in IIT couldnt crack them even though i did everything i could i know that might be hard to comorehend but i got some colleges ... with merit seats available and after that i intend to to take Gate for IIt
Shubham Sharma 2
8
views
Shubham Sharma 2
retagged
17 hours
ago
Other Colleges
admission
+
–
92
views
0
answers
1
votes
Regarding CSIS course in IIIt Hyderabad
So, I got an offer of Mtech in CSIS, which was my second preference, wanted advice on whether to not lock and wait cse further rounds or should I lock the option ffor CSIS.and how is the CSIS course
jayk7
92
views
jayk7
commented
17 hours
ago
IIITs
mtech
admissions
iiith-pgee
+
–
11
views
0
answers
0
votes
any idea how to order gate cse 4th edition hardcopy .
Shubham Sharma 2
11
views
Shubham Sharma 2
recategorized
17 hours
ago
Study Resources
gateoverflow
+
–
290
views
3
answers
2
votes
GO Classes CS/DA 2025 | Weekly Quiz 5 | Linear Algebra | Question: 4
Consider the following matrix A:$\left[\begin{array}{lll}2 & -1 & 0 \\ 0 & 2 & 0 \\ 1 & 0 & 2\end{array}\right]$ ... to eigenvalue $\lambda$ of $A$ then $x$ is also the eigenvector of $A^{-1}$.
Nalinj
290
views
Nalinj
commented
1 day
ago
Linear Algebra
goclasses2025_csda_wq5
goclasses
linear-algebra
matrix
eigen-value
medium
multiple-selects
2-marks
+
–
97
views
1
answers
1
votes
c programming
#include <stdio.h> int main() { int (*a)[2]; int arr[4][4]={1,2,3,4,6,7,8,9}; a=arr; ++a; printf("%d",**a); return 0; }what is the answer NUMARICAL--------------------------------?
nothingToDo
97
views
nothingToDo
commented
1 day
ago
Programming in C
programming
programming-in-c
array
array-of-pointers
+
–
91
views
2
answers
1
votes
pointers in c programming answer the output
#include <stdio.h> int main() { // Write C code here int i=10,*p,**q,***r; p=&i; *p=15; q=&p; **q=20; r=&q; ***r=*p+1; printf("%d",i); return 0; }answer the output as integer _________
nothingToDo
91
views
nothingToDo
answered
1 day
ago
Programming in C
programming-in-c
programming
pointers
numerical-answers
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register