GATE CS Regular and Context-free Languages questions
Practise Regular and Context-free Languages 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
Let and be two languages over a finite alphabet, such that and are regular languages. Which of the following statements is/are always true?
Consider the following context-free grammar . In the above grammar, is the start symbol, and are terminal symbols, and and are non-terminal symbols. Let be the language …
Let and let . Which of the following constraints ensure(s) that the language is context-free?
A regular language is accepted by a non-deterministic finite automaton (NFA) with states. Which of the following statement(s) is/are FALSE?
Consider the following two languages over the alphabet : Which ONE of the following statements is CORRECT?
Consider the following two languages over the alphabet , where and are natural numbers. Which ONE of the following statements is CORRECT?
Let . For , and , let denote the number of occurrences of in . Which one or more of the following option(s) define(s) regular language(s)?
Consider the two lists List I and List II given below: …
Let be two regular languages and a language which is not regular. Which of the following statements is/are always TRUE?
Which of the following statements is/are
Which of the following statements is/are
Let denote an encoding of an automaton . Suppose that . Which of the following languages is/are recursive?
Let be a regular language and be a context-free language. Which of the following languages is/are context-free?
Consider the following two statements about regular languages: : Every infinite regular language contains an undecidable language as a subset. : Every finite language is regular. Which one of the following choices is correct?
Consider the following statements. If is regular, then both and must be regular. The class of regular languages is closed under infinite union. Which of the above statements is/are TRUE?
Consider the language and the following statements. is deterministic context-free. is context-free but not deterministic context-free. is not for any . Which of the above statements is/are TRUE?
Consider the following languages. Which one of the following is TRUE?
Consider the following language. number of ’s in divisible by but not divisible by The minimum number of states in DFA that accepts is _________
If is a regular language over , which one of the following languages is NOT regular?
Consider the following sets: S1: Set of all recursively enumerable languages over the alphabet S2: Set of all syntactically valid C programs S3: Set of all languages over the alphabet S4: Set of all non-regular languages over the alphabet Which of the above sets are uncountable?
