Search Header Logo

Compiler Design U1

Authored by Sheryl A

Computers

University

Used 2+ times

Compiler Design  U1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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

Already have an account?