What is Chomsky Normal Form (CNF)?

TOC 4A

Quiz
•
Other
•
University
•
Hard
SAJU RAJ T
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
25 questions
TOC 1 B

Quiz
•
University
25 questions
TOC UNIT 2B

Quiz
•
University
20 questions
Summer3 FY22

Quiz
•
KG - Professional Dev...
20 questions
Microsoft Excel

Quiz
•
KG - Professional Dev...
20 questions
ADAS HYUNDAI

Quiz
•
University
20 questions
Um mundo superpovoado?

Quiz
•
8th Grade - University
20 questions
Pengantar SEM

Quiz
•
University
25 questions
TOC 3A

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade