Design Language Processor

Design Language Processor

University

24 Qs

quiz-placeholder

Similar activities

CD_quiz2

CD_quiz2

University

25 Qs

Translators and Computing Languages: GCSE 9-1

Translators and Computing Languages: GCSE 9-1

9th Grade - University

20 Qs

Teknik Kompilasi

Teknik Kompilasi

University

20 Qs

Compiler - Intro

Compiler - Intro

University

20 Qs

SSCD-Quiz

SSCD-Quiz

University

27 Qs

CD QUIZ

CD QUIZ

University

25 Qs

Compiler Design

Compiler Design

University

20 Qs

Compiler Design

Compiler Design

University

20 Qs

Design Language Processor

Design Language Processor

Assessment

Quiz

Computers

University

Medium

Created by

Hemang Thakar

Used 3+ times

FREE Resource

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

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?