Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged gatecse-2004
49
49 votes
4
answers
4 answers
21.6k
21.6k views
GATE CSE 2004 | Question: 31, ISRO2008-40
Consider the following C function:int f(int n) { static int i = 1; if(n >= 5) return n; n = n+i; i++; return f(n); }The value returned by $f(1)$ is:$5$$6$$7$$8$
Kathleen
21.6k
views
asked
Sep 18, 2014
Programming in C
gatecse-2004
programming
programming-in-c
recursion
easy
isro2008
+
–
16
16 votes
7
answers
7 answers
15.3k
15.3k views
GATE CSE 2004 | Question: 30, ISRO2017-10
The problem $\text{3-SAT}$ and $\text{2-SAT}$ are both in $\text{P}$both $\text{NP}$ complete$\text{NP}$-complete and in $\text{P}$ respectivelyundecidable and $\text{NP}...
Kathleen
15.3k
views
asked
Sep 18, 2014
Algorithms
gatecse-2004
algorithms
p-np-npc-nph
easy
isro2017
out-of-gatecse-syllabus
+
–
128
128 votes
8
answers
8 answers
53.0k
53.0k views
GATE CSE 2004 | Question: 29
The tightest lower bound on the number of comparisons, in the worst case, for comparison-based sorting is of the order of$n$$n^2$$n \log n$$n \log^2n$
Kathleen
53.0k
views
asked
Sep 18, 2014
Algorithms
gatecse-2004
algorithms
sorting
asymptotic-notations
easy
+
–
56
56 votes
4
answers
4 answers
26.1k
26.1k views
GATE CSE 2004 | Question: 28
What is the result of evaluating the following two expressions using three-digit floating point arithmetic with rounding?$(113. + -111.) + 7.51$$113. + (-111. + 7.51)$$9....
Kathleen
26.1k
views
asked
Sep 18, 2014
Digital Logic
gatecse-2004
digital-logic
number-representation
normal
+
–
54
54 votes
7
answers
7 answers
18.8k
18.8k views
GATE CSE 2004 | Question: 27
Let $A, B, C, D$ be $n \times n$ matrices, each with non-zero determinant. If $ABCD = I$, then $B^{-1}$ is $D^{-1}C^{-1}A^{-1}$ $CDA$ $ADC$ Does not necessarily e...
Kathleen
18.8k
views
asked
Sep 18, 2014
Linear Algebra
gatecse-2004
linear-algebra
normal
matrix
+
–
39
39 votes
10
answers
10 answers
21.5k
21.5k views
GATE CSE 2004 | Question: 26
The number of different $n \times n $ symmetric matrices with each element being either 0 or 1 is: (Note: $\text{power} \left(2, X\right)$ is same as $2^X$)$\text{power} ...
Kathleen
21.5k
views
asked
Sep 18, 2014
Linear Algebra
gatecse-2004
linear-algebra
normal
matrix
+
–
30
30 votes
4
answers
4 answers
10.0k
10.0k views
GATE CSE 2004 | Question: 25
If a fair coin is tossed four times. What is the probability that two heads and two tails will result?$\frac{3}{8}$$\frac{1}{2}$$\frac{5}{8}$$\frac{3}{4}$
Kathleen
10.0k
views
asked
Sep 18, 2014
Probability
gatecse-2004
probability
easy
+
–
50
50 votes
7
answers
7 answers
17.6k
17.6k views
GATE CSE 2004 | Question: 24
Consider the binary relation:$S= \left\{\left(x, y\right) \mid y=x+1 \text{ and } x, y \in \left\{0, 1, 2\right\} \right\}$The reflexive transitive closure is $S$ is$\lef...
Kathleen
17.6k
views
asked
Sep 18, 2014
Set Theory & Algebra
gatecse-2004
set-theory&algebra
easy
relations
+
–
134
134 votes
9
answers
9 answers
299k
299k views
GATE CSE 2004 | Question: 23, ISRO2007-32
Identify the correct translation into logical notation of the following assertion.Some boys in the class are taller than all the girlsNote: $\text{taller} (x, y)$ is true...
Kathleen
299k
views
asked
Sep 18, 2014
Mathematical Logic
gatecse-2004
mathematical-logic
easy
isro2007
first-order-logic
+
–
30
30 votes
5
answers
5 answers
23.3k
23.3k views
GATE CSE 2004 | Question: 22
How many $8-bi$t characters can be transmitted per second over a $9600$ baud serial communication link using asynchronous mode of transmission with one start bit, eight d...
Kathleen
23.3k
views
asked
Sep 18, 2014
Computer Networks
gatecse-2004
computer-networks
serial-communication
normal
out-of-gatecse-syllabus
+
–
93
93 votes
12
answers
12 answers
35.0k
35.0k views
GATE CSE 2004 | Question: 21, ISRO2007-44
The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined bythe instruction set architecturepage sizenum...
Kathleen
35.0k
views
asked
Sep 18, 2014
Operating System
gatecse-2004
operating-system
virtual-memory
page-replacement
normal
isro2007
+
–
54
54 votes
7
answers
7 answers
20.4k
20.4k views
GATE CSE 2004 | Question: 20
Which of the following addressing modes are suitable for program relocation at run time?Absolute addressingBased addressingRelative addressingIndirect addressingI and IVI...
Kathleen
20.4k
views
asked
Sep 18, 2014
CO & Architecture
gatecse-2004
co-and-architecture
addressing-modes
easy
+
–
27
27 votes
3
answers
3 answers
10.1k
10.1k views
GATE CSE 2004 | Question: 19
If $73_x$ (in base-x number system) is equal to $54_y$ (in base $y$-number system), the possible values of $x$ and $y$ are$8, 16$$10, 12$$9, 13$$8, 11$
Kathleen
10.1k
views
asked
Sep 18, 2014
Digital Logic
gatecse-2004
digital-logic
number-representation
easy
+
–
60
60 votes
9
answers
9 answers
33.0k
33.0k views
GATE CSE 2004 | Question: 18, ISRO2007-31
In an $SR$ latch made by cross-coupling two NAND gates, if both $S$ and $R$ inputs are set to $0$, then it will result in$Q = 0, Q' = 1$$Q = 1, Q' = 0$$Q = 1, Q' = 1$Inde...
Kathleen
33.0k
views
asked
Sep 18, 2014
Digital Logic
gatecse-2004
digital-logic
easy
isro2007
flip-flop
+
–
40
40 votes
5
answers
5 answers
13.8k
13.8k views
GATE CSE 2004 | Question: 17
A Boolean function $x’y’ + xy + x’y$ is equivalent to$x' + y'$$x + y$$x + y'$$x' + y$
Kathleen
13.8k
views
asked
Sep 18, 2014
Digital Logic
gatecse-2004
digital-logic
easy
boolean-algebra
+
–
34
34 votes
3
answers
3 answers
16.3k
16.3k views
GATE CSE 2004 | Question: 16
Which of the following is NOT true with respect to a transparent bridge and a router?Both bridge and router selectively forward data packetsA bridge uses IP addresses whi...
Kathleen
16.3k
views
asked
Sep 18, 2014
Computer Networks
gatecse-2004
computer-networks
bridges
normal
+
–
40
40 votes
6
answers
6 answers
13.6k
13.6k views
GATE CSE 2004 | Question: 15
Choose the best matching between $\text{Group 1}$ and $\text{Group 2}$$$\begin{array}{|l|l|}\hline \textbf{Group-1} & \textbf{Group-2} \\\hline \text{P. Data link layer}...
Kathleen
13.6k
views
asked
Sep 18, 2014
Computer Networks
gatecse-2004
computer-networks
network-layer
normal
+
–
93
93 votes
8
answers
8 answers
49.3k
49.3k views
GATE CSE 2004 | Question: 14
Consider the following relation schema pertaining to a students database:Students (rollno, name, address)Enroll (rollno, courseno, coursename)where the primary keys are s...
Kathleen
49.3k
views
asked
Sep 18, 2014
Databases
gatecse-2004
databases
easy
joins
natural-join
+
–
50
50 votes
1
answers
1 answer
12.6k
12.6k views
GATE CSE 2004 | Question: 13
Let $R_1 \left(\underline{A}, B, C\right)$ and $R_2\left(\underline{D}, E \right) $ be two relation schema, where the primary keys are shown underlined, and let C be a fo...
Kathleen
12.6k
views
asked
Sep 18, 2014
Databases
gatecse-2004
databases
relational-calculus
easy
+
–
77
77 votes
5
answers
5 answers
27.8k
27.8k views
GATE CSE 2004 | Question: 12
Consider an operating system capable of loading and executing a single sequential user process at a time. The disk head scheduling algorithm used is First Come First Serv...
Kathleen
27.8k
views
asked
Sep 18, 2014
Operating System
gatecse-2004
operating-system
disk-scheduling
normal
+
–
79
79 votes
9
answers
9 answers
41.6k
41.6k views
GATE CSE 2004 | Question: 11
Consider the following statements with respect to user-level threads and kernel-supported threadscontext switch is faster with kernel-supported threadsfor user-level thre...
Kathleen
41.6k
views
asked
Sep 18, 2014
Operating System
gatecse-2004
operating-system
threads
normal
+
–
37
37 votes
2
answers
2 answers
9.8k
9.8k views
GATE CSE 2004 | Question: 9
Consider a program $P$ that consists of two source modules $M_1$ and $M_2$ contained in two different files. If $M_1$ contains a reference to a function defined in $M_2$ ...
Kathleen
9.8k
views
asked
Sep 18, 2014
Compiler Design
gatecse-2004
compiler-design
easy
linker
+
–
32
32 votes
3
answers
3 answers
16.6k
16.6k views
GATE CSE 2004 | Question: 8
Which of the following grammar rules violate the requirements of an operator grammar? $P, Q, R$ are nonterminals, and $r, s, t$ are terminals.$P \rightarrow Q R$$P \right...
Kathleen
16.6k
views
asked
Sep 18, 2014
Compiler Design
gatecse-2004
compiler-design
grammar
normal
+
–
32
32 votes
5
answers
5 answers
13.9k
13.9k views
GATE CSE 2004 | Question: 7
Given the following input $(4322, 1334, 1471, 9679, 1989, 6171, 6173, 4199)$ and the hash function $x$ mod $10$, which of the following statements are true?$9679, 1989, 4...
Kathleen
13.9k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
data-structures
hashing
easy
+
–
31
31 votes
3
answers
3 answers
10.4k
10.4k views
GATE CSE 2004 | Question: 6
Level order traversal of a rooted tree can be done by starting from the root and performingpreorder traversalin-order traversaldepth first searchbreadth first search
Kathleen
10.4k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
data-structures
tree
easy
+
–
27
27 votes
4
answers
4 answers
11.2k
11.2k views
GATE CSE 2004 | Question: 5
The best data structure to check whether an arithmetic expression has balanced parentheses is aqueuestacktreelist
Kathleen
11.2k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
data-structures
easy
stack
+
–
40
40 votes
6
answers
6 answers
30.1k
30.1k views
GATE CSE 2004 | Question: 4, ISRO2009-26
The following numbers are inserted into an empty binary search tree in the given order: $10, 1, 3, 5, 15, 12, 16$. What is the height of the binary search tree (the heigh...
Kathleen
30.1k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
data-structures
binary-search-tree
easy
isro2009
+
–
66
66 votes
7
answers
7 answers
48.3k
48.3k views
GATE CSE 2004 | Question: 3
A single array $A[1 \ldots \text{MAXSIZE}]$ is used to implement two stacks. The two stacks grow from opposite ends of the array. Variables $top1$ and $top2$ $(top1 < top...
Kathleen
48.3k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
data-structures
stack
easy
+
–
36
36 votes
5
answers
5 answers
20.4k
20.4k views
GATE CSE 2004 | Question: 2,ISRO2017-54
Consider the following functionvoid swap(int a, int b) { int temp; temp = a; a = b; b = temp; }In order to exchange the values of two variables $x$ and $y$.call $swap(x, ...
Kathleen
20.4k
views
asked
Sep 18, 2014
Compiler Design
gatecse-2004
compiler-design
programming-in-c
parameter-passing
easy
isro2017
runtime-environment
+
–
39
39 votes
3
answers
3 answers
13.9k
13.9k views
GATE CSE 2004 | Question: 1
The goal of structured programming is to:have well indented programsbe able to infer the flow of control from the compiled codebe able to infer the flow of control from t...
Kathleen
13.9k
views
asked
Sep 18, 2014
Programming in C
gatecse-2004
programming
easy
programming-paradigms
+
–
Page:
« prev
1
2
3
4
next »