GeeksQuiz Computer Science Quizzes for Geeks ! Suggest Practice Placements GATE Q&A GeeksforGeeks

GATE-CS-2016 (Set 1)

Question 1 Out of the following four sentences, select the most suitable sentence with respect to grammar and usage.

A I will not leave the place until the minister does not meet me.

B I will not leave the place until the minister doesn’t meet me. C I will not leave the place until the minister meet me. D I will not leave the place until the minister meets me GATE-CS-2016 (Set 1) Discuss it Question 2 A rewording of something written or spoken is a ______________. A paraphrase B paradox C paradigm D paraffin English GATE-CS-2016 (Set 1) Discuss it Question 3 Archimedes said, “Give me a lever long enough and a fulcrum on which to place it, and I will move the world.” The sentence above is an example of a ___________ statement. A figurative B collateral C literal D figurine English GATE-CS-2016 (Set 1) Discuss it Question 4 If ‘relftaga’ means carefree, ‘otaga’ means careful and ‘fertaga’ means careless, which of the following could mean ‘aftercare’? A zentaga B tagafer C tagazen D relffer General Aptitude GATE-CS-2016 (Set 1) Discuss it Question 5 A cube is built using 64 cubic blocks of side one unit. After it is built, one cubic block is removed from every corner of the cube. The resulting surface area of the body (in square units) after the removal is __________. A 56 B 64 C 72 D 96 General Aptitude GATE-CS-2016 (Set 1) Discuss it Question 6 A shaving set company sells 4 different types of razors, Elegance, Smooth, Soft and Executive. Elegance sells at Rs. 48, Smooth at Rs. 63, Soft at Rs. 78 and Executive at Rs. 173 per piece. The table below shows the numbers of each razor sold in each quarter of a year. GATECS161 Which product contributes the greatest fraction to the revenue of the company in that year? A Elegance B Executive C Smooth D Soft General Aptitude GATE-CS-2016 (Set 1) Discuss it Question 7 Indian currency notes show the denomination indicated in at least seventeen languages. If this is not an indication of the nation’s diversity, nothing else is. Which of the following can be logically inferred from the above sentences? A India is a country of exactly seventeen languages. B Linguistic pluralism is the only indicator of a nation’s diversity. C Indian currency notes have sufficient space for all the Indian languages. D Linguistic pluralism is strong evidence of India’s diversity. General Aptitude GATE-CS-2016 (Set 1) Discuss it Question 8 Consider the following statements relating to the level of poker play of four players P, Q, R, and S. I P always beats Q II. R always beats S III. S loses to P only sometimes IV. R always loses to Q Which of the following can be logically inferred from the above statements? (i) P is likely to beat all the three other players (ii) S is the absolute worst player in the set A (i) only B (ii) only C (i) and (ii) D neither (i) nor (ii) General Aptitude GATE-CS-2016 (Set 1) Discuss it Question 9 If f(x) = 2x7 + 3x - 5 Which of the following is a factor of f(x)? A (x3 + 8) B (x - 1) C (2x - 5) D (x + 1) General Aptitude GATE-CS-2016 (Set 1) Discuss it Question 10 In a process, the number of cycles to failure decreases exponentially with an increase in load. At a load of 80 units, it takes 100 cycles for failure. When the load is halved, it takes 10000 cycles for failure. The load for which the failure will happen in 5000 cycles is ________. A 40.00 B 46.02 C 60.01 D 92.02 General Aptitude GATE-CS-2016 (Set 1) Discuss it Question 11 Let p, q, r, s represent the following propositions. p: {8, 9, 10, 11, 12} q: x is a composite number r: x is a perfect square s: x is a prime number gatecs20162 Note : This question was asked as Numerical Answer Type. A 8 B 9 C 11 D 12 GATE-CS-2016 (Set 1) Discuss it Question 12 Let an be the number of n-bit strings that do NOT contain two consecutive 1s. Which one of the following is the recurrence relation for an gatecs20163 A A B B C C D D GATE-CS-2016 (Set 1) Discuss it Question 13 gatecs20164 Note : This question was asked as Numerical Answer Type. A 0 B 1 C 2 D 3 Numerical Methods and Calculus GATE-CS-2016 (Set 1) Discuss it Question 14 A probability density function on the interval [a, 1] is given by 1 / x2 and outside this interval the value of the function is zero. The value of a is : Note : This question was asked as Numerical Answer Type. A -1 B 0 C 1 D 0.5 Probability GATE-CS-2016 (Set 1) Discuss it Question 15 Two eigenvalues of a 3 x 3 real matrix P are (2 + √ -1) and 3. The determinant of P is _____ Note : This question was asked as Numerical Answer Type. A 0 B 1 C 15 D -1 Linear Algebra GATE-CS-2016 (Set 1) Discuss it Question 16 Consider the Boolean operator # with the following properties: x#0 = x, x#1 = x', x#x = 0 and x#x' = 1 Then x#y is equivalent to A x'y + x'y B xy' + (xy) C x'y + xy D xy + (xy)' GATE-CS-2016 (Set 1) Discuss it Question 17 The 16-bit 2’s complement representation of an integer is 1111 1111 1111 0101; its decimal representation is Note : This question was asked as Numerical Answer Type. A 10 B 11 C -10 D -11 Number Representation GATE-CS-2016 (Set 1) Discuss it Question 18 We want to design a synchronous counter that counts the sequence 0-1-0-2-0-3 and then repeats. The minimum number of J-K flip-flops required to implement this counter is Note : This question was asked as Numerical Answer Type. A 1 B 2 C 4 D 5 Digital Logic & Number representation GATE-CS-2016 (Set 1) Discuss it Question 19 A processor can support a maximum memory of 4 GB, where the memory is word-addressable (a word consists of two bytes). The size of the address bus of the processor is at ____ least bits. Note : This question was asked as Numerical Answer Type. A 16 B 31 C 32 D None Computer Organization and Architecture GATE-CS-2016 (Set 1) Discuss it Question 20 A queue is implemented using an array such that ENQUEUE and DEQUEUE operations are performed efficiently. Which one of the following statements is CORRECT (n refers to the number of items in the queue)? A Both operations can be performed in O(1) time B At most one operation can be performed in O(1) time but the worst case time for the other operation will be Ω(n) C The worst case time complexity for both operations will be Ω(n) D Worst case time complexity for both operations will be Ω(log n) Queue GATE-CS-2016 (Set 1) Discuss it Question 21 Consider the following directed graph. GATECS20167 The number of different topological orderings of the vertices of the graph is Note : This question was asked as Numerical Answer Type. A 1 B 2 C 4 D 6 Graph Traversals GATE-CS-2016 (Set 1) Discuss it Question 22 Consider the following C program. void f(int, short); void main() { int i = 100; short s = 12; short *p = &s; __________ ; // call to f() } Run on IDE Which one of the following expressions, when placed in the blank above, will NOT result in a type checking error? A f(s, *s) B i = f(i,s) C f(i,*s) D f(i,*p) Functions GATE-CS-2016 (Set 1) Discuss it Question 23 The worst case running times of Insertion sort, Merge sort and Quick sort, respectively, are: A Θ(n log n), Θ(n log n) and Θ(n2) B Θ(n2), Θ(n2) and Θ(n Log n) C Θ(n2), Θ(n log n) and Θ(n log n) D Θ(n2), Θ(n log n) and Θ(n2) Analysis of Algorithms Sorting GATE-CS-2016 (Set 1) Discuss it Question 24 Let G be a weighted connected undirected graph with distinct positive edge weights. If every edge weight is increased by the same value, then which of the following statements is/are TRUE? P: Minimum spanning tree of G does not change Q: Shortest path between any pair of vertices does not change A P only B Q only C Neither P nor Q D Both P and Q Graph Minimum Spanning Tree GATE-CS-2016 (Set 1) Discuss it Question 25 Consider the following C program. #include