One of the following valid Regular Expression is equivalent to the Regular Expression a? Which one is it?
321 - Quiz07

Quiz
•
Computers
•
University
•
Medium

Malcolm McCullough
Used 9+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
a|ε
[a]
a+ε
not a valid RE
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
RE: (a|b)* is equivalent to b*a*
No
Yes
maybe
I should guess
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
RE: (a|b)* is equivalent to (a*b*)*
No
yes
Maybe
I should guess
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The Cambridge notation for z = x + 2 * y is?
(z (x (2 y*)+)=)
(= z (+ x (* 2 y)))
= z + x * 2 y
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Before you can use a grammar to create a LL(1) parser, you must
Remove Left Recursion
Calculate the First set for each Terminal
Make sure each production rule has a single RHS
make sure the current sentential form look like αAβ
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
LR parsers are table driven; uses a Left-to-right reading of input; create Rightmost derivation (in reverser order)
True
False
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Regular Expression: [ch]?at - matches which of the following?
hat
cat
at
chat
hcat
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
REPASO 3 FSW

Quiz
•
University
15 questions
FLAT QUIZ

Quiz
•
University
10 questions
CS1010 Lab 02

Quiz
•
University
10 questions
REGULAR EXPRESSION

Quiz
•
University
13 questions
Ms. Word

Quiz
•
University
10 questions
CSE 6R Midterm Review

Quiz
•
University
12 questions
Lógica Programação

Quiz
•
University
15 questions
Mathematical Calculations and Operations

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade