Design Language Processor

Design Language Processor

University

24 Qs

quiz-placeholder

Similar activities

A Level Computer Science

A Level Computer Science

11th Grade - University

21 Qs

Other System Software and Language Translators

Other System Software and Language Translators

6th Grade - University

25 Qs

Revision : Chapter 1

Revision : Chapter 1

University

19 Qs

Compiler and Interpreter

Compiler and Interpreter

University

20 Qs

Compiler Review

Compiler Review

University

20 Qs

Teknik Kompilasi

Teknik Kompilasi

University

20 Qs

cd quiz

cd quiz

University

20 Qs

1.2.2 Application Generation

1.2.2 Application Generation

12th Grade - 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?