Theory of Automata (Test 2)

Theory of Automata (Test 2)

University

20 Qs

quiz-placeholder

Similar activities

A level Y12 Data Representation - Numbers SETS

A level Y12 Data Representation - Numbers SETS

11th Grade - University

18 Qs

Python_Quiz_2

Python_Quiz_2

University

15 Qs

2TK - Review Dinamik Routing - 091219

2TK - Review Dinamik Routing - 091219

University

20 Qs

2.GRADE STORY 5

2.GRADE STORY 5

2nd Grade - University

15 Qs

Grade 7 Comp - Unit 4 Review

Grade 7 Comp - Unit 4 Review

7th Grade - University

20 Qs

CC103 - Seatwork 1

CC103 - Seatwork 1

University

15 Qs

AV1/R1 3TEC_PM_Programação Mobile - Atividade Aula 01

AV1/R1 3TEC_PM_Programação Mobile - Atividade Aula 01

1st Grade - University

15 Qs

ETHICAL, LEGAL, AND SOCIAL ISSUES OF INFORMATION TECHNOLOGY

ETHICAL, LEGAL, AND SOCIAL ISSUES OF INFORMATION TECHNOLOGY

University

20 Qs

Theory of Automata (Test 2)

Theory of Automata (Test 2)

Assessment

Quiz

Computers

University

Hard

Created by

Engr. Mazhar Basheer Arain

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the regular expression (a + b) match?

One or more 'a's and 'b's

Exactly one 'a' or one 'b'

Zero or more 'a's or 'b's

Zero or more 'a's followed by 'b'

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following regular expressions matches any string that ends with 'ab'?

a(ab)*

(a+b)*ab

ab(a+b)

None of these

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following regular expressions represents strings with any number of 'a's followed by exactly one 'b'?

ab*

a+b

a*b

b*a

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The regular expression (a+b)*c represents what kind of strings?

Strings that have only 'a's and 'b's

Strings that contain at least one 'c'

Strings that contain 'a', 'b', and 'c' in any order

Strings that end with 'c'

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a characteristic of a non-deterministic finite automaton (NFA)?

It can be in more than one state at a time.


It can have multiple transitions for the same input from a state.

It has no start state.

Both a) and b).

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the main difference between a DFA and an NFA?

A DFA has multiple states for each input symbol, while an NFA has only one.

An NFA is always deterministic, whereas a DFA is non-deterministic.

A DFA has a single possible transition for each input symbol from a given state, whereas an NFA can have multiple possible transitions.

There is no difference.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not an essential component of a finite automaton?

A finite set of states


A tape for reading input

An input alphabet

A transition function

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?