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
19 questions
Data Types Java Concepts

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

Quiz
•
University
20 questions
Programming in Python

Quiz
•
University
20 questions
Python Strings

Quiz
•
University
10 questions
Intro to Binary - Concepts

Quiz
•
6th Grade - University
15 questions
module3

Quiz
•
University
20 questions
COMP177 Module 3 Quiz

Quiz
•
University
15 questions
Binary Addition

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade