Search Header Logo

Compiler Design Quiz

Authored by lohitha undefined

Education

University

Compiler Design Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The bottom-up parsing method is also called:

Shift reduce parsing

Predictive parsing

Recursive descent parsing

None of these

2.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

Linear analysis in a compiler is called:

Lexical analysis

Scanning

Testing

Both a and b

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The phase Syntax Analysis is modelled on the basis of:

High level language

Low level language

Context free grammar

Regular grammar

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A compiler is a program that:

Accepts a program written in a high level language and produces an object program

Appears to execute a source program as if it were machine language

Automates the translation of assembly language into machine language

Places programs into memory and prepares them for execution

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A loader is a program that:

Places programs into memory and prepares them for execution

Automates the translation of assembly language into machine language

Accepts a program written in a high level language and produces an object program

Appears to execute a source program as if it were machine language

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is used for grouping characters into tokens?

Scanner

Code generator

Code optimizer

Parser

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Type checking is normally done during:

Code optimization

Syntax directed translation

Lexical analysis

Syntax analysis

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?