Compiler Design  U1

Compiler Design U1

University

15 Qs

quiz-placeholder

Similar activities

Parser - unit 2 and 3

Parser - unit 2 and 3

University

15 Qs

NME - Programming Languages

NME - Programming Languages

University

10 Qs

Test - 2

Test - 2

University

10 Qs

Lexical Analysis

Lexical Analysis

University

11 Qs

Computer Language Quiz

Computer Language Quiz

9th Grade - University

16 Qs

Compiler Design

Compiler Design

University

20 Qs

QUIZ CD S5 7-4-22

QUIZ CD S5 7-4-22

University

10 Qs

PCD_Moodle_1(CO1)

PCD_Moodle_1(CO1)

University

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