TOC UNIT 2B

TOC UNIT 2B

University

25 Qs

quiz-placeholder

Similar activities

Department of Humanities Students Satisfaction Survey

Department of Humanities Students Satisfaction Survey

University

21 Qs

Naturaleza de la Cognición - Grupo no. 4

Naturaleza de la Cognición - Grupo no. 4

University

20 Qs

Embriología Arteaga

Embriología Arteaga

University

20 Qs

Repaso unidad 2 semana 3

Repaso unidad 2 semana 3

12th Grade - University

20 Qs

Turing Machines Quiz

Turing Machines Quiz

University

25 Qs

El sistema endócrino y sus trastornos

El sistema endócrino y sus trastornos

University

20 Qs

EXAMEN ORDINARIO DERECHO BANCARIO Y BURSÁTIL

EXAMEN ORDINARIO DERECHO BANCARIO Y BURSÁTIL

University

20 Qs

ROUND 3

ROUND 3

University

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