Compiler Design  U1

Compiler Design U1

University

15 Qs

quiz-placeholder

Similar activities

1.2.2 Application Generation

1.2.2 Application Generation

12th Grade - University

20 Qs

Compiler Review

Compiler Review

University

20 Qs

Stack??

Stack??

University

15 Qs

Compiler Design Lecture 1

Compiler Design Lecture 1

University - Professional Development

10 Qs

Quiz 1 CSC305

Quiz 1 CSC305

University

20 Qs

QUIZ CD S5 7-4-22

QUIZ CD S5 7-4-22

University

10 Qs

compiler design quiz

compiler design quiz

University

15 Qs

Lexical Analysis

Lexical Analysis

University

11 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?