Design Language Processor

Design Language Processor

University

24 Qs

quiz-placeholder

Similar activities

CN_Minor2

CN_Minor2

University

20 Qs

WORKSHOP

WORKSHOP

University

20 Qs

การเขียนโปรแกรมมาตรฐานเปิด

การเขียนโปรแกรมมาตรฐานเปิด

10th Grade - University

20 Qs

GDSC Cloud Quiz

GDSC Cloud Quiz

University

20 Qs

Creating Basic Page Layout with Tables

Creating Basic Page Layout with Tables

University

20 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Arithmetic and Branch instructions in 8086

Arithmetic and Branch instructions in 8086

University

20 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

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?