TOC 1 A

TOC 1 A

University

25 Qs

quiz-placeholder

Similar activities

Coding Vocabulary

Coding Vocabulary

University

21 Qs

K-MAP

K-MAP

University

20 Qs

Geomatry

Geomatry

University

20 Qs

Print Reading Unit 5

Print Reading Unit 5

University

20 Qs

TOC UNIT 2B

TOC UNIT 2B

University

25 Qs

TOC UNIT 2B

TOC UNIT 2B

University

25 Qs

FLAT UNIT 5

FLAT UNIT 5

University

25 Qs

Sintaxis teoria

Sintaxis teoria

University

24 Qs

TOC 1 A

TOC 1 A

Assessment

Quiz

Other

University

Hard

Created by

SAJU RAJ T

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Let L be the set of all strings over {a, b} that do not contain "aaa" as a substring. What is the minimum number of states in a DFA accepting L?

2

3

4

5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following regular expressions defines the language of all strings over {a, b} that end with "ab"?

(a+b)ab

ab(a+b)

(a+b)a(b)

(a+b)*ba

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider a DFA that accepts binary strings divisible by 3. How many states does the minimal DFA have?

2

3

4

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A language L over alphabet {a, b} is defined by the regular expression (a+b)abb. Which of the following strings is in L?

abab

abb

baab

bba

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given an NFA with ε-transitions and 4 states, what is the maximum number of states in the equivalent DFA after removing ε-transitions and determinizing?

8

16

4

10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider a DFA with 6 states. What is the worst-case number of equivalence classes during DFA minimization?

6

5

2

Depends on language

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What language is recognized by the regular expression (a+b)a(a+b)(a+b)?

Strings with 'a' as the 3rd-last symbol

Strings starting with 'a'

Strings ending in 'aa'

Strings of length 3

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?