TOC UNIT 2B

TOC UNIT 2B

University

25 Qs

quiz-placeholder

Similar activities

11. quiz

11. quiz

University

24 Qs

Cardiac Procedures Pt II- Quiz

Cardiac Procedures Pt II- Quiz

University

22 Qs

Neuro MI

Neuro MI

University

23 Qs

AYS GASTRO

AYS GASTRO

University

22 Qs

TOC UNIT 2B

TOC UNIT 2B

University

25 Qs

Turing Machines Quiz

Turing Machines Quiz

University

25 Qs

Rangkaian listrik kelas 6 sd

Rangkaian listrik kelas 6 sd

6th Grade - University

20 Qs

TESL 4204 Ch. 3 Midterm Review

TESL 4204 Ch. 3 Midterm Review

University

24 Qs

TOC UNIT 2B

TOC UNIT 2B

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?