GATE CS Context-free Grammars and Push-down Automata questions
Practise Context-free Grammars and Push-down Automata questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.
Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.
20 on this page
Consider the following grammar where is the start symbol, and and are terminal symbols. Which of the following statements is/are true?
Consider the following context-free grammar , where , and are the variables (non-terminals), and are the terminal symbols, is the start variable, and the rules of are described as: Which ONE of the …
Which ONE of the following languages is accepted by a deteministic pushdown automaton?
Consider the context-free grammar below where and are non-terminals, and and are terminal symbols. The starting non-terminal is . Which one of the following statements is
Consider the pushdown automaton below, which runs on the input alphabet , has stack alphabet , and has three states , with being the start state. A transition from state to state , labelled , where is an input symbol or is a stack symbol, …
Consider the following languages: Which of the following statements is/are
Consider the following languages: Note that is the reversal of the string Which of the following is/are
Suppose that is a regular language and is a context-free language. Which one of the following languages is necessarily context-free?
In a pushdown automaton , a transition of the form, where , , and , represents Consider the following pushdown automaton over the input alphabet and stack alphabet …
For a string , we define to be the reverse of . For example, if then . Which of the following languages is/are context-free?
Which one of the following languages over is NOT context-free?
Consider the following languages: Which of the …
Consider the following languages over the alphabet . Let and . Which of the following are context-free languages?
Consider the context-free grammars over the alphabet given below. and are non-terminals. The language is
If is a grammar with productions where is the start variable, then which one of the following strings is not generated by ?
Consider the following context-free grammar over the alphabet with as the start symbol:Which one of the following represents the language generated by the above grammar?
Identify the language generated by the following grammar, where is the start variable.
Consider the transition diagram of a PDA given below with input alphabet and stack alphabet . is the initial stack symbol. Let denote the language accepted by the PDA Which one of the following is TRUE?
Consider the following context-free grammars; Which one of the following pairs of languages is generated by and ,respectively?
Which of the following languages is generated by the given grammar?
