
Compiler design -Quiz2
Authored by Pitchaimanickam B
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
13 questions
PWM y ADC con el MSP430F5529
Quiz
•
University
10 questions
Truy tìm Anh tài ( Bài 2 Tin 4)
Quiz
•
4th Grade - University
15 questions
8051-MCQ
Quiz
•
University
20 questions
Control Structures C#
Quiz
•
University
14 questions
Sains Komputer Tingkatan 4 - 2.2.3 Menghasilkan gambar rajah
Quiz
•
1st Grade - Professio...
15 questions
Object Oriented Programming Assessment 1
Quiz
•
University
11 questions
Youtube
Quiz
•
4th Grade - University
10 questions
computer Networks
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade