
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
10 questions
BCSC0006 Trees

Quiz
•
University
10 questions
Computer Languages

Quiz
•
KG - University
10 questions
Intro to Binary - Concepts

Quiz
•
6th Grade - University
15 questions
DSC UNIT 5

Quiz
•
University
10 questions
Assembly Language

Quiz
•
University
20 questions
NUMBER SYSTEM CONVERSIONS

Quiz
•
11th Grade - University
15 questions
Binary Addition

Quiz
•
9th Grade - University
19 questions
Data Types Java Concepts

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade