TOC UNIT 2B

TOC UNIT 2B

University

25 Qs

quiz-placeholder

Similar activities

6. SINIF TÜRKÇE- SEVİYE BELİRLEME (EMİN HOCA)

6. SINIF TÜRKÇE- SEVİYE BELİRLEME (EMİN HOCA)

5th Grade - University

20 Qs

Consumer Behavior

Consumer Behavior

University

20 Qs

EMBEDDED SYSTEM DESIGN

EMBEDDED SYSTEM DESIGN

University

20 Qs

BEEE Pre-test Assessment

BEEE Pre-test Assessment

University

20 Qs

Principal of marketing chapter 2

Principal of marketing chapter 2

University

20 Qs

Examen Nº 1 y 2

Examen Nº 1 y 2

1st Grade - University

20 Qs

Sociología Latinoamericana_Facae01

Sociología Latinoamericana_Facae01

University

20 Qs

Artificial Potential Field Method & Roadmaps

Artificial Potential Field Method & Roadmaps

University

20 Qs

TOC UNIT 2B

TOC UNIT 2B

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

SAJU RAJ T

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 of the following is a regular language?

{aⁿbⁿ | n ≥ 0}

{aⁿ | n is prime}

{aⁿbᵐ | n, m ≥ 0}

{aⁿbⁿcⁿ | n ≥ 0}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the symbol * (Kleene star) represent in regular expressions?

Zero or more occurrences

One or more occurrences

Optional character

End of input

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which machine accepts regular languages?

Turing Machine

Pushdown Automaton

Finite Automaton

Stack Machine

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid regular expression?

a+b

a(b|c)*

(a|b)*abb

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does (a|b) mean?

Strings with exactly one a or b

Strings of only a's

Any string made of a's and b's

Only empty string

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the empty set a regular language?

Yes

No

Sometimes

Only for DFAs

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the language of the regular expression a?

Only strings with one a

Strings with no a

Strings with zero or more a's

Strings with only b's

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?