321 - Quiz07

321 - Quiz07

University

10 Qs

quiz-placeholder

Similar activities

OM_SBENT3C_Q2

OM_SBENT3C_Q2

University - Professional Development

15 Qs

Pint of Science Carballo Día 3

Pint of Science Carballo Día 3

University

10 Qs

Quiz 1: The background and history of IoT

Quiz 1: The background and history of IoT

University

10 Qs

1 Herramientas Digitales

1 Herramientas Digitales

6th Grade - University

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

Linked List 2

Linked List 2

University

10 Qs

Cuestionario Steve Jobs

Cuestionario Steve Jobs

12th Grade - University

10 Qs

321 - Quiz07

321 - Quiz07

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Malcolm McCullough

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

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

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

Media Image

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

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

Already have an account?