TOC 4B

TOC 4B

University

25 Qs

quiz-placeholder

Similar activities

Occ69 Setting out

Occ69 Setting out

KG - University

28 Qs

Technology Quiz

Technology Quiz

University

20 Qs

Tutorial 1 Records Management

Tutorial 1 Records Management

University

20 Qs

Tutorial 3 IMD237

Tutorial 3 IMD237

University

20 Qs

Femenino futbol 11

Femenino futbol 11

University

20 Qs

Logística U5

Logística U5

University

20 Qs

Types of Fencing Quiz (L3)

Types of Fencing Quiz (L3)

University

20 Qs

Business Theory

Business Theory

KG - Professional Development

20 Qs

TOC 4B

TOC 4B

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

SAJU RAJ T

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?