3-2 CSE CT - 2

3-2 CSE CT - 2

Professional Development

15 Qs

quiz-placeholder

Similar activities

JF UIT 2022 - Game 2

JF UIT 2022 - Game 2

Professional Development

15 Qs

Quorum Programming Day 2 Review

Quorum Programming Day 2 Review

Professional Development

10 Qs

Predictive Parser

Predictive Parser

University - Professional Development

10 Qs

Introduction to C# programming language

Introduction to C# programming language

Professional Development

10 Qs

XML Data in SQL Server

XML Data in SQL Server

Professional Development

10 Qs

3-2 CSE CT - 2

3-2 CSE CT - 2

Assessment

Quiz

Computers

Professional Development

Practice Problem

Easy

Created by

SUNIL CHANDOLU

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...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two types of parsers employed?

Top-down parser

Bottom-up parser

Top-down parser

and

Bottom-up parser

Recursive descent Parser and

Non-Recursive descent Parser

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What does CFG stand for?

Context-free Grammar

Context-free Group

Context-free Generation

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the parsing table algorithm used for?

To produce a parsing table for any grammar

To eliminate left recursion

To handle errors in parsing

To construct a parse tree

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is a grammar whose parsing table has no multiply defined entries called?

LL(1)

LR(1)

Ambiguous

Left Recursive

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the main difficulty in using predictive parsing?

Writing a grammar for the source language

Constructing a parse tree

Handling left recursion

Eliminating ambiguity

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is a handle in the context of shift-reduce parsing?

A substring that matches the right side of a production

The top symbol on the stack

An input symbol

A non-terminal in the grammar

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What are the two conflicts that occur in shift-reduce parsing?

Shift-reduce conflict and reduce-reduce conflict

Ambiguous and left recursive conflict

Syntax and semantic conflict

Parsing and error recovery conflict

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?