Search Header Logo

Quiz 1 "Compiler Construction"

Authored by KALHORO SHADAB

Computers

University

Used 2+ times

Quiz 1 "Compiler Construction"
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

In ____________ Errors are displayed for every instruction and required less memory.

Compiler

Interpreter

Both

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Improving performance and efficiency is the task of ________ Phase of Compiler.

Syntax analyzer

Lexical Analyzer

Optimization

Semantic analysis

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_______ analysis involves breaking down the source code into smaller pieces called tokens, such as keywords, identifiers, literals, and operators

Lexical

Syntax

Both

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Back end of the compiler also known as

Synthesis Phase

Analysis Phase

Both

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_______ Reports errors like illegal characters.

Lexical

Syntax

Both

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

________  Constructs the parse tree starting from the leaves.

Top down

Bottom up

Both

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Missing semicolons, mismatched parentheses, undeclared variables are common _______ errors.

Syntax Errors

Lexical errors

Optimization

All

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?