Quiz 1 "Compiler Construction"

Quiz 1 "Compiler Construction"

University

15 Qs

quiz-placeholder

Similar activities

Compiler and Interpreter

Compiler and Interpreter

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

cd quiz

cd quiz

University

20 Qs

PDS - 04225 - Recursion - Chapter 12

PDS - 04225 - Recursion - Chapter 12

University

10 Qs

Compiler Design U2

Compiler Design U2

University

15 Qs

CS431 Compiler Lab - Viva1

CS431 Compiler Lab - Viva1

University

10 Qs

Compiler Design -Lexical analysis and Syntax analysis

Compiler Design -Lexical analysis and Syntax analysis

University

12 Qs

Quiz 1 "Compiler Construction"

Quiz 1 "Compiler Construction"

Assessment

Quiz

Computers

University

Medium

Created by

KALHORO SHADAB

Used 2+ times

FREE Resource

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

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?