Compiler Design Viva 2

Compiler Design Viva 2

University

10 Qs

quiz-placeholder

Similar activities

Hands-on Modul 3

Hands-on Modul 3

University

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

CS100||MsWord

CS100||MsWord

University

10 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

Binary Tree

Binary Tree

University

14 Qs

Linked List 2

Linked List 2

University

10 Qs

Website Usability and UX

Website Usability and UX

University

10 Qs

Compiler Design Viva 2

Compiler Design Viva 2

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Revathi K

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Leaf nodes in a parse tree indicate?

  1. sub-terminals

  1. half-terminals

  1. non-terminals

  1. terminals

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which language is accepted by the push-down automata?

  1. a.Type 0 language

  1. b.Type 1 language

  1. c.Type 2 language

d.b.Type 3 language

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

  1. a.to improve the register allocation

  1. b.to increase the error reporting & recovery.

  1. c.to make semantic analysis easier.

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

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a characteristic of the compiler?

  1. a.More execution time

  1. b.Debugging process is slow

  1. c.The execution takes place after the removal of all syntax errors

  1. d.Firstly scans the entire program and then transforms it into machine-understandable code

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which phenomenon happens when the non-terminal on the left side is repeated as the first symbol on the right side?

  1. a.Left-most derivation

  1. b.Left recursion

  1. c.Left factoring

  1. d.Left parsing

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The compiler can detect what type of errors?

  1. a.neither logical nor grammatical error

  1. b.logical errors only

  1. c.grammatical errors only

  1. d.both grammatical and logical errors

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which parser is known as the shift-reduce parser?

  1. a.Bottom-up parser

b.Top-down parser

c.Both Top-down and bottom-up

d.None of the Above

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?