Search Header Logo

TOC UNIT 2B

Authored by SAJU RAJ T

Other

University

TOC UNIT 2B
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 language is generated by the regular expression (a|b)abb?

Strings ending in abb

Strings containing abb

Strings starting with abb

All strings over {a, b}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a regular language?

{aⁿbⁿ | n ≥ 0}

{a, ab, abb, abbb, …}

{w | w contains an even number of 0s}

{w | w does not contain the substring '11'}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is TRUE about regular expressions and finite automata?

Every regular expression can be converted to an NFA

Every DFA has a corresponding regular expression

They both define regular languages

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these operations preserve regularity?

Union

Concatenation

Kleene star

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pumping Lemma is used to:

Convert NFA to DFA

Prove a language is regular

Prove a language is not regular

Minimize a DFA

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT closed under regular languages?

Union

Intersection

Complement

Context-Free Grammar

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If L1 and L2 are regular, then L1 ∩ L2 is:

Always regular

Never regular

Regular only if L1 ⊆ L2

Not guaranteed to be regular

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?