GATE exam stream

GATE CS — Computer Science & IT

174 questions and papers

GATE CS 2014 Set 2 — Question 35

Multiple choice 2 marks Theory of Computation 2014

Let \(L_1 = \{w \in \{0,1\}^* \mid w\) has at least as many occurrences of (110)'s as (011)'s\(\}\). Let \(L_2 = \{w \in \{0,1\}^* \mid w\) has at least as many occurrences of (000)'s as (111)'s\(\}\). Which one of the following is TRUE?

GATE CS 2012 — Question 27

Multiple choice 2 marks Theory of Computation 2012

Which of the following problems are decidable?Does a given program ever produce an output?If \(L\) is a context-free language, then is \(\bar{L}\) also context-free?If \(L\) is a regular language, then is \(\bar{L}\) also regular?If \(L\) is a recursive…

GATE CS 2010 — Question 35

Multiple choice 2 marks Theory of Computation 2010

Let \(L = \{w \in (0+1)^* \mid w\) has an even number of 1s\(\}\), i.e. \(L\) is the set of all bit strings with an even number of 1s. Which one of the regular expressions below represents \(L\)?

GATE CS 2007 — Question 31

Multiple choice 2 marks Theory of Computation 2007

A minimum state deterministic finite automaton accepting the language \(L = \{w \mid w \in \{0,1\}^*\), number of 0s and 1s in \(w\) are divisible by 3 and 5, respectively\(\}\) has