Skip to content
Early access — you're among the first to try PYQLabs. Share feedback

GATE 1999 CSE & IT

45 questions across 1 session

PYQ 1

Consider the following program in a language that has dynamic scooping: var x: real; procedure show; begin print(x); end; procedure small; var x: real; begin x: = 0.125; show; end;...

Programming Languages·MCQ·easy·✓ keyed
PYQ 2

Zero has two representations in:

Digital Logic·MCQ·easy·✓ keyed
PYQ 3

RAID configurations of disks are used to provide

Computer Organization·MCQ·easy·✓ keyed
PYQ 4

Which of the following actions is/are typically not performed by the operating system when switching context from process $$A$$ to process $$B$$ ?

Operating Systems·MCQ·easy·✓ keyed
PYQ 5

A multi-user, multi-processing operating system cannot be implemented on hardware that does not support:

Operating Systems·MCQ·medium·✓ keyed
PYQ 6

Which of the following is/are advantage of virtual memory?

Operating Systems·MCQ·easy·✓ keyed
PYQ 7

The number of binary relations on a set with $$n$$ elements is:

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 8

Let $$\left( {\left\{ {p,\,q} \right\},\, * } \right)$$ be a semi group where $$p * p = q$$. Show that: (a) $$p * q = q * p,$$, and (b) $$q * q = q$$

Discrete Mathematics·OTHER·medium
PYQ 9

Listed below are some operating system abstractions (in the left column) and the hardware components. Which matching pairs is correct? $$\,\,\,\,\,\,\,\,\,\,$$$$\,\,\,\,\,\,\,\,\,\...

Operating Systems·MTF·easy
PYQ 10

Consider the join of a relation R with a relation S. If R has m tuples and S has n tuples then the maximum and minimum sizes of the join respectively are

Database Management System·MCQ·easy·✓ keyed
PYQ 11

Suppose that the expectation of a random variable X is 5. Which of the following statements is true?

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 12

Consider the set of relations EMP (Employee-no, Dept-no, Employee-name, Salary) DEPT (Dept-no, Dept-name, Location) Write an SQL query to: (a) Find all employee names who work in d...

Database Management System·OTHER·easy
PYQ 13

(a) Show that the formula $$\left[ {\left( { \sim p \vee Q} \right) \Rightarrow \left( {q \Rightarrow p} \right)} \right]$$ is not a tautology. (b) Let $$A$$ be a tautology and $$B...

Discrete Mathematics·OTHER·easy
PYQ 14

A certain processor supports only the immediate and the direct addressing modes. Which of the following programming language features cannot be implemented on this processor?

Programming Languages·MCQ·medium·✓ keyed
PYQ 15

The main difference (s) between a $$CISC$$ and a $$RISC$$ processor is/are that a $$RISC$$ processor typically:

Computer Organization·MSQ·easy·✓ keyed
PYQ 16

Which of the following sets of component(s) is/are sufficient to implement any arbitrary Boolean function?

Digital Logic·MCQ·medium·✓ keyed
PYQ 17

The number of binary strings of $$n$$ zeros and $$k$$ ones such that no two ones are adjacent is:

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 18

Consider the following C function definition int Trial (int a, int b, int c) { if ((a > = b) && (c < b)) return b; else if (a > = b) return Trial (a,c,b); else return Trial (b,a,c)...

Programming Languages·MCQ·medium·✓ keyed
PYQ 19

The relational algebra expression equivalent to the following tuple calculus expression: $$\left\{ {t|t \in r \wedge \left( {t\left[ A \right] = 10 \wedge t\left[ B \right] = 20} \...

Database Management System·MCQ·easy·✓ keyed
PYQ 20

Let X and Y be two exponentially distributed and independent random variables with mean $$\alpha $$ and $$\beta $$, respectively. If Z = min (X, Y), then the mean of Z is given by

Discrete Mathematics·MCQ·medium·✓ keyed
PYQ 21

Consider the schema $$R = \left( {S\,\,T\,\,U\,\,V} \right)$$ and the dependencies $$S \to T,\,\,T \to U,\,\,U \to V$$ and $$V \to S$$ let $$R =$$ $$(R1$$ and $$R2)$$ be a decompos...

Database Management System·MCQ·medium·✓ keyed
PYQ 22

System calls are usually invoked by using:

Operating Systems·MCQ·easy·✓ keyed
PYQ 23

Which of the following is/are correct?

Database Management System·MCQ·easy·✓ keyed
PYQ 24

Booth’s coding in $$8$$ bits for the decimal number –$$57$$ is:

Computer Organization·MCQ·medium·✓ keyed
PYQ 25

The maximum gate delay for any output to appear in an array multiplier for multiplying two n bit number is

Algorithms·MCQ·medium·✓ keyed
PYQ 26

A sorting technique is called stable if:

Algorithms·MCQ·easy·✓ keyed
PYQ 27

If T 1 = O(1), give the correct matching for the following pairs: List - I (M) T n = T n - 1 + n (N) T n = T n/2 + n (O) T n = T n/2 + nlog n (P) T n = T n - 1 + log n List - II (U...

Algorithms·MTF·medium·✓ keyed
PYQ 28

Let $$R=(A,B,C,D,E,F)$$ be a relation scheme with the following dependencies: $$C \to F,\,E \to A,\,EC \to D,\,A \to B.$$ Which of the following is a key for $$R?$$

Database Management System·MCQ·easy·✓ keyed
PYQ 29

Suppose we want to arrange the n numbers stored in any array such that all negative values occur before all positive ones. Minimum number of exchanges required in the worst case is

Algorithms·MCQ·medium·✓ keyed
PYQ 30

If one uses straight two-way merge sort algorithm to sort the following elements in ascending order 20, 47, 15, 8, 9, 4, 40, 30, 12, 17 then the order of these elements after the s...

Algorithms·MCQ·medium·✓ keyed
PYQ 31

Consider two events $${{E_1}}$$ and $${{E_2}}$$ such that probability of $${{E_1}}$$, Pr [$${{E_1}}$$] = 1/2, probability of $${{E_2}}$$, Pr[$${{E_2}}$$ = 1/3, and probability of $...

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 32

(a) Mr. X claims the following: If a relation R is both symmetric and transitive, then R is reflexive. For this, Mr. X offers the following proof. "From xRy, using symmetry we get...

Discrete Mathematics·OTHER·medium
PYQ 33

A certain computer system has the segmented paging architecture for virtual memory. The memory is byte addressable. Both virtual and physical address spaces contain $${2^{16}}$$ by...

Operating Systems·OTHER·hard
PYQ 34

The number of full and half-adders required to add 16-bit numbers is:

Computer Organization·MCQ·easy·✓ keyed
PYQ 35

Two girls have picked 10 roses, 15 sunflowers and 14 daffodils. What is the number of ways they can divide the flowers among themselves?

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 36

The number of tokens in the Fortran statement DO 10 I = 1.25 is

Compiler Design·MCQ·medium·✓ keyed
PYQ 37

Suppose that the expectation of a random variable X is 5. Which of the following statements is true?

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 38

Which of the following disk scheduling strategies is likely to give the best throughput?

Operating Systems·MCQ·easy·✓ keyed
PYQ 39

Which of the following is correct?

Database Management System·MCQ·easy·✓ keyed
PYQ 40

Given the programming constructs: (i) assignment (ii) for loops where the loop parameter cannot be changed within the loop (iii) if-then-else (iv) forward go to (v) arbitrary go to...

Programming Languages·MCQ·medium·✓ keyed
PYQ 41

The main memory of a computer has $$2$$ $$cm$$ blocks while the cache has $$2$$ $$c$$ blocks. If the cache uses the set associative mapping scheme with $$2$$ blocks per set, then b...

Computer Organization·MCQ·easy·✓ keyed
PYQ 42

Let $${L_D}$$ be the set of all languages accepted by a $$PDA$$ by final state and $${L_E}$$ the set of all languages accepted by empty stack. Which of the following is true?

Theory of Computation·MCQ·easy·✓ keyed
PYQ 43

Context free languages are closed under:

Theory of Computation·MCQ·easy·✓ keyed
PYQ 44

Consider the regular expression $$(0+1)(0+1).......n$$ times. The minimum state finite automation that recognizes the language represented by this regular expression contains:

Theory of Computation·MCQ·easy·✓ keyed
PYQ 45

If $${L_1}$$ is a context free language and $${L_2}$$ is a regular which of the following is/are false?

Theory of Computation·MCQ·easy·✓ keyed