Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew

Search questions

126 questions
  1. GATE CSE 2026 Set 1, Q15, MSQ, Theory of computationConsider the following grammar where S is the start symbol, and a and b are terminal symbols. [formula] Which of the following statements is/are true?
  2. GATE CSE 2026 Set 1, Q16, MSQ, Theory of computationLet M be a nondeterministic finite automaton (NFA) with 6 states over a finite alphabet. Which of the following options CANNOT be the number of states in the…
  3. GATE CSE 2026 Set 1, Q41, MSQ, Theory of computationLet L_1 and L_2 be two languages over a finite alphabet, such that L_1 ∩ L_2 and L_2 are regular languages. Which of the following statements is/are always…
  4. GATE CSE 2026 Set 1, Q42, MSQ, Theory of computationConsider the following context-free grammar G. [formula] In the above grammar, S…
  5. GATE CSE 2026 Set 2, Q3, MCQ, Theory of computationWhich one of the following statements is equivalent to the following assertion? Turing machine M decides the language L ⊆{0,1}^*
  6. GATE CSE 2026 Set 2, Q37, MSQ, Theory of computationConsider the following two finite automata D_1 and D_2. [figure] Which of the following statements is/are true?
  7. GATE CSE 2026 Set 2, Q38, MSQ, Theory of computationLet Σ={a, b, c, d} and let L={a^i b^j c^k d^() | i, j, k, ≥ 0}. Which of the following constraints ensure(s) that the language L is context-free?
  8. GATE CSE 2025 Set 1, Q9, MCQ, Theory of computationConsider the following context-free grammar G, where S, A, and B are the variables (non-terminals), a and b are the terminal symbols, S is the start variable,…
  9. GATE CSE 2025 Set 1, Q18, MSQ, Theory of computationA regular language L is accepted by a non-deterministic finite automaton (NFA) with n states. Which of the following statement(s) is/are FALSE?
  10. GATE CSE 2025 Set 1, Q34, MCQ, Theory of computationConsider the following two languages over the alphabet {a, b}:…
  11. GATE CSE 2025 Set 1, Q35, MCQ, Theory of computationConsider the following two languages over the alphabet {a, b, c}, where m and n are natural numbers.…
  12. GATE CSE 2025 Set 1, Q40, MSQ, Theory of computationConsider the following deterministic finite automaton (DFA) defined over the alphabet, Σ={a, b}. Identify which of the following language(s) is/are accepted by…
  13. GATE CSE 2025 Set 1, Q49, NAT, Theory of computationConsider a finite state machine (FSM) with one input X and one output f, represented by the given state transition table. The minimum number of states required…
  14. GATE CSE 2025 Set 2, Q14, MCQ, Theory of computationWhich ONE of the following languages is accepted by a deteministic pushdown automaton?
  15. GATE CSE 2025 Set 2, Q15, MCQ, Theory of computationLet G_1, G_2 be Context Free Grammars (CFGs) and R be a regular expression. For a grammar G, let L(G) denote the language generated by G. Which ONE among the…
  16. GATE CSE 2025 Set 2, Q20, MSQ, Theory of computationConsider the two lists List I and List II given below:…
  17. GATE CSE 2025 Set 2, Q42, MSQ, Theory of computationLet Σ={a, b, c}. For x ∈ Σ^*, and α ∈ Σ, let #_(α)(x) denote the number of occurrences of α in x. Which one or more of the following option(s) define(s) regular…
  18. GATE CSE 2025 Set 2, Q50, NAT, Theory of computationLet Σ={1,2,3,4}. For x ∈ Σ^*, let prod(x) be the product of symbols in x modulo 7. We take prod(ε)=1, where ε is the null string. For example,…
  19. GATE CSE 2024 Set 1, Q13, MSQ, Theory of computationLet L_1, L_2 be two regular languages and L_3 a language which is not regular. Which of the following statements is/are always TRUE?
  20. GATE CSE 2024 Set 1, Q40, MSQ, Theory of computationConsider the 5 -state DFA. M accepting the language L(M) ⊂(0+1)^* shown below. For any string w ∈(0+1)^* let n_0(w) be the number of 0^() s in w and n_1(w) be…