The GATE Grind

GATE 2011 CS (CS1) – Previous Year Questions with Solutions

All 65 questions of GATE 2011 CS (CS1) with answers and explanations. Read each question, then practise it by topic or as a full paper.

Practise this paper in The GATE Grind →

  1. Question 1 (1 mark, Multiple choice) – Choose the closest meaning of “inexplicable”.
  2. Question 2 (1 mark, Multiple choice) – If log P = (1/2) log Q = (1/3) log R, which is true?
  3. Question 3 (1 mark, Multiple choice) – I contemplated Singapore for my vacation but decided against it.
  4. Question 4 (1 mark, Multiple choice) – If you are trying to make a strong impression on your audience, you cannot do so by being understated, tentative or .
  5. Question 5 (1 mark, Multiple choice) – Choose the word most nearly opposite to “amalgamate”.
  6. Question 6 (2 marks, Multiple choice) – Few school curricula include a unit on how to deal with bereavement and grief, and yet all students at some point in their lives suffer loss through…
  7. Question 7 (2 marks, Multiple choice) – The chart shows four microbes. Circle diameter in parentheses represents growth of a surviving microbe within 24 hours. Danger is proportional to…
  8. Question 8 (2 marks, Multiple choice) – Variable manufacturing cost is V=4q and fixed cost is F=100/q. How many units q minimize total V+F?
  9. Question 9 (2 marks, Multiple choice) – A transporter receives the same daily orders and has an initial backlog. Seven trucks clear all orders by the end of day four; three trucks clear them…
  10. Question 10 (2 marks, Multiple choice) – A container holds ten litres of pure spirit. Remove one litre and replace it with water, then repeat this mixture-removal/replacement twice more. How…
  11. Question 11 (1 mark, Multiple choice) – A compiler recognizes language keywords during
  12. Question 12 (1 mark, Multiple choice) – A layer-four firewall can inspect protocol headers through the transport layer. Which can it NOT do?
  13. Question 13 (1 mark, Multiple choice) – Two fair coins are flipped. At least one outcome is known to be a head. What is the probability both are heads?
  14. Question 14 (1 mark, Multiple choice) – Match email activities to application protocols: m₁ sends from mail client to mail server; m₂ downloads from mailbox server to mail client; m₃ checks…
  15. Question 15 (1 mark, Multiple choice) – A product is maintained five years. With language L₁, development effort is LOC/10000 person-years, development cost ₹1000000 per person-year and…
  16. Question 16 (1 mark, Multiple choice) – User-to-kernel mode switch time is t₁; switching between two processes takes t₂. Which is true?
  17. Question 17 (1 mark, Multiple choice) – A digital signal-processing application has 40000 lines. Basic COCOMO for embedded software uses multiplicative factor 2.8 and exponent 1.20. Find…
  18. Question 18 (1 mark, Multiple choice) – Which pair has different expressive power?
  19. Question 19 (1 mark, Multiple choice) – Which action is not supported by pure HTML without client-side or server-side scripts?
  20. Question 20 (1 mark, Multiple choice) – Which is NOT desired in a good software requirements specification?
  21. Question 21 (1 mark, Multiple choice) – A computer receives interrupts from CPU overtemperature, mouse movement/button events, keyboard keys and completed hard-disk reads. Which has highest…
  22. Question 22 (1 mark, Multiple choice) – A student table has one record per student: Registration Num unique per student; UID unique nationally per citizen; BankAccount Num is the primary…
  23. Question 23 (1 mark, Multiple choice) – Which shown circuit is NOT equivalent to a two-input XNOR gate?
  24. Question 24 (1 mark, Multiple choice) – Simplify (P+ Q+ R)(P+ Q+R)(P+Q+ R) to SOP.
  25. Question 25 (1 mark, Multiple choice) – How many flip-flops are minimally required for a modulo-258 counter?
  26. Question 26 (1 mark, Multiple choice) – An OS maintains smaller per-thread structures than per-process structures. Which statement is true?
  27. Question 27 (1 mark, Multiple choice) – The drawings show complete graph K₄ and cube graph Q₃. Which is true?
  28. Question 28 (1 mark, Multiple choice) – Let R=E[X2]-(E[X])2. Which always holds?
  29. Question 29 (1 mark, Multiple choice) – Which machine model is necessary and sufficient for lexical analysis of a modern language such as Java?
  30. Question 30 (1 mark, Multiple choice) – Page-fault service time is 10 ms; normal memory access is 20 ns. One fault occurs per 10⁶ accesses. Find effective access time.
  31. Question 31 (1 mark, Multiple choice) – LW R1,20(R2) loads a 32-bit word at address 20+contents(R2) into R1. Which offered addressing mode does it use?
  32. Question 32 (1 mark, Multiple choice) – What is printed?
  33. Question 33 (1 mark, Multiple choice) – A max-heap has parent values at least their children’s values. Which displayed tree is a max-heap?
  34. Question 34 (1 mark, Multiple choice) – P is regular and Q is context-free with Q⊆P, e.g. P=p*q* and Q=pⁿqⁿ:n∈N. Which is always regular?
  35. Question 35 (1 mark, Multiple choice) – For A[0…n−1], define Lᵢ as the longest monotonically increasing run beginning at i. Set Lₙ₋₁=1 and for earlier i, Lᵢ=1+Lᵢ₊₁ if A[i]<A[i+1], otherwise…
  36. Question 36 (2 marks, Multiple choice) – L 1=\0p1q:p,q N\, L 2=\0p1q:p,q N,p=q\, L 3=\0p1q0r:p,q,r N,p=q=r\. Which is NOT true?
  37. Question 37 (2 marks, Multiple choice) – Binary operator ↓ has lower precedence than ↑. Operator ↑ is right-associative and ↓ left-associative. Which displayed parse tree represents…
  38. Question 38 (2 marks, Multiple choice) – An interrupt routine on a sequential nonpipelined processor initializes an address register and count=500, then repeats: load byte from device; store…
  39. Question 39 (2 marks, Multiple choice) – An unlabelled binary-tree shape has n nodes and n distinct keys are supplied. In how many ways can the keys populate it to make a BST?
  40. Question 40 (2 marks, Multiple choice) – For positive integers x,y,z, define P(x)=(x=1) y[( z(x=yz))((y=x)(y=1))]. Which is correct?
  41. Question 41 (2 marks, Multiple choice) – For i=-1, evaluate 0/2 x+i x x-i x\,dx.
  42. Question 42 (2 marks, Multiple choice) – An integer table T(X,Y) initially contains (1,1). Let MX,MY be current maxima of its columns. Insert (MX+1,2MY+1), recomputing maxima each time, 128…
  43. Question 43 (2 marks, Multiple choice) – A finite sequence X has mean μₓ and standard deviation σₓ. Define yᵢ=axᵢ+b for positive constants a,b. Which is incorrect?
  44. Question 44 (2 marks, Multiple choice) – Five cards numbered one through five are shuffled. Draw two without replacement. What is the probability the first card’s number is exactly one higher…
  45. Question 45 (2 marks, Multiple choice) – Processes P₀,P₁,P₂ have arrivals 0,1,2 ms and bursts 9,4,9 ms respectively. Use preemptive shortest-job-first, scheduling only at…
  46. Question 46 (2 marks, Multiple choice) – Evaluate the shown expression tree on a load-store machine: memory holds a,b,c,d,e; binary operations use register operands and produce register…
  47. Question 47 (2 marks, Multiple choice) – Find increasing asymptotic growth order for f 1(n)=2n, f 2(n)=n3/2, f 3(n)=n 2n, f 4(n)=n 2n.
  48. Question 48 (2 marks, Multiple choice) – Matrices M₁,M₂,M₃,M₄ have dimensions p×q,q×r,r×s,s×t. With p=10,q=100,r=20,s=5,t=80, find minimum scalar multiplications.
  49. Question 49 (2 marks, Multiple choice) – A large relation r has attributes A₁,…,Aₙ. Q₁ projects A₁,…,Aₙ after selecting Aₚ=c. Q₂ projects them after selecting c₁≤Aₚ≤c₂. Compare ordered…
  50. Question 50 (2 marks, Multiple choice) – Find eigenvalues of pmatrix1&2&3\\0&4&7\\0&0&3pmatrix.
  51. Question 51 (2 marks, Multiple choice) – Four pipeline stages take 5,6,11,8 ns. Registers between stages and after the last each add one ns. Under ideal steady-state conditions, find…
  52. Question 52 (2 marks, Multiple choice) – Over alphabet a, L=\ank:k>0\, with fixed positive integer n. Find the smallest DFA state count.
  53. Question 53 (2 marks, Multiple choice) – An 8 KB direct-mapped write-back cache has 32-byte blocks and 32-bit processor addresses. Metadata per line has one valid bit, one modified bit and…
  54. Question 54 (2 marks, Multiple choice) – Loading 100 application libraries requires one disk access each. Seek time is 10 ms and rotation speed 6000 rpm. Locations are random; ignore…
  55. Question 55 (2 marks, Multiple choice) – DFA D has transitions p:a→s,b→q; q:a→t,b→r; r loops on a,b; s,t are accepting and each loops on a,b. Which displayed DFA is an equivalent minimal…
  56. Question 56 (2 marks, Multiple choice) – Loan Records(Borrower,Bank Manager,Loan Amount) contains (Ramesh,Sunderajan,10000),(Suresh,Ramgopal,5000),(Mahesh,Sunderajan,7000). Find the output.
  57. Question 57 (2 marks, Multiple choice) – A quadratic-root routine handles four input classes: a=0, positive discriminant, zero discriminant, negative discriminant. It stores ordered real…
  58. Question 58 (2 marks, Multiple choice) – Find foo(345,10).
  59. Question 59 (2 marks, Multiple choice) – Find foo(513,2).
  60. Question 60 (2 marks, Multiple choice) – The three D flip-flops form the shown counter. Immediately before a clock edge P,Q,R=0,1,0. Find PQR after the edge.
  61. Question 61 (2 marks, Multiple choice) – All three flip-flops in the shown counter start zero. How many distinct PQR states are generated?
  62. Question 62 (2 marks, Multiple choice) – A symmetric five-node distance-vector network has links N1–N2=1,N2–N5=3,N5–N4=4,N4–N3=2,N2–N3=6. Stable vectors in N1,…,N5 order are N1:(0,1,7,8,4),…
  63. Question 63 (2 marks, Multiple choice) – A symmetric five-node distance-vector network has links N1–N2=1,N2–N5=3,N5–N4=4,N4–N3=2,N2–N3=6. Stable vectors in N1,…,N5 order are N1:(0,1,7,8,4),…
  64. Question 64 (2 marks, Multiple choice) – An undirected graph has vertices v₁,…,vₙ, n>2. Vertices vᵢ,vⱼ are adjacent iff 0< i−j ≤2; edge weight is i+j. The drawing shows n=4. Find MST cost for…
  65. Question 65 (2 marks, Multiple choice) – An undirected graph has vertices v₁,…,vₙ, n>2. Vertices vᵢ,vⱼ are adjacent iff 0< i−j ≤2; edge weight is i+j. The drawing shows n=4. For n=10, find…