Compiler Design  U1

Compiler Design U1

University

15 Qs

quiz-placeholder

Similar activities

COMPILER DESIGN QUIZ 28.3.2023

COMPILER DESIGN QUIZ 28.3.2023

University

10 Qs

CSC305: TOPIC 1

CSC305: TOPIC 1

University

11 Qs

Compiler

Compiler

University

15 Qs

Syntax Testing

Syntax Testing

University

10 Qs

Introduction to NLP

Introduction to NLP

University

20 Qs

CD QUIZ S6 25-3-22

CD QUIZ S6 25-3-22

University

10 Qs

Compiler

Compiler

11th Grade - University

20 Qs

CS2505 Compiler Optimization - Quiz-1

CS2505 Compiler Optimization - Quiz-1

University

10 Qs

Compiler Design  U1

Compiler Design U1

Assessment

Quiz

Computers

University

Hard

Created by

Sheryl A

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which phase of compiler does NOT use symbol table?

Code generation

Syntax Analysis

Lexical Analysis

None of the options

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phase of the compiler scanning the input sequence is known as

Input scanning

Lexical analysis

Structure analysis

Syntax analysis

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A compiler can check

Logical error

Syntax error

Both logical error and syntax error

Not logical and syntax error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The major area for optimization is loop as

Loop may go to infinite execution

Condition check takes exceedingly large time

Loop body is repeated several times

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Symbol table is created by

Lexical analyzer

Syntax analyzer

Both lexical and syntax analyzer

Neither lexical nor syntax analyzer

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Output file of Lex is _____ the input file is Myfile

Myfile.e

Myfile.yy.c

Myfile.lex

Myfile.obj

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Most of the programming language follows

Static scoping

Dynamic scoping

Both static and dynamic scoping

Neither static nor dynamic scoping

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?