GATE CSE 1996 Previous-Year Questions

Let’s Learn about GATE CSE 1996 Previous-Year Questions.
GATE CSE 1996 Previous-Year Questions (PYQs)

Section - A (100 Marks)

Write in your answer book the correct or the most appropriate answer to the following multiple choice questions by writing the corresponding letter a, b, c or d against the sub-question number.
(25 x 1 = 25)
Question 1.

Let A and B be sets and let Ac and Bc denote the complements of the sets A and B. the set (a – b)(b – a)(a b) is equal to.

(a) A B      

(b) Ac Bc     

(c) A B       

(d) Ac Bc

Question 2.

Let X = {2,3,6,12,24}, Let ≤ be the partial order defined by X ≤ Y if x divides y. Number of edge as in the Hasse diagram of (X,≤) is

(a) 3           

(b) 4              

(c) 9               

(d) None of the above 

Question 3.

Suppose X and Y are sets and |X| and |Y| are their respective cardinalities. It is given that there are exactly 97 functions from X to Y. from this one can conclude that

(a) |X|=1, |Y|=97

(b) |X|=97, |Y|=1

(c) |X|=97, |Y|=97

(d) None of the above 

Question 4.

Which of the following statements is false?

(a) The set of rational numbers is an abelian group under addition.

(b) The set of integers in an abelian group under addition.

(c) The set of rational numbers form an abelian group under multiplication.

(d) The set of real numbers excluding zero in an abelian group under multiplication. 

Question 5.

Two dice are thrown simultaneously. The probability that at least one of them will have 6 facing up is

(a) \(\frac1{36}\) 

(b) \(\frac1{3}\)

(c) \(\frac{25}{36}\) 

(d) \(\frac{11}{36}\)

Question 6.

The formula used to compute an approximation for the second derivative of a function f at a point X0 is

(a) \(\frac{f\left(x_0+h\right)+f\left(x_0-h\right)}2\)

(b) \(\frac{f\left(x_0+h\right)-f\left(x_0-h\right)}{2h}\)

(c) \(\frac{f\left(x_0+h\right)+2f\left(x_0\right)+f\left(x_0-h\right)}{h^2}\)

(d) \(\frac{f\left(x_0+h\right)-2f\left(x_0\right)+f\left(x_0-h\right)}{h^2}\)

Question 7.

Let Ax = b be a system of linear equations where A is an m × n matrix and b is a m × 1 column vector and X is a n × 1 column vector of unknows. Which of the following is false?

(a) The system has a solution if and only if, both A and the augmented matrix [A b] have the same rank.

(b) If m < n and b is the zero vector, then the system has infinitely many solutions.

(c) If m = n and b is non-zero vector, then the system has a unique solution.

(d) The system will have only a trivial solution when m = n, b is the zero vector and rank (A) = n. 

Question 8.

Which two of the following four regular expressions are equivalent? (ε is the empty string).

(i) (00) * (ε + 0)

(ii) (00)*

(iii) 0*

(iv) 0(00)*

(a) (i) and (ii)

(b) (ii) and (iii)

(c) (i) and (iii)

(d) (iii) and (iv) 

Question 9.

Which of the following statements is false?

(a) The Halting problem of Turing machines is undecidable.

(b) Determining whether a context-free grammar is ambiguous is undecidbale.

(c) Given two arbitrary context-free grammars G1 and G2 it is undecidable whether L(G1) = L(G 2).

(d) Given two regular grammars G1 and G2 it is undecidable whether L(G1) = L(G 2). 

Question 10.

Let L Σ* where Σ = {a, b}. which of the following is true?

(a) L = {x|x has an equal number of a’s and b’s} is regular

(b) L = {anbn|n1 } is regular  

(c) L = {x|x has more a’s and b’s} is regular  

(d) L = {ambn| m≥1, n≥1} is regular  

Question 11.

Which of the following is false?

(a) \(100n\;\log\left(n\right)\;=\;O\left(\frac{n\log\left(n\right)}{100}\right)\)

(b) \(\sqrt{\log\;n}\;=O\left(\log\;\log\;n\right)\)

(c) \(if\;0<x<y\;then\;n^x=O\left(n^y\right)\)

(d) \(2n\neq O(nk)\)

Question 12.

Consider the following statements:

(i) First-in-first out types of computations are efficiently supported by STACKS.

(ii) Implementing LISTS on linked lists is more efficient than implementing LISTS on an array for almost all the basic LIST operations. 

(iii) Implementing QUEUES on a circular array is more efficient than implementing QUEUES on a linear array with two indices.

(iv) Last-in-first-out type of computations are efficiently supported by QUEUES. 

(a) (ii) and (iii) are true

(b) (i) and (ii) are true

(c) (iii) and (iv) are true

(d) (ii) and (iv) are true

Question 13.

An advantage of chained hash table (external hashing) over the open addressing scheme is

(a) Worst case complexity of search operations is less?

(b) Space used is less

(c) Deletion is easier

(d) None of the above

Question 14.

In the balanced binary tree in Fig. given below, how many nodes will become unbalanced when a node is inserted as a child of the node “g”?

(a) 1

(b) 3

(c) 7

(d) 8

Question 15.

Which of the following sequences denotes the post order traversal sequence of the tree of question14?

(a) f e g c d b a

(b) g c b d a f e

(c) g c d b f e a

(d) f e d g c b a

Question 16.

Relative mode of addressing is most relevant to writing

(a) coroutines

(b) position – independent code

(c) shareable code

(d) interrupt handlers

Question 17.

The pass numbers for each of the following activities

(i) object code generation

(ii) literals added to literal table

(iii) listing printed

(iv) address resolution of local symbols

That occur in a two pass assembler respectively are

(a) 1, 2, 1, 2

 (b) 2, 1, 2, 1

(c) 2, 1, 1, 2

(d) 1, 2, 2, 2

Question 18.

The process state transition diagram in Fig. is representative of

(a) a batch operating system

(b) an operating system with a preemptive scheduler

(c) an operating system with a non-preemptive scheduler

(d) a uni-programmed operating system.

Question 19.

A critical section is a program segment

(a) which should run in a certain specified amount of time

(b) which avoids deadlocks

(c) where shared resources are accessed

(d) which must be enclosed by a pair of semaphore operations, P and V

Question 20.

Which of the following is an example of spooled device?

(a) A line printer used to print the output of a number of jobs.

(b) A terminal used to enter input data to a running program.

(c) A secondary storage device in a virtual memory system.

(d) A graphic display device.

Question 21.

A ROM is sued to store the table for multiplication of two 8-bit unsigned integers. The size of ROM required is

(a) 256 × 16

(b) 64K × 8

(c) 4K × 16

(d) 64K × 16

Question 22.

Number of machine cycles required for RET instruction in 8085 microprocessor is

(a) 1

(b) 2

(c) 3

(d) 5

Question 23.

Both’s algorithm for integer multiplication gives worst performance when the multiplier pattern is

(a) 101010 ……1010

(b) 100000 ……0001

(c) 111111 ……1111

(d) 011111 ……1110

Question 24.

For the daisy chain scheme of connecting I/O devices, which of the following statements is true?

(a) It gives non-uniform priority to various devices.

(b) It gives uniform priority to all devices.

(c) It is only useful for connecting slow devices to a processor device.

(d) It requires a separate interrupt pin on the processor for each device.

Question 25.

Consider the following floating-point number representation.

The exponent is in 2’s complement representation and mantissa is in the sign magnitude representation. The range of the magnitude of the normalized numbers in this representation is

(a) 0 to 1

(b) 0.5 to 1

(c) 2-23 to 0.5

(d) 0.5 to (1 – 2 -23)

Write in your answer book the correct or the most appropriate answer to the following multiple choice questions by writing the corresponding letter a, b, c or d against the sub-question number.
(25 x 2 = 50)
Question 26.

Let R denotes the set of real numbers. Let f:R×R R×R be a bijective function defined by f(x,y)=(x+y,x-y). the inverse function of f is given by

(a) \(f^{-1}\left(x,y\right)=\left(\frac1{x+y},\frac1{x-y}\right)\)

(b) \(f^{-1}\left(x,y\right)=\left(x-y,x+y\right)\)

(c) \(f^{-1}\left(x,y\right)=\left(\frac{x+y}2,\frac{x-y}2\right)\)

(d) \(f^{-1}\left(x,y\right)=\left(2\left(x-y\right),3\left(x+y\right)\right)\)

Question 27.

c

Question 28.

c

Question 29.

c

Question 30.

c

Share

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!