TOC quiz

TOC quiz

University

20 Qs

quiz-placeholder

Similar activities

Spinal cord review

Spinal cord review

University

16 Qs

Memory Hierarchy Quiz

Memory Hierarchy Quiz

University

20 Qs

Evaluación del Desarrollo del Lenguaje

Evaluación del Desarrollo del Lenguaje

University

21 Qs

Dasar Listrik dan Elektronika

Dasar Listrik dan Elektronika

10th Grade - University

22 Qs

LD_Summary

LD_Summary

University

20 Qs

PLTW-POE EOC

PLTW-POE EOC

9th Grade - University

15 Qs

FLAT - UNIT 1

FLAT - UNIT 1

University

24 Qs

PRUEBA MAQUINAS Y CONTROL

PRUEBA MAQUINAS Y CONTROL

University

15 Qs

TOC quiz

TOC quiz

Assessment

Quiz

Other

University

Hard

Created by

Hemang Thakar

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which one of the following languages over the alphabet {0,1} is described by the regular expression: (0+1)*0(0+1)*0(0+1)* ?

The set of all strings containing the substring 00.

The set of all strings containing at most two 0’s.

The set of all strings containing at least two 0’s.

The set of all strings that begin and end with either 0 or 1.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is FALSE?

There is unique minimal DFA for every regular language

Every NFA can be converted to an equivalent PDA.

Every nondeterministic PDA can be converted to an equivalent deterministic PDA.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are regular sets?

{anb2m|n≥0, m≥0}

{anbm | n = 2m}

{anbm n=m}

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Consider the regular language L = (111 + 11111)*. The minimum number of states in any DFA accepting this languages is:

3

4

5

9

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

The language recognized by M is :

{w ∈ {a, b}* / every a in w is followed by ex­actly two b's}

{w ∈ {a, b}* every a in w is followed by at least two b’}

{w ∈ {a, b}* w contains the substring 'abb'}

{w ∈ {a, b}* w does not contain 'aa' as a substring}

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

{q0, q1, q2}

{q0, q1}

{q0, q1, q2, q3}

{q3}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The smallest finite automation which accepts the language {x | length of x is divisible by 3} has :

2 states

3 states

4 states

5 states

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?