CS and IT GATE 2020 Questions with Answer

Ques 40 DBMS


Consider a relational table R that is in 3NF, but not in BCNF. Which one of the following statements is TRUE ?

A

R has a nontrivial functional dependency X→A, where X is not a superkey and A is a prime attribute.

B

R has a nontrivial functional dependency X→A, where X is not a superkey and A is a non-prime attribute and X is not a proper subset of any key.

C

R has a nontrivial functional dependency X→A, where X is not a superkey and A is a non-prime attribute and X is a proper subset of some key.

D

A cell in R holds a set instead of an atomic value.



Ques 41 DBMS


Which one of the following is used to represent the supporting many-one relationships of a weak entity set in an entity-relationship diagram ?

A

Diamonds with double/bold border

B

Rectangles with double/bold border

C

Ovals with double/bold border

D

Ovals that contain underlined identifiers



Ques 42 Design Algorithm Analysis


What is the worst case time complexity of inserting n elements into an empty linked list, if the linked list needs to be maintained in sorted order ?

A

Θ(n)

B

Θ(nlogn)

C

Θ(n2)

D

Θ(1)



Ques 43 Design Algorithm Analysis


What is the worst case time complexity of inserting n2 elements into an AVL-tree with n elements initially ?

A

Θ(n4)

B

Θ(n2)

C

Θ(n2log(n))

D

Θ(n3)



Ques 44 Design Algorithm Analysis


For parameters a and b, both of which are ω(1), T(n)=T(n1/a)+1, and T(b)=1. Then T(n) is

A

Θ(logalogbn)

B

Θ(logabn)

C

Θ(logblogan)

D

Θ(log2log2n)



Ques 45 Design Algorithm Analysis


The number of permutations of the characters in LILAC so that no character appears in its original position, if the two L’s are indistinguishable, is ________ .


12 is the correct answer.


Ques 46 Digital Logic Design


If there are m input lines n output lines for a decoder that is used to uniquely address a byte addressable 1 KB RAM, then the minimum value of m+n is ________ .


1024 is the correct answer.


Ques 47 Discrete Mathematics


Which one of the following predicate formulae is NOT logically valid ? Note that W is a predicate formula without any free occurrence of x.

A

∀x(p(x) ∨ W) ≡ ∀x(px) ∨ W

B

∃x(p(x) ∧ W) ≡ ∃xp(x) ∧ W

C

∀x(p(x) → W) ≡ ∀xp(x) → W

D

∃x(p(x) → W) ≡ ∀xp(x) → W



Ques 48 Discrete Mathematics


Let G be a group of 35 elements. Then the largest possible size of a subgroup of G other than G itself is ________ .


7 is the correct answer.


Ques 49 Discrete Mathematics


Let R be the set of all binary relations on the set {1, 2, 3}. Suppose a relation is chosen from R at random. The probability that the chosen relation is reflexive (round off to 3 decimal places) is ________ .


0.125 is the correct answer.


Ques 50 Mathematics


Let A and B be two n×n matrices over real numbers. Let rank(M) and det(M) denote the rank and determinant of a matrix M, respectively. Consider the following statements.

I. rank(AB) = rank(A)*rank (B)
II. det(AB) = det(A)*det(B)
III. rank(A+B) ≤ rank(A) + rank(B)
IV. det(A+B) ≤ det(A) + det(B)

Which of the above statements are TRUE ?

A

I and II only

B

I and IV only

C

II and III only

D

III and IV only



Ques 51 Mathematics


Consider the functions

I. e-x
II. x2 - sin x
III. √x^3+1

Which of the above functions is/are increasing everywhere in [0, 1] ?

A

Ⅲ only

B

Ⅱ only

C

Ⅱ and Ⅲ only

D

Ⅰ and Ⅲ only



Ques 52 Mathematics


For n>2, let a∈{0, 1}n be a non-zero vector. Suppose that x is chosen uniformly at random from {0,1}n. Then, the probability that Σi=1i=n aixi is an odd number is _________


0.50 is the correct answer.


Unique Visitor Count

Total Unique Visitors

Loading......