wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

FLAT Quiz

Total questions: 15

Worksheet time: 3mins

Name
Class
Date
1.

What does DFA stand for?

a)

Deterministic Finite Automata

b)

Digital Finite Algorithm

c)

Dual Function Automata

d)

Determined Final Automation

2.

Which of the following accepts languages with ε-transitions?

a)

DFA

b)

NFA

c)

ε-NFA

d)

Moore Machine

3.

Which machine provides output depending on the current state only?

a)

DFA

b)

NFA

c)

Moore Machine

d)

Mealy Machine

4.

What is the alphabet in Automata Theory?

a)

A type of grammar

b)

A finite set of symbols

c)

A set of strings

d)

An infinite set

5.

NFA is more powerful than DFA.

a)

True

b)

False

6.

Which regular expression denotes the language of all strings with even number of a’s?

a)

(aa)*

b)

(a|b)*

c)

ab*

d)

(bb)*

7.

Pumping Lemma is used to prove:

a)

A language is regular

b)

A language is not regular

c)

An automaton is minimal

d)

Grammar is ambiguous

8.

What is the result of minimizing a DFA?

a)

A faster DFA

b)

A more accurate DFA

c)

A DFA with the least number of states

d)

A DFA with no transitions

9.

Which of the following is a closure property of regular languages?

a)

Union

b)

Intersection

c)

Complement

d)

All of the above

10.

Which law helps simplify regular expressions?

a)

Boolean law

b)

Algebraic law

c)

De Morgan’s law

d)

Set theory

11.

Which of the following is a context-free language generator?

a)

DFA

b)

CFG

c)

NFA

d)

Regular Expression

12.

Which tree visually represents derivations in CFG?

a)

Binary Tree

b)

Parse Tree

c)

State Tree

d)

Syntax Graph

13.

Ambiguity in grammar means:

a)

No output is produced

b)

Multiple parse trees for the same string

c)

Unrecognized language

d)

Grammar is invalid

14.

Which acceptance method is used in PDA?

a)

Final state

b)

Empty stack

c)

Both a and b

d)

None

15.

Which of the following is NOT part of PDA definition?

a)

Stack

b)

Tape

c)

Input alphabet

d)

Set of states