CD S8 3-2-23

CD S8 3-2-23

University

9 Qs

quiz-placeholder

Similar activities

CD QUIZ S6 WS 22-3-22

CD QUIZ S6 WS 22-3-22

University

10 Qs

Chapter 4​ Lexical and Syntax Analysis- Part 1​

Chapter 4​ Lexical and Syntax Analysis- Part 1​

University

5 Qs

CD-VIVA

CD-VIVA

University

10 Qs

Compiler Design Lecture 1

Compiler Design Lecture 1

University - Professional Development

10 Qs

Test - 2

Test - 2

University

10 Qs

CSC305: TOPIC 1

CSC305: TOPIC 1

University

11 Qs

TECHIE BLAZERS

TECHIE BLAZERS

University

10 Qs

Syntax Testing

Syntax Testing

University

10 Qs

CD S8 3-2-23

CD S8 3-2-23

Assessment

Quiz

Computers

University

Medium

Created by

சங்கர் க

Used 3+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the output of lexical analyzer?

a) A set of RE

b) Syntax Tree

c) Set of Tokens

d) String Character

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which concept of FSA is used in the compiler?

Lexical analysis

Parser

Code generation

Code optimization

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following are Lexemes?

Identifiers

Constants

Keywords

All of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In a compiler the module that checks every character of the source text is called __________

The code generator

The code optimizer

The lexical analyzer

The syntax analyzer

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

An individual token is called ________

Lexeme

Lex

Lexeme & Lex

None of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Lexical Analyser’s Output is given to Syntax Analysis.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Input to Lexical Analyser is _________

Source Code

Object Code

Lexeme

None of the mentioned

8.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A ________ is a string of characters which form a syntactic unit.

Lexeme

Lex

Lexeme & Lex

None of the mentioned

9.

OPEN ENDED QUESTION

3 mins • 5 pts

write a feedback about the class.........................

Evaluate responses using AI:

OFF