Year-wise GATE papers

GATE 2005

7 questions and papers

GATE CS 2005 — Question 56

Multiple choice 2 marks Theory of Computation GATE CS — Computer Science & IT

Consider the languages \(L_1 = \{a^n b^n c^m \mid n, m > 0\}\) and \(L_2 = \{a^n b^m c^m \mid n, m > 0\}\). Which one of the following statements is FALSE?

GATE CS 2005 – Question 70

Multiple choice 2 marks Operating Systems GATE CS — Computer Science & IT

Consider the following code fragment, where the variable a already holds a value before the fragment starts executing:if (fork() == 0) { a = a + 5; printf("%d,…

GATE CS 2005 — Question 58

Multiple choice 2 marks Compiler Design GATE CS — Computer Science & IT

Consider the grammarS → ( S ) | aLet the number of states in the SLR(1), LR(1) and LALR(1) parsers for the grammar be \(n_1\), \(n_2\) and \(n_3\)…

GATE CS 2005 – Question 35

Multiple choice 2 marks Algorithms GATE CS — Computer Science & IT

Suppose \(T(n) = 2T(n/2) + n\), with \(T(0) = T(1) = 1\).Which one of the following is FALSE?