CS and IT GATE 2015 Set-1 Questions with Answer

Ques 27 DBMS


A file is organized so that the ordering of data records is the same as or close to the ordering of data entries in some index. Then that index is called

A

Dense

B

Sparse

C

Clustered

D

Unclustered



Ques 28 DBMS


Select operation in SQL is equivalent to

A

the selection operation in relational algebra

B

the selection operation in relational algebra, except that select in SQL retains duplicates

C

the projection operation in relational algebra

D

the projection operation in relational algebra, except that select in SQL retains duplicates



Ques 29 Design Algorithm Analysis


Which one of the following is the recurrence equation for the worst case time complexity of the Quicksort algorithm for sorting n ( ≥ 2) numbers? In the recurrence equations given in the options below, c is a constant.

A

T(n)=2T(n/2)+cn

B

T(n)=T(n–1)+T(0)+cn

C

T(n)=2T(n–2)+cn

D

T(n)=T(n/2)+cn



Ques 30 Design Algorithm Analysis


Match the following

(P) Prim’s algorithm for minimum spanning tree (i) Backtracking
(Q) Floyd-Warshall algorithm for all pairs shortest paths (ii) Greedy method
(R) Mergesort (iii) Dynamic programming
(S) Hamiltonian circuit (iv) Divide and conquer

A

P-iii, Q-ii, R-iv, S-i

B

P-i, Q-ii, R-iv, S-iii

C

P-ii, Q-iii, R-iv, S-i

D

P-ii, Q-i, R-iii, S-iv



Ques 31 Digital Logic


The binary operator ≠ is defined by the following truth table.

Which one of the following is true about the binary operator ≠?

A

Both commutative and associative

B

Commutative but not associative

C

Not commutative but associative

D

Neither commutative nor associative



Ques 32 Digital Logic


Consider the operations
f(X, Y, Z) = X'YZ + XY' + Y'Z' and g(X, Y, Z) = X'YZ + X'YZ' + XY.
Which one of the following is correct?

A

Both {f} and {g} are functionally complete.

B

Only {f} is functionally complete.

C

Only {g} is functionally complete.

D

Neither {f} nor {g} is functionally complete.



Ques 33 Digital Logic


A positive edge-triggered D flip-flop is connected to a positive edge-triggered JK flip-flop as follows. The Q output of the D flip-flop is connected to both the J and K inputs of the JK flip-flop, while the Q output of the JK flip-flop is connected to the input of the D flip-flop. Initially, the output of the D flip-flop is set to logic one and the output of the JK flip-flop is cleared. Which one of the following is the bit sequence (including the initial state) generated at the Q output of the JK flip-flop when the flip-flops are connected to a free-running common clock? Assume that J = K = 1 is the toggle mode and J = K = 0 is the state-holding mode of the JK flip-flop. Both the flip-flops have non-zero propagation delays.

A

0110110...

B

0100100...

C

011101110...

D

011001100...



Ques 34 Digital Logic Design


Consider a 4 bit Johnson counter with an initial value of 0000. The counting sequence of this counter is

A

0,1,3,7,15,14,12,8,0

B

0,2,4,6,8,10,12,14,0

C

0,8,12,14,15,7,3,1,0

D

0,1,3,5,7,9,11,13,15,0



Ques 35 Digital Logic Design


Which one of the following is NOT equivalent to p ↔ q?

A

(┐p ˅ q) ˄ (p ˅ ┐q)

B

(┐p ˅ q) ˄ (q → p)

C

(┐p ˄ q) ˅ (p ˄ ┐q)

D

(┐p ˄ ┐q) ˅ (p ˄ q)



Ques 36 Discrete Mathematics


For a set A, the power set of A is denoted by 2A. If A = {5,{6},{7}}, which of the following options are TRUE?
I. ∅ ∈ 2A
II. ∅ ⊆ 2A
III. {5,{6}} ∈ 2A
IV. {5,{6}} ⊆ 2A

A

I and III only

B

II and III only

C

I, II and III only

D

I, II and IV only



Ques 37 Discrete Mathematics


Let an represent the number of bit strings of length n containing two consecutive 1s. What is the recurrence relation for an?

A

an-2 + an-1 + 2n-2

B

an-2 + 2an-1 + 2n-2

C

2an-2 + an-1 + 2n-2

D

2an-2 + 2an-1 + 2n-2



Ques 38 English


Didn't you buy _______ when you went shopping?

A

any paper

B

much paper

C

no paper

D

a few paper



Ques 39 English


Which of the following options is the closest in meaning to the sentence below?
She enjoyed herself immensely at the party.

A

She had a terrible time at the party.

B

She had a horrible time at the party.

C

She had a terrific time at the party.

D

She had a terrifying time at the party.



Unique Visitor Count

Total Unique Visitors

Loading......