| Not interested in regular full time college? Try Distance Education |
| Home / Test Papers / GATE / Computer Science & Engineering / 2002 |
Ask a question Print this page |
GATE 2002
COMPUTER SCIENCE & ENGINEERING
(75 Marks)
CS 1. This question" consists of TWENTY FIVE sub-questions, 1.1 to 1.25, of ONE mark each. For each of the sub-questions, four alternatives, A, B, C, and D are provided. Choose the most appropriate alternative and darken its bubble on the OBJECTIVE RESPONSE SHEET (ORS) against the corresponding sub-question number using a soft HB pencil. Do not darken more than one bubble for any sub-question. Do not use the ORS for any rough work. You may use the Answer Book (last few pages) for any rough work.
![]()
is
1.2 The trapezoidal rule for integration gives exact result when the integrand is a polynomial of degree
1.3 The solution to the recurrence equation T(2 k ) = 3 T(2 k-l) + 1, T(1) = 1 is:
1.4 The minimum number of colours required to colour the vertices of a cycle with n nodes in such a way that no two adjacent nodes have the same colour is:
1.5 In the worst case, the number of comparisons needed to search a singly linked list
of length n for a given element is
1.6 Which of the following is true?
1.7 The language accepted by a Pushdown Automaton in which the stack is limited to 10 items is best described as
1.8 If X then Y unless Z" is represented by which of the following formulas in
propositional logic ? (" Ø " is negation, " Ù " is conjunction, and " ® " is implication)
1.9 A device employing INTR line for device interrupt puts the CALL instruction on the data bus while
1.10 In 8085 which of the following modifies the program counter?
1.11 In serial data transmission, every byte of data is padded with a '0' in the beginning
and one, or two ‘1's at the end of byte because
1.12 . Minimum sum of product expression for f(w,x,y,z) shown in Karnaugh-map below is
wx ® |
|
|
|
|
yz ¯ |
00 |
01 |
11 |
10 |
00 |
0 |
1 |
1 |
0 |
01 |
X |
0 |
0 |
1 |
11 |
X |
0 |
0 |
I |
10 |
0 |
I |
1 |
x |
A. xz +y'z
B. xz' + zx'
C. x'y + zx'
D. None of the above
1.13 Which of the following is not a form of memory?
1.14 The decimal value 0.25
1.15. The 2's complement representation of the decimal value -15 is
1.16. Sign extension is a step in
1.18 The- results returned by functions under value-result and reference parameter passing conventions
1.20 With regard to the expressive power of the formal relational query languages, which of the following statements is true?
1.21 In 2's complement addition, overflow
1.22 Which of the following scheduling algorithms is non-preemptive?
1.23 The optimal page replacement algorithm will select the page that
1.24 In the absolute addressing mode
1.25 Maximum number of edges in a n - node undirected graph without self loops is
CS2. This question consists of TWENTY FIVE sub-questions, 2.1 to 2.25, of TWO marks each. For each of the sub-questions, four alternatives, A, B, C, and D are provided. Choose the most appropriate alternative and darken its bubble on the OBJECTIVE RESPONSE SHEET (ORS) against the corresponding sub-question number using a soft HB pencil. Do not darken more than one bubble for any sub-question. Do not use the ORS for any rough work. You may use the Answer Book (last few pages) for any rough work.
2.1 Consider the following logic circuit whose inputs are functions f 1, f 2, f 3 and output is f.

f 1(x,y,z)
f 2(x,y,z)
f3 (x,y,z)= ?
Given that
f 1(X,Y,Z) = å (0,1,3,5),
f 2(X,Y,Z) = å (6,7), and
f(x,y,z) = å (I,4,5),
f3 is
A. å (1,4,5)
B. å (6,7)
C. å (0,1,3,5)
D. None of the above
2.2 Consider the following multiplexor where I0, I1, I2, I3 are four data input lines
selected by two address line combinations AIAO =00,01,10,11 respectively and f is
the output of the multiplexor. EN is the Enable input.

The function f (x, y ,z) implemented by the above circuit is
2.3. Let f(A,B} = A' +B . Simplified expression for function f (f(x+y.y),z) is
2.4. What are the states of the Auxiliary Carry (AC) and Carry Flag (CY) after executing the following 8085 program?
MVI H, 5DH
MVI L , 6BH
MOV A, H
ADD L
2.5 The Finite state machine described by the following state diagram with A as
starting state, where an arc label is x/y and x stands for I-bit input and y stands for
2-bit output

2.6 The performance of a pipelined processor suffers if
2.7 Horizontal microprogramming
2.8 Consider the following declaration of a 'two-dimensional array in C:
char a[100][100];
Assuming that the main memory is byte-addressable and that the array is stored starting from memory address 0, the address of a[40][50] is
2.9. The number of leaf nodes in a rooted tree of n nodes, with each node having 0 or 3 children is:
2.10. Consider the following algorithm for searching for a given number x in an unsorted - array A[1..n] having n distinct values:
Assuming that x is present in A, what is the expected number of comparisons made by the algorithm before it terminates?
2.11. The running time of the following algorithm
Procedure A(n)
If n <= 2 return(1) else return (A ( é Ö n ù ));
is best described by
2.12. A weight-balanced tree is a binary tree in which for each node. The number of nodes
in the left sub tree is at least half and at most twice the number of nodes in the right
sub tree. The maximum possible height (number of nodes on the path from the root to the farthest leaf) of such a tree on n nodes is best described by which of the following?
2.13. The smallest finite automaton which accepts the language
{x | length of x is divisible by 3} has .
A. 2 states
B. 3 states
C. 4 states
D. 5 states
2.14. Which of the following is true?
can be used to solve the equation
2.16 Four fair coins are tossed simultaneously. The probability that at least one head and one tail turn up is
2.17 The binary relation S = f (empty set) on set A = { 1,2,3} is
2.18 The C language is.
2.19. To evaluate an expression without any embedded function calls
2.20 Dynamic linking can cause security concerns because
2.22 In the index allocation scheme of blocks to a file, the maximum possible size of the file
depends on .
address of the blocks.
d. None of the above
2.23 A B + -tree index is to be built on the Name attribute of the relation STUDENT. Assume that all student names are of length 8 bytes, disk blocks are of size 512 bytes, and index pointers are of size 4 bytes. Given this scenario, what would be the best choice
of the degree (i.e. the number of pointers per node) of the B+ -tree? .
2.24 Relation R is decomposed using a set functional dependencies, F, and relation S is decomposed using another set of functional dependencies, G. One decomposition is definitely BCNF, the other is definitely 3NF, but it is not known which is which. To make a guaranteed identification, which one of the following tests should be used on the decompositions? (Assume that the closures of F and G are available).
2.25 From the following instance of a relation schema R (A,B,C), we can conclude that:
A |
B |
C |
1 |
1 |
1 |
1 |
1 |
0 |
2 |
3 |
2 |
2 |
3 |
2 |
Business Schools - Engineering Colleges - Medical & Nursing Admissions - BEd in Distance mode - Journalism & Media Studies - Forensic Science
Enter a detailed keyword. Ex: Question Papers of IGNOU MCA Ist Semester