GATE CS 2017, set 1 question paper
The official GATE CS 2017 set 1 paper, set by IIT Roorkee. PrepWiser has 56 of its questions, each with the answer from the official answer key.
Download free PDF with answer key
This paper in numbers
56 of the paper's 65 questions (86 of 100 marks) on PrepWiser. 26 one-mark and 30 two-mark questions.
- Question types: 39 MCQ · 0 MSQ · 17 NAT
- General Aptitude: 7 questions, 11 marks
- Core CS: 49 questions, 75 marks
| Subject | Questions | Marks |
|---|---|---|
| Engineering Mathematics | 10 | 15 |
| General Aptitude | 7 | 11 |
| Computer Organization and Architecture | 6 | 10 |
| Programming and Data Structures | 6 | 10 |
| Theory of Computation | 5 | 8 |
| Algorithms | 4 | 6 |
| Computer Networks | 4 | 6 |
| Operating System | 4 | 6 |
| Databases | 3 | 5 |
| Digital Logic | 4 | 5 |
| Compiler Design | 3 | 4 |
Engineering Mathematics
- Q1. The statement (¬ p) ⇒ (¬ q) is logically equivalent to which of the statements below? I…
- Q2. Consider the first-order logic sentence F: ∀ x (∃ y R(x, y)). Assuming non-empty logical…
- Q3. Let c₁, …, cₙ be scalars, not all zero, such that Σᵢ₌₁ⁿ cᵢ aᵢ = 0 where aᵢ are column…
- Q19. Let X be a Gaussian random variable with mean 0 and variance σ². Let Y = max(X, 0) where…
- Q20. Let T be a tree with 10 vertices. The sum of the degrees of all the vertices in T is…
- Q28. The value of lim(x → 1) (x⁷ - 2x⁵ + 1)/(x³ - 3x² + 2)
- Q29. Let p, q, and r be propositions and the expression (p → q) → r be a contradiction. Then…
- Q30. Let u and v be two vectors in R² whose Euclidean norms satisfy ∥ u ∥ = 2 ∥ v ∥. What is…
- Q31. Let A be n × n real valued square symmetric matrix of rank 2 with Σᵢ₌₁ⁿ Σⱼ₌₁ⁿ Aᵢⱼ² = 50…
- Q47. The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5…
Algorithms
- Q4. Consider the following functions from positive integers to real numbers: 10, √n, n, log₂…
- Q5. Consider the following table: Algorithms | Design Paradigms; (P) Kruskal | (i) Divide…
- Q26. Let G = (V, E) be any connected undirected edge-weighted graph. The weights of the edges…
- Q48. Let A be an array of 31 numbers consisting of a sequence of 0's followed by a sequence…
Programming and Data Structures
- Q6. Let T be a binary search tree with 15 nodes. The minimum and maximum possible heights of…
- Q13. Consider the following C code: #include <stdio.h> int *assignval(int *x, int val) *x =…
- Q35. Consider the following two functions. void fun1(int n) if(n == 0) return; printf("%d"…
- Q36. Consider the C functions foo and bar given below: int foo(int val) int x = 0; while(val…
- Q53. Consider the following C program. #include <stdio.h> #include <string.h> void…
- Q55. The output of executing the following C program is ______ . #include <stdio.h> int…
Digital Logic
- Q7. The n-bit fixed-point representation of an unsigned real number X uses f bits for the…
- Q9. When two 8-bit numbers A₇ … A₀ and B₇ … B₀ in 2's complement representation (with A₀ and…
- Q21. Consider the Karnaugh map given below, where X represents " don't care " and blank…
- Q33. Consider a combination of T and D flip-flops connected as shown below. The output of the…
Theory of Computation
- Q10. Consider the following context-free grammar over the alphabet Σ = {a, b, c} with S as…
- Q22. Consider the language L given by the regular expression (a+b)^*b(a+b) over the alphabet…
- Q34. If G is a grammar with productions S → SaS | aSb | bSa | SS | ε where S is the start…
- Q37. Consider the context-free grammars over the alphabet {a,b,c} given below. S and T are…
- Q38. Consider the following languages over the alphabet Σ = {a, b, c}. Let L₁ = { aⁿ bⁿ cᵐ |…
Computer Organization and Architecture
- Q11. Consider the C struct defined below: struct data int marks [100]; char grade; int…
- Q25. Consider a two-level cache hierarchy with L1 and L2 caches. An application incurs 1.4…
- Q49. Consider a RISC machine where each instruction is exactly 4 bytes long. Conditional and…
- Q50. Instruction execution in a processor is divided into 5 stages, Instruction Fetch (IF)…
- Q51. Consider a 2-way set associative cache with 256 blocks and uses LRU replacement…
- Q54. A cache memory unit with capacity of N words and block size of B words is to be…
Compiler Design
- Q12. Consider the following intermediate program in three address code p = a - b q = p * c p…
- Q17. Consider the following grammar: P → xQRS ; Q → yz | z ; R → w | ε ; S → y What is…
- Q52. Consider the expression (a-1) * (((b+c)/3)+d). Let X be the minimum number of registers…
Computer Networks
- Q14. Consider a TCP client and a TCP server running on two different machines. After…
- Q15. A sender S sends a message m to receiver R, which is digitally signed by S with its…
- Q32. A computer network uses polynomials over GF(2) for error checking with 8 bits as…
- Q44. In a RSA cryptosystem, a participant A uses two prime numbers p = 13 and q = 17 to…
Databases
- Q16. The following functional dependencies hold true for the relational schema R{V, W, X, Y…
- Q42. In a database system, unique timestamps are assigned to each transaction using Lamport's…
- Q46. Consider a database that has the relation schema CR(StudentName, CourseName). An…
Operating System
- Q18. Threads of a process share
- Q24. Consider the following CPU processes with arrival times (in milliseconds) and length of…
- Q27. A multithreaded program P executes with x number of threads and uses y number of locks…
- Q40. Recall that Belady's anomaly is that the page-fault rate may increase as the number of…
General Aptitude
- Q56. After Rajendra Chola returned from his voyage to Indonesia, he ______ to visit the…
- Q57. Research in the workplace reveals that people work for many reasons ______.
- Q59. Find the smallest number y such that y × 162 is a perfect cube.
- Q61. “The hold of the nationalist imagination on our colonial past is such that anything…
- Q62. Six people are seated around a circular table. There are at least two men and two women…
- Q63. The expression ((x+y)-|x-y|)/2 is equal to
- Q64. Arun, Gulab, Neel and Shweta must choose one shirt each from a pile of four shirts…