TOC 4B

TOC 4B

University

25 Qs

quiz-placeholder

Similar activities

Pengantar SEM

Pengantar SEM

University

20 Qs

Quiz Of The Week (A1, W2)

Quiz Of The Week (A1, W2)

KG - Professional Development

20 Qs

Mock Exam International Trade

Mock Exam International Trade

University

20 Qs

Ordinario Servicios de Internet

Ordinario Servicios de Internet

University

20 Qs

Occupational safety and healthy

Occupational safety and healthy

University

20 Qs

Assisting with Nasogastric and Gastrostomy Care and Tube Feeds

Assisting with Nasogastric and Gastrostomy Care and Tube Feeds

University - Professional Development

24 Qs

Sewing Tools

Sewing Tools

KG - University

20 Qs

THUẬT NGỮ NGHIỆP VỤ PHÒNG

THUẬT NGỮ NGHIỆP VỤ PHÒNG

University

22 Qs

TOC 4B

TOC 4B

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

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?