
TOC 4A

Quiz
•
Other
•
University
•
Hard
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
Similar Resources on Wayground
20 questions
Kuiz UiTM Dihatiku

Quiz
•
University
25 questions
FLAT UNIT 5

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

Quiz
•
6th Grade - University
24 questions
Sintaxis teoria

Quiz
•
University
21 questions
Philosophy 101 Review

Quiz
•
University
20 questions
SOAL INFORMATIKA KELAS Xl.1dan XI.2

Quiz
•
12th Grade - University
25 questions
Grammar and PDA Quiz

Quiz
•
University
20 questions
Strategic Digital Transformation in UiTM

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade