- Type
- Final term past paper
- Course
- CS402 Theory of Automata
- Size
- PDF 1.5 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 55. Download the file for all 55 pages.
- If Σ = {aa, bb} , then Σ* will not contain
• aaabbb
- aabbbb
- aabbaa
- bbaabbbb
- “One language can have _ TG‟s”.
- Only one
- Only two
• More than one
- Only three
- According to 1st part of the Kleene‟s theorem, If a language can be accepted by an FA then it can be accepted by a _ as well.
- FA
- CFG
- GTG
- TG
- Even-palindrome is a _ language.
• Non-regular
- Regular
- Regular but infinite
- Regular but finite
- If L is a regular language then, Lc is also a _ language.
- Non-regular
- Regular but finite
- None of the given
- Pumping lemma is generally used to prove that:
- A given language is infinite
• A given language is not regular
- Whether two given regular expressions of a regular language are equivalent or not
- the FA has N states, then test the words of length less than N. If no word is accepted by this FA, then it will word/words.
- accept all
• accept no (Page 85)
- accept some
- reject no
- In CFG, the symbols that can’t be replaced by anything are called
• Terminal (Page 87)
- Non-Terminal
- Production
- All of given
Q9. Which of the following is a regular language?
• String of odd number of zeroes
- Set of all palindromes made up of 0‟s and 1‟s
- String of 0‟s whose length is a prime number
- All of these
10. Which of the following pairs of regular expressions are equivalent?
- 1(001)* and (10)*10
• x(xx)* and (x)*x
- X + and X*
- X + and X* X +
11. An alphabet of Σ is valid if
- No letter of Σ appears in middle of any other letter
- No letter of Σ appears at end of any other letter
• No letter of Σ appears at start of any other letter
- No letter of Σ appears at end or middle of any other letter
12. Which of the following statement is true
- The length of the output string is greater than length of input string in moore machine.
- The length of the output string is greater than length of input string in mealy machine.
- The length of the output string is equal to length of input string in moore machine.
- The length of the output string is less than length of input string in mealy machine.
13. If a CFG has only productions of the form nonterminal → string of two nonterminals or nonterminal → one terminal then the CFG is said to be in _
• Chomsky Normal Form
- Ambiguous Form
- Left Aligned Form
- Right Aligned Form
14. We can also represent an FA using different states e.g Accept state; Reject state, Read state etc. The state behaves as final state of an FA
• Accept (Page 105)
- Pop
- Push
- Reject
15. where the input string is placed before it is run, is called _
- Date tape
• Input Tape (Page 105)
- Output Tape
Related CS402 files
All CS402 files →- CS402 Final Term Solved Subjective Set 2 by Junaid Final term PDF 1.5 MB
- CS402 Final Term Mega File Final term PDF 8.7 MB
- CS402 Final Term Solved MCQs Set 5 by Junaid Final term PDF 1.6 MB
- CS402 Handouts Lectures 1-45 Handout PDF 11.8 MB
- CS402 Solved Quiz 1 Quiz PDF 486 KB
- CS402 Final Term Mega File by Gumnaam Helpers Final term PDF 11.1 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.