Skip to content
VUBuddy

CS402 Quiz 2 Lectures 29-40 by Junaid

Theory of Automata PDF 899 KBUpdated 23 Oct 2026
Quiz CS402 Quiz 2 Lectures 29-40 by Junaid PDF 899 KB
vubuddy.com
Type
Quiz
Course
CS402 Theory of Automata
Size
PDF 899 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 899 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 3, 4 of 14. Download the file for all 14 pages.

  1. To write the expression from the tree,it is required to travel from____
  •  Top to bottom of the tree
  •  Left side of the tree
  •  Bottom to top of the tree
  •  Right side of the tree
  1. In conversion from of PDA, no two___states exit in a row without___state.
  •  PUSH, READ
  •  POP, READ
  •  PUSH, START
  •  POP, REJECT
  1. The CFG-SaSa|a|b|^represents____language.
  •  EVEN-EVEN
  •  PALINDROME
  •  EQUAL
  •  ODD-ODD
  1. The CFG that generates the regular language is called____
  •  Regular expression
  •  Finite automata
  •  Regular grammar
  •  Non-regular grammar
  1. Null production is a____
  •  Word
  •  String
  •  Terminal
  1. The CFG is said to be ambiguous if there exist at least one word of its language that can be generated by___ production trees
  •  One
  •  Two

ALL answers are verified if found any

mistake then Correct ACCORDINGLY

  •  At most one
  1. The structure given below is called S->aA|bB A->aS|a B->bS|b
  •  RE
  •  TG
  •  CFG
  •  PDA
  1. Identify the TRUE statement.
  •  A PDA is Non-deterministic, if there are more than one READ state in PDA
  •  A PDA is never non-deterministic
  •  Like TG,A PDA can also be non- deterministic
  •  A PDA is Non-deterministic, if there are more than one REJECT state in PDA
  1. In new format of an FA (discussed in Leacture 37)._____state is like a final state of an FA
  •  ACCEPT
  •  REJECT
  •  START
  •  READ
  1. In new format of an FA (discussed in Leacture 37)._____state is like a Initial state of an FA
  •  ACCEPT
  •  REJECT
  •  START
  •  READ
  1. Consider the Following CFG (NOTE:^means NULL) S-> Xa X->aX|bx|^ Above given CFG can be represented by RE___
  •  A*b*
  •  A*b*a
  •  (a+b)*a
  •  a(a+b)*a
  1. The major problem in the earliest computers was____
  •  TO state the contents in the registers
  •  To display mathematically formula
  •  To Load contents from the register
  •  To calculate the mathematically formula
  1. Identify the correct statement from the following:
  •  There always exists a corresponding PDA for every CFG
  •  There does not exist a corresponding PDA for every CFG
  •  For a CFG to convert to PDA the CFG should have at least 3 Nonterminal
  •  For a CFG to convert to PDA the CFG should have at least 5 Nonterminal
  1. The PDA is called non-deterministic PDA when there are more than one out going edges from___state.
  •  START or READ
  •  POP or REJECT
  •  READ or POP
  •  PUSH or POP
  1. Identifying the FALSE statement about following CFG. S->SB|AB A->CC B->b C->a
  •  CFG generated NULL string
  •  CFG is not in CNF
  •  CFG has 8 Nonterminal
  1. In nondeterministic PDA, a string is supposed to be accepted if there exists at least one path traced by the string, leading to____state.
  •  ACCEPT
All CS402 files →
CS402 Theory of Automata All CS402 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.