Search Header Logo

TOC 3B

Authored by SAJU RAJ T

Other

University

Used 1+ times

TOC 3B
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which grammar generates {aⁿbⁿcⁿ | n ≥ 1}?

CFG

Type 3

Type 1

Regular expression

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true for deterministic PDA?

It accepts all CFLs

Every N-PDA can be converted to D-PDA

D-PDA languages ⊂ CFLs

D-PDA = N-PDA

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which production causes left recursion?

A → aA

A → Aa

A → a

A → ε

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The language {aⁿbⁿcᵐ | n, m ≥ 0} is:

Regular

Context-free

Context-sensitive

Recursive

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A PDA accepts by final state if:

Stack is empty

Final state is reached

Both input and stack are empty

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In CFG, which form ensures no left recursion?

Greibach Normal Form

Chomsky Normal Form

Leftmost derivation

Rightmost derivation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which string is not generated by S → aSb | ab?

ab

aabb

aaabbb

abab

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?