Which transformation step is needed to convert a CFG to CNF?

TOC 4B

Quiz
•
Other
•
University
•
Hard
SAJU RAJ T
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Remove left recursion
Remove ε-productions
Remove unit productions
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a step in converting CFG to GNF?
Left recursion removal
ε-production removal
Rewriting RHS to start with terminal
Push symbols to stack
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CNF guarantees that every production has:
One terminal
Two variables or one terminal
Unit production
At least one ε
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In GNF, the RHS always begins with:
Terminal
Variable
ε
Combination
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which language violates the CFL pumping lemma?
{aⁿbⁿcⁿ | n ≥ 1}
{aⁿbⁿ | n ≥ 1}
Palindromes
{aⁿbᵐ | n ≠ m}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pumping lemma for CFLs states the string can be broken as:
uvxy
uvxyz
uvx
uvxyz where |vxy| ≤ p and |vy| ≥ 1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CFLs are not closed under which operation:
Complement
Union
Substitution
Reversal
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
TOC 3A

Quiz
•
University
20 questions
Logística U5

Quiz
•
University
29 questions
Computer Assisted Translation - Postgraduates

Quiz
•
University
25 questions
UNIT -2 B Top-Down Parsing Quiz

Quiz
•
University
20 questions
Periodic table Symbols 21-40

Quiz
•
3rd Grade - Professio...
21 questions
Câu hỏi về chuyển đổi số trong logistics

Quiz
•
University
20 questions
VPP Chatper 3.5-3.7

Quiz
•
University
20 questions
ASD LAST WEEK \o/

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade