
Compiler design -Quiz2

Quiz
•
Computers
•
University
•
Hard
Pitchaimanickam B
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The regular expression represents
part of the language
can not represent any language
Constituent string of a language
None of the other options
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The output of the lexical analyzer is
A set of RE
Syntax Tree
set of tokens
String char
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Two Important lexical categories are
White Space
Comments
None of the mentioned
White Space & Comments
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
when the expression sum=3+2 is tokenized then what is the token category of 3
Identifier
Assignment operator
Integer integral
Addition operator
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A DFA cannot have
Epsilon transitions
An isolated state
More than one transition from a state on same in out
All of the other options
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A regular expression for accepting strings with exactly one 1 more than 0’s is
0*1
(0|1)*1(0|1)*
(0|1)*1(0|1)*|1(0|1)*
Not possible
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Number of possible epsilon transitions from a state in an NFA is
One
At most one
Many
Zero
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
ASD - A

Quiz
•
University
10 questions
Introducción a Python - Clase 6

Quiz
•
University
10 questions
Assembly Language

Quiz
•
University
20 questions
NUMBER SYSTEM CONVERSIONS

Quiz
•
11th Grade - University
20 questions
Data Structures

Quiz
•
University
20 questions
Basic Computer Architecture Quiz

Quiz
•
University
15 questions
Networking I Quiz 1 - Midterms

Quiz
•
University
15 questions
FLAT QUIZ

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