TOC 3B

TOC 3B

University

25 Qs

quiz-placeholder

Similar activities

QUIZ WEEK 6

QUIZ WEEK 6

University

20 Qs

VARIADOS 6

VARIADOS 6

University

20 Qs

Quiz ODC-Jan 2021

Quiz ODC-Jan 2021

University

20 Qs

Quiz No. 1_EA

Quiz No. 1_EA

University

20 Qs

Microsoft Week 23 PA Wrap Up!

Microsoft Week 23 PA Wrap Up!

University

20 Qs

Sistem Persamaan Linier

Sistem Persamaan Linier

University

20 Qs

UAS MK. Manajemen Pemasaran

UAS MK. Manajemen Pemasaran

University

20 Qs

Avaliação Regulamentação na Engenharia Civil

Avaliação Regulamentação na Engenharia Civil

University

20 Qs

TOC 3B

TOC 3B

Assessment

Quiz

Other

University

Practice Problem

Medium

Created by

SAJU RAJ T

Used 1+ times

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 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

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

Already have an account?