Skip to content
VUBuddy

CS402 Quiz 4

Theory of Automata PDF 846 KBUpdated 23 Oct 2026
Quiz CS402 Quiz 4 PDF 846 KB
vubuddy.com
Type
Quiz
Course
CS402 Theory of Automata
Size
PDF 846 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 846 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 1, 2 of 2. Download the file for all 2 pages.

Q1. The length of output string in case of _________ is one more than the length of corresponding input string.

  1. Adding Machine
  2. Moore machine
  3. Incremental machine
  4. Mealy machine

Correct answer: Moore machine

Q2. The language L defined over Σ, not belonging to L, is called _______ of the language L.

  1. intersection
  2. closure
  3. union
  4. complement

Correct answer: complement

Q3. For a given Moore Machine, the input string is '101010', thus the output string would be of length:

  1. Length of input string - 2
  2. Length of input string + 2
  3. Length of input string + 1
  4. Length of input string - 1

Correct answer: Length of input string + 1

Q4. Which of the following is a non-regular language?

  1. Prime
  2. Even-Even
  3. Language of strings ending in abba
  4. Odd-Odd

Correct answer: Prime

Q5. If a language generates finite number of distinct classes then it must be _____________.

  1. both regular and context free
  2. non-regular
  3. context free
  4. regular

Correct answer: regular

Q6. In pref(Q in R), Q is _______ to/than R.

  1. Greater
  2. Smaller
  3. Equal
  4. Not equal

Correct answer: Greater

Q7. If new A =1 NAND ( 1 AND 1), then what will be the value of new A?

  1. 1
  2. 0
  3. 10
  4. 01

Correct answer: 0

Q8. In Moore machine, output is produced over the change of:

  1. None of the mentioned
  2. Transitions and states
  3. States
  4. Transitions

Correct answer: States

Q9. The operators like (* , +) in the parse tree are considered as ________.

  1. terminals
  2. productions
  3. non-terminals
  4. intermediates

Correct answer: non-terminals

Q10. In polish notation, (o-o-o) is the abbreviation of _________.

  1. Operator - Operand – Operand
  2. Operand - Operator – Operand
  3. Operand - Operand - Operator
  4. Operand - Operand – Operand

Correct answer: Operator - Operand – Operand

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.