The regular expression represents

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
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 Quizizz
18 questions
Module 2 - Short Quiz

Quiz
•
University
16 questions
Searching & Sorting Algorithms

Quiz
•
10th Grade - University
20 questions
Lecture 2 - Introduction to Computing (2/2)

Quiz
•
University
10 questions
BCSC0006 Trees

Quiz
•
University
12 questions
AppsDev-Quiz-1-HTML

Quiz
•
University
20 questions
Computer Architecture

Quiz
•
University
10 questions
QUIZ 1_DFA

Quiz
•
University
10 questions
321 - Quiz07

Quiz
•
University
Popular Resources on Quizizz
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade