TOC 4A

TOC 4A

University

25 Qs

quiz-placeholder

Similar activities

KUIZ KERJAYA T6

KUIZ KERJAYA T6

University

20 Qs

QUIZ BEE

QUIZ BEE

University

20 Qs

Moslem Squad Gathering

Moslem Squad Gathering

University

20 Qs

20 Σπουδαία Μυαλά Που Άλλαξαν Τον Κόσμο

20 Σπουδαία Μυαλά Που Άλλαξαν Τον Κόσμο

6th Grade - University

20 Qs

Dò chương 6,7 KTDC cho ny  =)

Dò chương 6,7 KTDC cho ny =)

University

24 Qs

TOC 3A

TOC 3A

University

25 Qs

TOC 4B

TOC 4B

University

25 Qs

LAT PU 24 APRIL 2026

LAT PU 24 APRIL 2026

12th Grade - University

20 Qs

TOC 4A

TOC 4A

Assessment

Quiz

Other

University

Hard

Created by

SAJU RAJ T

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Chomsky Normal Form (CNF)?

Every production is of form A → aB

A → BC or A → a

A → a or ε

A → aB or ε

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not allowed in CNF?

A → a

A → BC

A → ε (except S → ε)

A → B

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Greibach Normal Form (GNF), productions are of the form:

A → a

A → aB

A → aα (a terminal followed by variables)

A → αa

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which normal form removes left recursion?

CNF

GNF

None

Both

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these can simplify a CFG?

Removing useless symbols

Removing ε-productions

Removing unit productions

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The pumping lemma for CFLs is used to:

Prove regularity

Prove a language is context-free

Prove a language is not context-free

Generate languages

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pumping lemma applies to:

Regular languages only

All context-free languages

Recursive languages

All grammars

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?