Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged gatecse-2004
90
90 votes
5
answers
5 answers
44.5k
44.5k views
GATE CSE 2004 | Question: 63
Consider the following program segment for a hypothetical CPU having three user registers $R_1, R_2$ and $R_3.$ $$\begin{array}{|l|l|c|} \hline \text {Instruction} & \t...
Kathleen
44.5k
views
asked
Sep 18, 2014
CO & Architecture
gatecse-2004
co-and-architecture
machine-instruction
normal
+
–
123
123 votes
23
answers
23 answers
57.2k
57.2k views
GATE CSE 2004 | Question: 62
A 4-bit carry look ahead adder, which adds two 4-bit numbers, is designed using AND, OR, NOT, NAND, NOR gates only. Assuming that all the inputs are available in both com...
Kathleen
57.2k
views
asked
Sep 18, 2014
Digital Logic
gatecse-2004
digital-logic
normal
adder
+
–
55
55 votes
5
answers
5 answers
27.7k
27.7k views
GATE CSE 2004 | Question: 61
Consider the partial implementation of a $2-bit$ counter using $T$ flip-flops following the sequence $0-2-3-1-0,$ as shown below.To complete the circuit, the input $X$ sh...
Kathleen
27.7k
views
asked
Sep 18, 2014
Digital Logic
gatecse-2004
digital-logic
circuit-output
normal
+
–
39
39 votes
4
answers
4 answers
12.4k
12.4k views
GATE CSE 2004 | Question: 60
Consider a multiplexer with $X$ and $Y$ as data inputs and $Z$ the as the control input. $Z=0$ selects input $X$, and $Z=1$ selects input $Y$. What are the connections re...
Kathleen
12.4k
views
asked
Sep 18, 2014
Digital Logic
gatecse-2004
digital-logic
normal
multiplexer
+
–
44
44 votes
2
answers
2 answers
16.7k
16.7k views
GATE CSE 2004 | Question: 59
Which are the essential prime implicants of the following Boolean function?$f(a, b, c)= a' c+ ac'+b' c$$a' c$ and $ac'$$a' c$ and $b' c$$a' c$ only.$ac'$ and $bc'$
Kathleen
16.7k
views
asked
Sep 18, 2014
Digital Logic
gatecse-2004
digital-logic
normal
prime-implicants
+
–
46
46 votes
5
answers
5 answers
20.1k
20.1k views
GATE CSE 2004 | Question: 58
A circuit outputs a digit in the form of $4$ bits. $0$ is represented by $0000, 1$ by $0001, \ldots, 9$ by $1001$. A combinational circuit is to be designed which takes t...
Kathleen
20.1k
views
asked
Sep 18, 2014
Digital Logic
gatecse-2004
digital-logic
normal
min-no-gates
+
–
102
102 votes
9
answers
9 answers
38.9k
38.9k views
GATE CSE 2004 | Question: 56
Consider three IP networks $A, B$ and $C$. Host $H_A$ in network $A$ sends messages each containing $180$ bytes of application data to a host $H_C$ in network $C$. The $\...
Kathleen
38.9k
views
asked
Sep 18, 2014
Computer Networks
gatecse-2004
computer-networks
ip-addressing
fragmentation
tcp
normal
+
–
79
79 votes
9
answers
9 answers
30.3k
30.3k views
GATE CSE 2004 | Question: 55
The routing table of a router is shown below:$$\begin{array}{|l|l|l|} \hline \textbf {Destination} & \textbf {Subnet Mask} & \textbf{Interface} \\\hline \text {128.75.4...
Kathleen
30.3k
views
asked
Sep 18, 2014
Computer Networks
gatecse-2004
computer-networks
subnetting
normal
+
–
62
62 votes
6
answers
6 answers
29.7k
29.7k views
GATE CSE 2004 | Question: 54
$A$ and $B$ are the only two stations on an Ethernet. Each has a steady queue of frames to send. Both $A$ and $B$ attempt to transmit a frame, collide, and $A$ wins the f...
Kathleen
29.7k
views
asked
Sep 18, 2014
Computer Networks
gatecse-2004
computer-networks
ethernet
probability
normal
+
–
57
57 votes
4
answers
4 answers
18.3k
18.3k views
GATE CSE 2004 | Question: 53
The employee information in a company is stored in the relationEmployee (name, sex, salary, deptName)Consider the following SQL querySelect deptName From Employee Where s...
Kathleen
18.3k
views
asked
Sep 18, 2014
Databases
gatecse-2004
databases
sql
normal
+
–
39
39 votes
4
answers
4 answers
17.9k
17.9k views
GATE CSE 2004 | Question: 52
The order of an internal node in a $B+$ tree index is the maximum number of children it can have. Suppose that a child pointer takes $6$ bytes, the search field value tak...
Kathleen
17.9k
views
asked
Sep 18, 2014
Databases
gatecse-2004
databases
b-tree
normal
+
–
94
94 votes
9
answers
9 answers
29.3k
29.3k views
GATE CSE 2004 | Question: 51
Consider the relation Student (name, sex, marks), where the primary key is shown underlined, pertaining to students in a class that has at least one boy and one girl. Wha...
Kathleen
29.3k
views
asked
Sep 18, 2014
Databases
gatecse-2004
databases
relational-algebra
normal
+
–
67
67 votes
9
answers
9 answers
30.6k
30.6k views
GATE CSE 2004 | Question: 50
The relation scheme $\text{Student Performance (name, courseNo, rollNo, grade)}$ has the following functional dependencies:name, courseNo, $\rightarrow$ graderollNo, cour...
Kathleen
30.6k
views
asked
Sep 18, 2014
Databases
gatecse-2004
databases
database-normalization
normal
+
–
57
57 votes
8
answers
8 answers
40.4k
40.4k views
GATE CSE 2004 | Question: 49
A unix-style I-nodes has $10$ direct pointers and one single, one double and one triple indirect pointers. Disk block size is $1$ Kbyte, disk block address is $32$ bits, ...
Kathleen
40.4k
views
asked
Sep 18, 2014
Operating System
gatecse-2004
operating-system
disk
normal
+
–
50
50 votes
6
answers
6 answers
19.6k
19.6k views
GATE CSE 2004 | Question: 48
Consider two processes $P_1$ and $P_2$ accessing the shared variables $X$ and $Y$ protected by two binary semaphores $S_X$ and $S_Y$ respectively, both initialized to 1. ...
Kathleen
19.6k
views
asked
Sep 18, 2014
Operating System
gatecse-2004
operating-system
process-synchronization
normal
+
–
34
34 votes
4
answers
4 answers
20.7k
20.7k views
GATE CSE 2004 | Question: 46
Consider the following set of processes, with the arrival times and the CPU-burst times gives in milliseconds.$$\small \begin{array}{|c|c|c|} \hline \textbf{Process} & \t...
Kathleen
20.7k
views
asked
Sep 18, 2014
Operating System
gatecse-2004
operating-system
process-scheduling
normal
+
–
42
42 votes
2
answers
2 answers
17.1k
17.1k views
GATE CSE 2004 | Question: 45
Consider the grammar with the following translation rules and $E$ as the start symbol$$\begin{array}{lll}E \rightarrow E_ 1\# \: T & \qquad\left\{E.value = E_1.value * ...
Kathleen
17.1k
views
asked
Sep 18, 2014
Compiler Design
gatecse-2004
compiler-design
grammar
normal
syntax-directed-translation
+
–
54
54 votes
4
answers
4 answers
24.8k
24.8k views
GATE CSE 2004 | Question: 44
Suppose we run Dijkstra’s single source shortest path algorithm on the following edge-weighted directed graph with vertex $P$ as the source.In what order do the nodes get...
Kathleen
24.8k
views
asked
Sep 18, 2014
Algorithms
gatecse-2004
algorithms
graph-algorithms
normal
dijkstras-algorithm
+
–
56
56 votes
3
answers
3 answers
14.1k
14.1k views
GATE CSE 2004 | Question: 43
Consider the following C program segmentstruct CellNode{ struct CellNode *leftChild int element; struct CellNode *rightChild; }; int Dosomething (struct CellNode *ptr) { ...
Kathleen
14.1k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
data-structures
binary-tree
normal
+
–
53
53 votes
8
answers
8 answers
22.1k
22.1k views
GATE CSE 2004 | Question: 42
What does the following algorithm approximate? (Assume $m 1, \epsilon >0$).x = m; y = 1; While (x-y ϵ) { x = (x+y)/2; y = m/x; } print(x);$\log \, m$$m^2$$m^{\frac{1}{2...
Kathleen
22.1k
views
asked
Sep 18, 2014
Algorithms
gatecse-2004
algorithms
identify-function
normal
+
–
22
22 votes
3
answers
3 answers
11.4k
11.4k views
GATE CSE 2004 | Question: 41
Consider the following C programmain() { int x, y, m, n; scanf("%d %d", &x, &y); /* Assume x>0 and y>0*/ m = x; n = y; while(m != n) { if (m n) m = m-n; else n = n-m; } ...
Kathleen
11.4k
views
asked
Sep 18, 2014
Algorithms
gatecse-2004
algorithms
normal
identify-function
+
–
96
96 votes
6
answers
6 answers
30.0k
30.0k views
GATE CSE 2004 | Question: 40
Suppose each set is represented as a linked list with elements in arbitrary order. Which of the operations among $\text{union, intersection, membership, cardinality}$ wil...
Kathleen
30.0k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
data-structures
linked-list
normal
+
–
60
60 votes
7
answers
7 answers
20.9k
20.9k views
GATE CSE 2004 | Question: 39
Two matrices $M_1$ and $M_2$ are to be stored in arrays $A$ and $B$ respectively. Each array can be stored either in row-major or column-major order in contiguous memory ...
Kathleen
20.9k
views
asked
Sep 18, 2014
Algorithms
gatecse-2004
algorithms
time-complexity
easy
+
–
42
42 votes
5
answers
5 answers
19.7k
19.7k views
GATE CSE 2004 | Question: 38, ISRO2009-27
Assume that the operators $+, -, \times$ are left associative and $\;\hat{}\; $ is right associative. The order of precedence (from highest to lowest) is $ \ \;\hat{}\;, ...
Kathleen
19.7k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
stack
isro2009
infix-prefix
+
–
38
38 votes
3
answers
3 answers
9.8k
9.8k views
GATE CSE 2004 | Question: 37
The elements $32, 15, 20, 30, 12, 25, 16,$ are inserted one by one in the given order into a maxHeap. The resultant maxHeap is
Kathleen
9.8k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
data-structures
binary-heap
easy
+
–
82
82 votes
13
answers
13 answers
48.4k
48.4k views
GATE CSE 2004 | Question: 36
A circularly linked list is used to represent a Queue. A single variable $p$ is used to access the Queue. To which node should $p$ point such that both the operations $\t...
Kathleen
48.4k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
data-structures
linked-list
normal
+
–
42
42 votes
3
answers
3 answers
14.0k
14.0k views
GATE CSE 2004 | Question: 35
Consider the label sequences obtained by the following pairs of traversals on a labeled binary tree. Which of these pairs identify a tree uniquely?preorder and postorderi...
Kathleen
14.0k
views
asked
Sep 18, 2014
Data Structures
gatecse-2004
data-structures
binary-tree
normal
+
–
15
15 votes
4
answers
4 answers
34.6k
34.6k views
GATE CSE 2004 | Question: 34
It is desired to design an object-oriented employee record system for a company. Each employee has a name, unique id, and salary. Employees belong to different categories...
Kathleen
34.6k
views
asked
Sep 18, 2014
Object Oriented Programming
gatecse-2004
object-oriented-programming
normal
+
–
60
60 votes
4
answers
4 answers
22.5k
22.5k views
GATE CSE 2004 | Question: 33
Consider the following C program segment:char p[20]; int i; char* s = "string"; int length = strlen(s); for(i = 0; i < length; i++) p[i] = s[length-i]; printf("%s", p);Th...
Kathleen
22.5k
views
asked
Sep 18, 2014
Programming in C
gatecse-2004
programming
programming-in-c
strings
easy
+
–
44
44 votes
6
answers
6 answers
22.6k
22.6k views
GATE CSE 2004 | Question: 32
Consider the following program fragment for reversing the digits in a given integer to obtain a new integer.Let $n = d_1\, d_2\, \ldots\, d_m$.int n, rev; rev = 0; while(...
Kathleen
22.6k
views
asked
Sep 18, 2014
Programming in C
gatecse-2004
programming
loop-invariants
normal
+
–
Page:
« prev
1
2
3
4
next »