Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged gatecse-2012
46
votes
4
answers
1
GATE CSE 2012 | Question: 49
Consider the following C code segment. int a, b, c = 0; void prtFun(void); main() { static int a = 1; /* Line 1 */ prtFun(); a += 1; prtFun(); printf( \n %d %d , a, b); } void prtFun(void) { static int a = 2; /* Line 2 */ int b = 1; a += ++b ... $\begin{array}{ll} \text{4} & \text{2} \\ \text{4} & \text{2} \\ \text{2} & \text{0} \\ \end{array}$
go_editor
asked
in
Programming in C
Apr 21, 2016
by
go_editor
10.0k
views
normal
gatecse-2012
programming-in-c
programming
48
votes
4
answers
2
GATE CSE 2012 | Question: 51
Consider the following relations $A, B$ and $C:$ ... contain? SELECT A.Id FROM A WHERE A.Age > ALL (SELECT B.Age FROM B WHERE B.Name = Arun') $4$ $3$ $0$ $1$
go_editor
asked
in
Databases
Apr 21, 2016
by
go_editor
13.6k
views
gatecse-2012
databases
sql
normal
42
votes
3
answers
3
GATE CSE 2012 | Question: 53
For the grammar below, a partial $LL(1)$ parsing table is also presented along with the grammar. Entries that need to be filled are indicated as $E1, E2,$ and $E3$. $\varepsilon$ is the empty string, \$ indicates end of input, and, $ ... $ E2 : B \rightarrow S, S \rightarrow \varepsilon$ $ E3 : B \rightarrow S$
go_editor
asked
in
Compiler Design
Apr 21, 2016
by
go_editor
17.1k
views
normal
gatecse-2012
compiler-design
parsing
32
votes
4
answers
4
GATE CSE 2012 | Question: 55
A computer has a $256$-$\text{KByte}$, 4-way set associative, write back data cache with block size of $32$ $\text{Bytes}$. The processor sends $32$ $\text{bit}$ addresses to the cache controller. Each cache tag directory entry contains, in addition to address tag, ... tag directory is: $160$ $\text{Kbits}$ $136$ $\text{Kbits}$ $40$ $\text{Kbits}$ $32$ $\text{Kbits}$
go_editor
asked
in
CO and Architecture
Apr 21, 2016
by
go_editor
12.1k
views
normal
gatecse-2012
co-and-architecture
cache-memory
9
votes
4
answers
5
GATE CSE 2012 | Question: 65
Given the sequence of terms, $\text{AD CG FK JP}$, the next term is $\text{OV}$ $\text{OW}$ $\text{PV}$ $\text{PW}$
gatecse
asked
in
Quantitative Aptitude
Sep 29, 2014
by
gatecse
2.7k
views
gatecse-2012
quantitative-aptitude
sequence-series
easy
18
votes
2
answers
6
GATE CSE 2012 | Question: 64
Which of the following assertions are CORRECT? P: Adding $7$ to each entry in a list adds $7$ to the mean of the list Q: Adding $7$ to each entry in a list adds $7$ to the standard deviation of the list R: Doubling each entry in a list doubles the mean of the ... entry in a list leaves the standard deviation of the list unchanged $P$, $Q$ $Q$, $R$ $P$, $R$ $R$, $S$
gatecse
asked
in
Quantitative Aptitude
Sep 29, 2014
by
gatecse
6.0k
views
gatecse-2012
quantitative-aptitude
statistics
normal
23
votes
1
answer
7
GATE CSE 2012 | Question: 63
An automobile plant contracted to buy shock absorbers from two suppliers $ X$ and $ Y$ . $ X$ supplies $60\%$ and Y supplies $40\%$ of the shock absorbers. All shock absorbers are subjected to a quality test. The ones that pass the quality test are considered reliable. ... shock absorber, which is found to be reliable, is made by $Y$ is $0.288$ $0.334$ $0.667$ $0.720$
gatecse
asked
in
Quantitative Aptitude
Sep 29, 2014
by
gatecse
5.0k
views
gatecse-2012
quantitative-aptitude
probability
normal
conditional-probability
12
votes
2
answers
8
GATE CSE 2012 | Question: 62
A political party orders an arch for the entrance to the ground in which the annual convention is being held. The profile of the arch follows the equation $y=2x-0.1x^{2}$ where $y$ is the height of the arch in meters. The maximum possible height of the arch is $8$ meters $10$ meters $12$ meters $14$ meters
gatecse
asked
in
Quantitative Aptitude
Sep 29, 2014
by
gatecse
3.0k
views
gatecse-2012
quantitative-aptitude
normal
maxima-minima
9
votes
3
answers
9
GATE CSE 2012 | Question: 61
Wanted Temporary, Part-time persons for the post of Field Interviewer to conduct personal interviews to collect and collate economic data. Requirements: High School-pass, must be available for Day, Evening and Saturday work. ... inference from the above advertisement? Gender-discriminatory Xenophobic Not designed to make the post attractive Not gender-discriminatory
gatecse
asked
in
Verbal Aptitude
Sep 29, 2014
by
gatecse
3.4k
views
gatecse-2012
verbal-aptitude
verbal-reasoning
normal
15
votes
1
answer
10
GATE CSE 2012 | Question: 60
Choose the most appropriate alternative from the options given below to complete the following sentence: Suresh’s dog is the one ________ was hurt in the stampede. that which who whom
gatecse
asked
in
Verbal Aptitude
Sep 29, 2014
by
gatecse
4.8k
views
gatecse-2012
verbal-aptitude
most-appropriate-word
normal
18
votes
3
answers
11
GATE CSE 2012 | Question: 59
Choose the grammatically INCORRECT sentence: They gave us the money back less the service charges of Three Hundred rupees. This country’s expenditure is not less than that of Bangladesh. The committee initially asked for a funding of Fifty Lakh rupees, but later settled for a lesser sum. This country’s expenditure on educational reforms is very less.
gatecse
asked
in
Verbal Aptitude
Sep 29, 2014
by
gatecse
6.2k
views
gatecse-2012
verbal-aptitude
grammatical-error
normal
13
votes
1
answer
12
GATE CSE 2012 | Question: 58
Which one of the following options is the closest in meaning to the word given below? Mitigate Diminish Divulge Dedicate Denote
gatecse
asked
in
Verbal Aptitude
Sep 29, 2014
by
gatecse
2.8k
views
gatecse-2012
verbal-aptitude
meaning
easy
10
votes
2
answers
13
GATE CSE 2012 | Question: 57
Choose the most appropriate alternative from the options given below to complete the following sentence: Despite several _________ the mission succeeded in its attempt to resolve the conflict. attempts setbacks meetings delegations
gatecse
asked
in
Verbal Aptitude
Sep 29, 2014
by
gatecse
2.9k
views
gatecse-2012
verbal-aptitude
easy
most-appropriate-alternative
33
votes
2
answers
14
GATE CSE 2012 | Question: 56
The cost function for a product in a firm is given by $5q^{2}$, where $q$ is the amount of production. The firm can sell the product at a market price of $\text₹ 50$ per unit. The number of units to be produced by the firm such that the profit is maximized is $5$ $10$ $15$ $25$
gatecse
asked
in
Quantitative Aptitude
Sep 29, 2014
by
gatecse
5.5k
views
gatecse-2012
quantitative-aptitude
cost-market-price
normal
33
votes
2
answers
15
GATE CSE 2012 | Question: 54
A computer has a $256\text{-KByte}$, 4-way set associative, write back data cache with block size of $32\text{-Bytes}$. The processor sends $32\text{-bit}$ ... bit and $1$ replacement bit. The number of bits in the tag field of an address is $11$ $14$ $16$ $27$
gatecse
asked
in
CO and Architecture
Sep 29, 2014
by
gatecse
21.9k
views
gatecse-2012
co-and-architecture
cache-memory
normal
29
votes
3
answers
16
GATE CSE 2012 | Question: 52
For the grammar below, a partial $LL(1)$ parsing table is also presented along with the grammar. Entries that need to be filled are indicated as $E1, E2,$ and $E3$. $\varepsilon$ is the empty string, \$ indicates end of input, and, $ ... $ \text{FOLLOW}(A) = \{a, b\} $ $ \text{FOLLOW}(B) =\{a, b\} $
gatecse
asked
in
Compiler Design
Sep 29, 2014
by
gatecse
4.9k
views
gatecse-2012
compiler-design
parsing
normal
70
votes
6
answers
17
GATE CSE 2012 | Question: 50
Consider the following relations $A, B$ and $C:$ ... is the same as that of $A$. $(A\cup B)\bowtie _{A.Id > 40 \vee C.Id < 15} C$ $7$ $4$ $5$ $9$
gatecse
asked
in
Databases
Sep 29, 2014
by
gatecse
29.1k
views
gatecse-2012
databases
joins
normal
45
votes
4
answers
18
GATE CSE 2012 | Question: 48
Consider the following C code segment. int a, b, c = 0; void prtFun(void); main() { static int a = 1; /* Line 1 */ prtFun(); a += 1; prtFun(); printf( \n %d %d , a, b); } void prtFun(void) { static int a = 2; /* Line 2 */ int b = 1; a += + ... $\begin{array}{lll} 3 & & 1 & \\ 5 & & 2 & \\ 5 & & 2 & \end{array}$
gatecse
asked
in
Programming in C
Sep 29, 2014
by
gatecse
13.7k
views
gatecse-2012
programming
programming-in-c
normal
43
votes
3
answers
19
GATE CSE 2012 | Question: 47
The height of a tree is defined as the number of edges on the longest path in the tree. The function shown in the pseudo-code below is invoked as height (root) to compute the height of a binary tree rooted at the tree pointer root. int height(treeptr n) { if(n == NULL) return -1 ... ; B2: $\max(h1, h2) $ B1: $(1+ \text{height}(n \to \text{ right}))$ ; B2: $\max(h1, h2)$
Arjun
asked
in
DS
Sep 29, 2014
by
Arjun
10.9k
views
gatecse-2012
data-structures
binary-tree
normal
68
votes
7
answers
20
GATE CSE 2012 | Question: 46
Consider the set of strings on $\{0,1\}$ in which, every substring of $3$ symbols has at most two zeros. For example, $001110$ and $011001$ are in the language, but $100010$ is not. All strings of length less than $3$ are also in the language. A partially ...
Arjun
asked
in
Theory of Computation
Sep 29, 2014
by
Arjun
14.2k
views
gatecse-2012
theory-of-computation
finite-automata
normal
74
votes
7
answers
21
GATE CSE 2012 | Question: 45
Consider an instance of TCP's Additive Increase Multiplicative Decrease (AIMD) algorithm where the window size at the start of the slow start phase is $2$ MSS and the threshold at the start of the first transmission is $8$ MSS. Assume that a timeout occurs during ... Find the congestion window size at the end of the tenth transmission. $8$ MSS $14$ MSS $7$ MSS $12$ MSS
Arjun
asked
in
Computer Networks
Sep 29, 2014
by
Arjun
38.0k
views
gatecse-2012
computer-networks
congestion-control
normal
78
votes
8
answers
22
GATE CSE 2012 | Question: 44
Consider a source computer $(S)$ transmitting a file of size $10^{6}$ bits to a destination computer $(D)$ over a network of two routers $(R_{1}\text{ and }R_{2})$ and three links $(L_{1},L_{2},\text{ and } L_{3})$. $L_{1}$ connects $S$ to ... propagation delays in transmitting the file from $S$ to $D$? $\text{1005 ms}$ $\text{1010 ms}$ $\text{3000 ms}$ $\text{3003 ms}$
Arjun
asked
in
Computer Networks
Sep 29, 2014
by
Arjun
25.2k
views
gatecse-2012
computer-networks
communication
normal
47
votes
4
answers
23
GATE CSE 2012 | Question: 43
Suppose $R_{1} (\underline{A}, B)$ and $R_{2} (\underline{C}, D) $ are two relation schemas. Let $r_{1}$ and $r_{2}$ be the corresponding relation instances. $B$ is a foreign key that refers to $C$ in $R_{2}$. If data in $r_{1}$ and $r_{2}$ satisfy referential ... $\prod_{B}(r_{1}) = \prod _{C}(r_{2})$ $\prod_{B}(r_{1}) - \prod _{C}(r_{2}) \neq \varnothing$
Arjun
asked
in
Databases
Sep 29, 2014
by
Arjun
11.0k
views
gatecse-2012
databases
relational-algebra
normal
23
votes
3
answers
24
GATE CSE 2012 | Question: 42
Consider the virtual page reference string $\text{1, 2, 3, 2, 4, 1, 3, 2, 4, 1}$ on a demand paged virtual memory system running on a computer system that has main memory size of $3$ page frames which are initially empty. Let $\text{LRU}$, $\text{FIFO}$ ... $\text{OPTIMAL} < \text{FIFO} < \text{LRU}$ $\text{OPTIMAL} = \text{LRU}$ $\text{OPTIMAL} = \text{FIFO}$
Arjun
asked
in
Operating System
Sep 29, 2014
by
Arjun
10.2k
views
gatecse-2012
operating-system
page-replacement
normal
45
votes
2
answers
25
GATE CSE 2012 | Question: 41
A file system with $300$ GByte disk uses a file descriptor with $8$ direct block addresses, $1$ indirect block address and $1$ doubly indirect block address. The size of each disk block is $128$ Bytes and the size of each disk block address is $8$ Bytes. ... file size in this file system is $3$ KBytes $35$ KBytes $280$ KBytes dependent on the size of the disk
Arjun
asked
in
Operating System
Sep 29, 2014
by
Arjun
20.6k
views
gatecse-2012
operating-system
disk
normal
65
votes
9
answers
26
GATE CSE 2012 | Question: 40
Consider the directed graph shown in the figure below. There are multiple shortest paths between vertices $S$ and $T$. Which one will be reported by Dijkstra's shortest path algorithm? Assume that, in any iteration, the shortest path to a vertex $v$ is updated only ... a strictly shorter path to $v$ is discovered. $\text{SDT}$ $\text{SBDT}$ $\text{SACDT}$ $\text{SACET}$
gatecse
asked
in
Algorithms
Sep 26, 2014
by
gatecse
26.4k
views
gatecse-2012
algorithms
graph-algorithms
normal
71
votes
14
answers
27
GATE CSE 2012 | Question: 39
A list of $n$ strings, each of length $n$, is sorted into lexicographic order using the merge-sort algorithm. The worst case running time of this computation is $O (n \log n) $ $ O(n^{2} \log n) $ $ O(n^{2} + \log n) $ $ O(n^{2}) $
gatecse
asked
in
Algorithms
Sep 26, 2014
by
gatecse
28.6k
views
gatecse-2012
algorithms
sorting
normal
41
votes
5
answers
28
GATE CSE 2012 | Question: 37
How many onto (or surjective) functions are there from an $n$-element $(n ≥ 2)$ set to a $2$-element set? $ 2^{n}$ $2^{n} – 1$ $2^{n} – 2$ $2(2^{n} – 2)$
gatecse
asked
in
Set Theory & Algebra
Sep 26, 2014
by
gatecse
9.2k
views
gatecse-2012
set-theory&algebra
functions
normal
41
votes
4
answers
29
GATE CSE 2012 | Question: 36
Consider the program given below, in a block-structured pseudo-language with lexical scoping and nesting of procedures permitted. Program main; Var ... Procedure A1; Var ... Call A2; End A1 Procedure A2; Var ... Procedure A21; Var ... Call ... The correct set of activation records along with their access links is given by:
gatecse
asked
in
Compiler Design
Sep 26, 2014
by
gatecse
12.9k
views
gatecse-2012
compiler-design
runtime-environment
normal
46
votes
6
answers
30
GATE CSE 2012 | Question: 35
Suppose a circular queue of capacity $(n −1)$ elements is implemented with an array of $n$ elements. Assume that the insertion and deletion operations are carried out using REAR and FRONT as array index variables, respectively. Initially, $REAR = FRONT = 0$. The conditions to detect ... : $(REAR+1) \mod n == FRONT$ full: $(FRONT+1) \mod n == REAR$ empty: $REAR == FRONT$
gatecse
asked
in
DS
Sep 26, 2014
by
gatecse
23.9k
views
gatecse-2012
data-structures
queue
normal
Page:
1
2
3
next »
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent questions tagged gatecse-2012
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...