
Theory of Automata (Test 2)
Quiz
•
Computers
•
University
•
Hard
Engr. Mazhar Basheer Arain
Used 1+ times
FREE Resource
Enhance your content
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
PAS X TKJ 2022
Quiz
•
University
20 questions
1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni
Quiz
•
University - Professi...
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
18 questions
Memory-Mobo-Hard/Software
Quiz
•
University
20 questions
Digital introductions
Quiz
•
University
16 questions
Digital Icons
Quiz
•
12th Grade - University
20 questions
POST TEST WEB STATIC
Quiz
•
University - Professi...
20 questions
Google SketchUp Tool
Quiz
•
KG - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University