Design Language Processor

Design Language Processor

University

24 Qs

quiz-placeholder

Similar activities

ISPFL8 Endterm Quiz #3

ISPFL8 Endterm Quiz #3

University

20 Qs

POS - Prelim Examination

POS - Prelim Examination

University

20 Qs

PHP First Internal Practical Viva

PHP First Internal Practical Viva

University

20 Qs

แบบทดสอบเรื่อง if การเขียนโปรแกรม C++

แบบทดสอบเรื่อง if การเขียนโปรแกรม C++

University

20 Qs

ICT WEBINAR QUIZ

ICT WEBINAR QUIZ

KG - Professional Development

20 Qs

CoQuizMod3

CoQuizMod3

University

20 Qs

Software Testing and Maintenance Quiz

Software Testing and Maintenance Quiz

University

20 Qs

Grade 7 Python Programming Quiz

Grade 7 Python Programming Quiz

7th Grade - University

20 Qs

Design Language Processor

Design Language Processor

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Hemang Thakar

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why Generation of intermediate code based on an abstract machine model is useful in compilers?

Writing for intermediate code generation

Portability of the front end of the compiler

Implementation of lexical analysis and syntax analysis is made easier

All of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which phase of the compiler is also known as Parser?

  1. Code Optimization

  1. Semantic Analysis

  1. Syntax Analysis

  1. Lexical Analysis

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Keywords are recognized in a compiler during

  1. the code generation

  1. the data flow analysis

  1. the lexical analysis of the program

  1. the program parsing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which graph describes the basic block and successor relationship?

  1. Control graph

  1. DAG

  1. Flow graph

  1. Hamilton graph

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the compiler, the function of using intermediate code is:

  1. to improve the register allocation

  1. to increase the error reporting & recovery.

  1. to make semantic analysis easier.

  1. to increase the chances of re-using the machine-independent code optimizer in other compilers.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which compiler runs on one machine and generates code for multiple machines?

  1. Multipass compiler

  1. Cross compiler

  1. Optimizing compiler

  1. Onepass compiler

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which parser is known as the shift-reduce parser?

  1. Bottom-up parser

  1. Top-down parser

  1. Both Top-down and bottom-up

  1. None of the Above

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?