GATE CS 2016, set 2 question paper
The official GATE CS 2016 set 2 paper, set by IISc Bangalore. PrepWiser has 61 of its questions, each with the answer from the official answer key.
Download free PDF with answer key
This paper in numbers
61 of the paper's 65 questions (93 of 100 marks) on PrepWiser. 29 one-mark and 32 two-mark questions.
- Question types: 36 MCQ · 0 MSQ · 25 NAT
- General Aptitude: 10 questions, 15 marks
- Core CS: 51 questions, 78 marks
| Subject | Questions | Marks |
|---|---|---|
| General Aptitude | 10 | 15 |
| Programming and Data Structures | 8 | 14 |
| Engineering Mathematics | 9 | 12 |
| Theory of Computation | 7 | 11 |
| Computer Networks | 6 | 9 |
| Computer Organization and Architecture | 5 | 9 |
| Algorithms | 4 | 6 |
| Databases | 4 | 6 |
| Operating System | 3 | 5 |
| Compiler Design | 2 | 3 |
| Digital Logic | 3 | 3 |
General Aptitude
- Q1. The man who is now Municipal Commissioner worked as ______.
- Q2. Nobody knows how the Indian cricket team is going to cope with the difficult and…
- Q3. Find the odd one in the following group of words. mock, deride, praise, jeer
- Q4. Pick the odd one from the following options.
- Q5. In a quadratic function, the value of the product of the roots (α, β) is 4. Find the…
- Q6. Among 150 faculty members in an institute, 55 are connected with each other through…
- Q7. Computers were invented for performing only high-end useful computations. However, it is…
- Q8. All hill-stations have a lake. Ooty has two lakes. Which of the statement(s) below…
- Q9. In a 2 × 4 rectangle grid shown below, each cell is a rectangle. How many rectangles can…
- Q10. Line graph of f(x) against x. The horizontal axis is labelled x and marked at -4, -3…
Engineering Mathematics
- Q11. Consider the following expressions: (i) false (ii) Q (iii) true (iv) P ∨ Q (v) ¬ Q ∨ P…
- Q12. Let f(x) be a polynomial and g(x) = f'(x) be its derivative. If the degree of (f(x) +…
- Q13. The minimum number of colours that is sufficient to vertex-colour any planar graph is…
- Q14. Consider the systems, each consisting of m linear equations in n variables. I. If m < n…
- Q15. Suppose that a shop has an equal number of LED bulbs of two different types. The…
- Q16. Suppose that the eigenvalues of matrix A are 1, 2, 4. The determinant of (A⁻¹)ᵀ is ______.
- Q36. A binary relation R on ℕ × ℕ is defined as follows: (a,b)R(c,d) if a ≤ c or b ≤ d…
- Q37. Which one of the following well-formed formulae in predicate calculus is NOT valid?
- Q39. The value of the expression 13⁹⁹ (mod 17), in the range 0 to 16, is ______ .
Digital Logic
- Q17. Consider an eight-bit ripple-carry adder for computing the sum of A and B, where A and B…
- Q18. Let, x₁ ⊕ x₂ ⊕ x₃ ⊕ x₄ = 0 where x₁, x₂, x₃, x₄ are Boolean variables, and ⊕ is the XOR…
- Q19. Let X be the number of distinct 16-bit integers in 2's complement representation. Let Y…
Computer Organization and Architecture
- Q20. A processor has 40 distinct instructions and 24 general purpose registers. A 32-bit…
- Q40. Suppose the functions F and G can be computed in 5 and 3 nanoseconds by functional units…
- Q41. Consider a processor with 64 registers and an instruction set of size twelve. Each…
- Q43. Consider a 3 GHz (gigahertz) processor with a three-stage pipeline and stage latencies…
- Q60. A file system uses an in-memory cache to cache disk blocks. The miss rate of the cache…
Algorithms
- Q21. Breadth First Search (BFS) is started on a binary tree beginning from the root vertex…
- Q24. The Floyd-Warshall algorithm for all-pair shortest paths computation is based on
- Q48. Let A₁, A₂, A₃, and A₄ be four matrices of dimensions 10 × 5, 5 × 20, 20 × 10, and 10 ×…
- Q49. The given diagram shows the flowchart for a recursive function A(n). Assume that all…
Programming and Data Structures
- Q22. The value printed by the following program is ______. void f(int* p, int m){ m = m + 5…
- Q25. N items are stored in a sorted doubly linked list. For a delete operation, a pointer is…
- Q44. A complete binary min-heap is made by including each integer in [1,1023] exactly once…
- Q45. The following function computes X^Y for positive integers X and Y. int exp(int X, int Y)…
- Q46. Consider the following New-order strategy for traversing a binary tree: Visit the root…
- Q47. Consider the following program: int f(int *p, int n) if (n <= 1) return 0; else return…
- Q50. The number of ways in which the numbers 1, 2, 3, 4, 5, 6, 7 can be inserted in an empty…
- Q51. In an adjacency list representation of an undirected simple graph G = (V,E), each edge…
Theory of Computation
- Q26. The number of states in the minimum sized DFA that accepts the language defined by the…
- Q27. Language L₁ is defined by the grammar: S₁ → aS₁b | ε Language L₂ is defined by the…
- Q28. Consider the following types of languages: L₁ : Regular, L₂ : Context-free, L₃…
- Q52. Consider the following two statements: I. If all states of an NFA are accepting states…
- Q53. Consider the following languages: L₁ = {aⁿ bᵐ cⁿ⁺ᵐ : m,n ≥ 1}L₂ = {aⁿ bⁿ c²ⁿ : n ≥ 1}…
- Q54. Consider the following languages. L₁ = {⟨ M⟩ | M takes at least 2016 steps on some…
- Q56. A student wrote two context-free grammars G1 and G2 for generating a single C-like array…
Compiler Design
- Q29. Match the following: List I | List II; (P) Lexical analysis | (i) Leftmost derivation…
- Q55. Which one of the following grammars is free from left recursion ?
Operating System
- Q30. In which one of the following page replacement algorithms it is possible for the page…
- Q58. Consider the following two-process synchronization solution. Process 0 --------- Entry…
- Q59. Consider a non-negative counting semaphore S. The operation P(S) decrements S, and V(S)…
Databases
- Q31. B+ Trees are considered BALANCED because
- Q32. Suppose a database schedule S involves transactions T₁, …, Tₙ. Construct the precedence…
- Q61. Consider the following database schedule with two transactions, T₁ and T₂. S = r₂(X)…
- Q62. Consider the following database table named water_schemes : water_schemes scheme_no |…
Computer Networks
- Q33. Anarkali digitally signs a message and sends it to Salim. Verification of the signature…
- Q34. In an Ethernet local area network, which one of the following statements is TRUE ?
- Q35. Identify the correct sequence in which the following packets are transmitted on the…
- Q63. A network has a data transmission bandwidth of 20 × 10⁶ bits per second. It uses CSMA/CD…
- Q64. For the IEEE 802.11 MAC protocol for wireless communication, which of the following…
- Q65. Consider a 128 × 10³ bits/second satellite communication link with one way propagation…