GATE CSE 2019 Question Paper with Solutions & Answer Key
All 31 questions of the GATE CSE 2019 paper (37 marks: 25 one-mark and 6 two-mark; 22 MCQ, 0 MSQ, 9 NAT), with the answer key and a verified solution for each. See more GATE CSE question papers or all GATE CSE PYQs.
- Questions
- 31
- Total marks
- 37
- MCQ / MSQ / NAT
- 22 / 0 / 9
- Topics
- 21
GATE CSE 2019 paper analysis
Engineering Mathematics and Programming and Data Structures together made up 13 of 37 marks, up 1 from GATE CSE 2018. 9 of 31 questions were NAT, the most since 2018. Regular and Context-Free Languages was the heaviest single topic with 4 marks across 3 questions. Digital Logic moved the most against GATE CSE 2018: up 3 marks.
All GATE CSE 2019 questions
Each question opens its full verified solution.
- Q1 · MCQ · 1 mark · Cache Memory and HierarchyA certain processor uses a fully associative cache of size 16 kB. The cache block size is 16 bytes. Assume that the main memory is byte addressable and uses a 32-bit add…
- Q2 · MCQ · 1 mark · Cache Memory and HierarchyThe chip select logic for a certain DRAM chip in a memory system design is shown below. Assume that the memory system has 16 address lines denoted by A15 to A0. What is…
- Q3 · MCQ · 1 mark · Lexical Analysis, Parsing and SDTWhich one of the following kinds of derivation is used by LR parsers?
- Q4 · MCQ · 1 mark · Number Representation and ArithmeticIn 16-bit 2's complement representation, the decimal number -28 is:
- Q5 · MCQ · 1 mark · CombinatoricsLet U = {1,2, , n}. Let A = {(x, X)|x ∈ X, X ⊆ U}. Consider the following two statements on |A|. I. |A| = n2n-1 II. |A| = Σk=1n k nk Which of the above statements is/are…
- Q6 · MCQ · 1 mark · Boolean Algebra and MinimizationWhich one of the following is NOT a valid identity?
- Q7 · MCQ · 1 mark · Regular and Context-Free LanguagesIf L is a regular language over = {a, b}, which one of the following languages is NOT regular ?
- Q8 · MCQ · 1 mark · Number Representation and ArithmeticConsider Z = X - Y, where X, Y and Z are all in sign-magnitude form. X and Y are each represented in n bits. To avoid overflow, the representation of Z would require a m…
- Q9 · MCQ · 1 mark · Linear AlgebraLet X be a square matrix. Consider the following two statements on X. I. X is invertible. II. Determinant of X is non-zero. Which one of the following is TRUE?
- Q10 · MCQ · 1 mark · Discrete MathematicsLet G be an arbitrary group. Consider the following relations on G: R1: ∀ a, b ∈ G, a R1 b if and only if ∃ g ∈ G such that a = g-1bg R2: ∀ a, b ∈ G, a R2 b if and only…
- Q11 · MCQ · 1 mark · Transactions and Concurrency ControlConsider the following two statements about database transaction schedules: I. Strict two-phase locking protocol generates conflict serializable schedules that are also…
- Q12 · MCQ · 1 mark · Discrete MathematicsLet G be an undirected complete graph on n vertices, where n > 2. Then, the number of different Hamiltonian cycles in G is equal to
- Q13 · MCQ · 1 mark · CalculusCompute limx → 3 (x4-81)/(2x2-5x-3)
- Q14 · MCQ · 1 mark · File Organization and IndexingWhich one of the following statements is NOT correct about the B+ tree data structure used for creating an index of a relational database table?
- Q15 · MCQ · 1 mark · Regular and Context-Free LanguagesFor = {a, b}, let us consider the regular language L = {x x = a2+3k or x = b10+12k, k ≥ 0}. Which one of the following can be a pumping length (the constant guaranteed b…
- Q16 · MCQ · 1 mark · DNS and HTTPWhich of the following protocol pairs can be used to send and retrieve e-mails (in that order)?
- Q17 · NAT · 1 mark · Processes, Threads and IPCThe following C program is executed on a Unix/Linux system: #include int main() { int i; for (i=0; i The total number of child processes created is …
- Q18 · NAT · 1 mark · Programming in CConsider the following C program: #include int jumble(int x, int y){ x=2*x+y; return x; } int main(){ int x=2, y=5; y=jumble(y,x); x=jumble(y,x); printf("%d ", x); retur…
- Q19 · NAT · 1 mark · Lexical Analysis, Parsing and SDTConsider the grammar given below: S → Aa A → BD B → b D → d Let a, b, d, and be indexed as follows: Compute the FOLLOW set of the non-terminal B and write the index valu…
- Q20 · NAT · 1 mark · Searching, Sorting and HashingAn array of 25 distinct elements is to be sorted using quicksort. Assume that the pivot element is chosen uniformly at random. The probability that the pivot element get…
- Q21 · NAT · 1 mark · CombinatoricsThe value of 351 mod 5 is …
- Q22 · NAT · 1 mark · Probability and StatisticsTwo numbers are chosen independently and uniformly at random from the set {1, 2, , 13}. The probability (rounded off to 3 decimal places) that their 4-bit (unsigned) bin…
- Q23 · NAT · 1 mark · Processes, Threads and IPCConsider three concurrent processes P1, P2 and P3 as shown below, which access a shared variable D that has been initialized to 100. Refer to the table below. The proces…
- Q24 · NAT · 1 mark · Programming in CConsider the following C program: #include int main(){ int arr[]={1,2,3,4,5,6,7,8,9,0,1,2,5}, *ip=arr+4; printf("%d ", ip[1]); return 0; } The number that will be displa…
- Q25 · NAT · 1 mark · Divide and ConquerConsider a sequence of 14 elements: A = [-5, -10, 6, 3, -1, -2, 13, 4, -9, -1, 4, 12, -3, 0]. The subsequence sum S(i,j) = Σk=ij A[k] . Determine the maximum of S(i,j),…
- Q26 · MCQ · 2 marks · RecursionConsider the following C function. void convert(int n){ if(n Which one of the following will happen when the function convert is called with any positive integer n as ar…
- Q27 · MCQ · 2 marks · Programming in CConsider the following C program: #include int r(){ static int num=7; return num--; } int main(){ for (r();r();r()) printf("%d",r()); return 0; } Which one of the follow…
- Q28 · MCQ · 2 marks · IPv4, CIDR and NATConsider three machines M, N, and P with IP addresses 100.10.5.2, 100.10.5.5, and 100.10.5.6 respectively. The subnet mask is set to 255.255.255.252 for all the three ma…
- Q29 · MCQ · 2 marks · Data Link LayerSuppose that in an IP-over-Ethernet network, a machine X wishes to find the MAC address of another machine Y in its subnet. Which one of the following techniques can be…
- Q30 · MCQ · 2 marks · Combinational and Sequential CircuitsConsider three 4-variable functions f1, f2, and f3, which are expressed in sum-of-minterms as f1 = Σ (0, 2, 5, 8, 14), f2 = Σ (2, 3, 6, 8, 14, 15), f3 = Σ (2, 7, 11, 14)…
- Q31 · MCQ · 2 marks · Regular and Context-Free LanguagesWhich one of the following languages over = {a, b} is NOT context-free?
GATE CSE 2019 answer key
Official answers. Open a question for the full solution.
| Q | Type | Marks | Answer | Topic |
|---|---|---|---|---|
| Q1 | MCQ | 1 | D | Cache Memory and Hierarchy |
| Q2 | MCQ | 1 | A | Cache Memory and Hierarchy |
| Q3 | MCQ | 1 | D | Lexical Analysis, Parsing and SDT |
| Q4 | MCQ | 1 | C | Number Representation and Arithmetic |
| Q5 | MCQ | 1 | C | Combinatorics |
| Q6 | MCQ | 1 | B | Boolean Algebra and Minimization |
| Q7 | MCQ | 1 | B | Regular and Context-Free Languages |
| Q8 | MCQ | 1 | C | Number Representation and Arithmetic |
| Q9 | MCQ | 1 | D | Linear Algebra |
| Q10 | MCQ | 1 | B | Discrete Mathematics |
| Q11 | MCQ | 1 | C | Transactions and Concurrency Control |
| Q12 | MCQ | 1 | C, D | Discrete Mathematics |
| Q13 | MCQ | 1 | C | Calculus |
| Q14 | MCQ | 1 | B | File Organization and Indexing |
| Q15 | MCQ | 1 | D | Regular and Context-Free Languages |
| Q16 | MCQ | 1 | B | DNS and HTTP |
| Q17 | NAT | 1 | 31 | Processes, Threads and IPC |
| Q18 | NAT | 1 | 26 | Programming in C |
| Q19 | NAT | 1 | 31 | Lexical Analysis, Parsing and SDT |
| Q20 | NAT | 1 | 0.08 | Searching, Sorting and Hashing |
| Q21 | NAT | 1 | 2 | Combinatorics |
| Q22 | NAT | 1 | 0.503 | Probability and Statistics |
| Q23 | NAT | 1 | 80 | Processes, Threads and IPC |
| Q24 | NAT | 1 | 6 | Programming in C |
| Q25 | NAT | 1 | 29 | Divide and Conquer |
| Q26 | MCQ | 2 | D | Recursion |
| Q27 | MCQ | 2 | B | Programming in C |
| Q28 | MCQ | 2 | C | IPv4, CIDR and NAT |
| Q29 | MCQ | 2 | C | Data Link Layer |
| Q30 | MCQ | 2 | A | Combinational and Sequential Circuits |
| Q31 | MCQ | 2 | C | Regular and Context-Free Languages |
Subject-wise weightage
Where the marks came from in GATE CSE 2019, against GATE CSE 2018 and the average paper.
| Subject | Qs | Marks | Share | vs previous year | Avg marks / paper |
|---|---|---|---|---|---|
| GATE CSE Engineering Mathematics PYQs | 7 | 7 | 19% | -1 | 14.8 |
| GATE CSE Programming and Data Structures PYQs | 4 | 6 | 16% | +2 | 9.5 |
| GATE CSE Digital Logic PYQs | 4 | 5 | 14% | +3 | 5.5 |
| GATE CSE Computer Networks PYQs | 3 | 5 | 14% | +2 | 7.6 |
| GATE CSE Theory of Computation PYQs | 3 | 4 | 11% | +2 | 6.9 |
| GATE CSE Computer Organization and Architecture PYQs | 2 | 2 | 5% | -1 | 6.8 |
| GATE CSE Compiler Design PYQs | 2 | 2 | 5% | +1 | 5.2 |
| GATE CSE Databases PYQs | 2 | 2 | 5% | 0 | 6.8 |
| GATE CSE Operating Systems PYQs | 2 | 2 | 5% | 0 | 7.4 |
| GATE CSE Algorithms PYQs | 2 | 2 | 5% | +2 | 7.2 |
GATE CSE 2019 FAQ
- How many questions were in GATE CSE 2019?
- GATE CSE 2019 had 31 questions for 37 marks: 22 MCQ, 0 MSQ and 9 NAT.
- Which subject carried the most marks in GATE CSE 2019?
- Engineering Mathematics carried the most marks (7 of 37). The top three were Engineering Mathematics (7), Programming and Data Structures (6), Digital Logic (5).
- Where can I find the GATE CSE 2019 answer key?
- The answer key table on this page lists the answer to every question of GATE CSE 2019. Open any question for its full verified solution.
- Is the GATE CSE 2019 paper useful for GATE 2027 preparation?
- Yes. Solving past GATE CSE papers shows how marks are spread across subjects and which topics repeat. Compare it with other GATE CSE question papers and the topic-wise GATE CSE PYQs.