CC module 2

CC module 2

University

20 Qs

quiz-placeholder

Similar activities

SQL Exam

SQL Exam

University

23 Qs

LabVIEW Steminar Quiz

LabVIEW Steminar Quiz

University

20 Qs

Computer Language Quiz

Computer Language Quiz

9th Grade - University

16 Qs

Compiler Design

Compiler Design

University

20 Qs

Backup and Restore on Router

Backup and Restore on Router

University

15 Qs

ProgaTest_ME1R

ProgaTest_ME1R

University

22 Qs

WORKSHOP

WORKSHOP

University

20 Qs

COMPILER DESIGN SECTION C

COMPILER DESIGN SECTION C

University

25 Qs

CC module 2

CC module 2

Assessment

Quiz

Computers

University

Medium

Created by

Anil Chinchawade

Used 15+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the reason behind the division of compiling into lexical analysis & parsing?
Simple Design
Efficiency 
Portability
All of above 

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In compiler, grouping of characters into token is done by
Scanner
Parser
Code generator
Code optimizer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Table     created   by  lexical  analysis   to  describe   all  literals  used  in  source        program is
Terminal table
Literal table
Identifier table 
Reductions 

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The  table   created   by   lexical   analysis   to   describe   all   identifiers  used   in   the         source program is
Terminal table
Literal table
Symbol table 
Reductions 

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Two DFAs are equivalent if they
Have same number of states
Have same number of edges
Have same number of states & edges
Recognize the same set of tokens

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Whether give pattern constitute a token or not depends on
Source language 
Target language
Compiler 
All of these 

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The lexeme for the token “identifier” in the following example is:                          
const pi = 3.14;
pi
 3.14
Const
None of above

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?