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
One of the following valid Regular Expression is equivalent to the Regular Expression a? Which one is it?
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 Wayground
15 questions
Five pillar of information security

Quiz
•
University
10 questions
AWD Quiz #4

Quiz
•
University
15 questions
Introducción a CNC

Quiz
•
University
15 questions
quiz common safety and environmental procedures

Quiz
•
12th Grade - University
12 questions
Python Quiz

Quiz
•
University
10 questions
Quizz3 Ciencia de Datos

Quiz
•
University
11 questions
Examen de R-Studio

Quiz
•
University
12 questions
Sistemas Operacionais Linux

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University