Search Header Logo

unit 2 CD quiz

Authored by Dr.Geetha M

Computers

University

Used 1+ times

unit 2 CD quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A bottom up parser generates

a) Right most derivation

b) Rightmost derivation in reverse

c) Leftmost derivation

d) Leftmost derivation in reverse

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A grammar that produces more than one parse tree for some sentence is called

a) Ambiguous

b) Unambiguous

c) Regular

d) None of the mentioned

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Shift reduce parsers are

a) Top down Parser

b) Bottom Up parser

c) May be top down or bottom up

d) None of the mentioned

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

YACC builds up

a) SLR parsing table

b) Canonical LR parsing table

c) LALR parsing table

d) None of the mentioned

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A parser with the valid prefix property is advantageous because it

a) Detects errors

b) None of the mentioned

c) Errors are passed to the text phase

d) All of the mentioned

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The action of parsing the source program into proper syntactic classes is called

a) Syntax Analysis

b) Lexical Analysis

c) Interpretation analysis

d) General Syntax Analysis

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A top down parser generates

a) Rightmost Derivation

b) Right most derivation in reverse

c) Left most derivation

d) Left most derivation in reverse

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?