
Chomsky and CFL
Quiz
•
World Languages
•
University
•
Practice Problem
•
Medium
Julia Ulrich
Used 3+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When trying to transform a regular expression into a FSA, the first step is to…
write down the vocabulary of strings that are matched.
draw as many states as you can in one minute.
cry.
simplify the regex.
Answer explanation
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If a language is empty, its corresponding FSA…
does not exist.
has no accepting state.
is non-deterministic.
Answer explanation
The language being empty means that there is not a single string that can be accepted. This means that we cannot have an accepting state.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The intersection between two languages denotes…
a single word that exists in both of them.
the set of items that are accepted in one of the languages but not the other.
the set of items that are accepted in both languages.
the set of items that are accepted in at least one of the two languages.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The corresponding minimal FSA for the regular expression (a|b)[ab]*[cd]*d?c? can be drawn with … states.
3
1
4
2
Answer explanation
(a|b)[ab]*[cd]*d?c? can be simplified to [ab]+[cd]*
It becomes clear that two states are enough.
5.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
DFA are not allowed to have…
epsilon edges.
a final state.
multiple transition options for a given input.
more than a certain number of edges going out of a state.
Answer explanation
[ab]+[cd]*
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Context-free languages are also called […] in the Chomsky Hierarchy.
Type-0
Type-1
Type-2
Type-3
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Regular languages are […] than context-free languages.
more expressive
less expressive
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
14 questions
Spanish Greetings
Quiz
•
KG - University
16 questions
VOCABULARY 9-10
Quiz
•
5th Grade - University
14 questions
Malaysia Group.2
Quiz
•
KG - Professional Dev...
10 questions
LITERATURE
Quiz
•
KG - University
11 questions
Bien Dit 1 Chapter 1
Quiz
•
6th Grade - University
13 questions
THE ULTIMATE FLAG QUIZ
Quiz
•
KG - Professional Dev...
10 questions
If-Clause 1st conditional
Quiz
•
University
10 questions
Spanish Culture
Quiz
•
University - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for World Languages
40 questions
Spanish Double Object Pronouns
Quiz
•
10th Grade - University
25 questions
DEFINITE AND INDEFINITE ARTICLES IN SPANISH
Quiz
•
KG - University
10 questions
S3xU4 ESCAPA
Quiz
•
9th Grade - University
10 questions
ESP4 Unidad 3: Adjective clauses
Quiz
•
9th Grade - University
20 questions
Ser y estar
Quiz
•
7th Grade - University
20 questions
Preterito vs. Imperfecto
Quiz
•
KG - University
10 questions
ESP4 Unidad 3: Vocabulario
Quiz
•
9th Grade - University
