3-2 CSE CT - 2

3-2 CSE CT - 2

Professional Development

15 Qs

quiz-placeholder

Similar activities

AI MID 2

AI MID 2

Professional Development

20 Qs

2 ANO TEC PROGRAMAÇÃO MOBILE AV1

2 ANO TEC PROGRAMAÇÃO MOBILE AV1

Professional Development

10 Qs

PRACTICE  SET FOR INTERMEDIATE 2

PRACTICE SET FOR INTERMEDIATE 2

Professional Development

10 Qs

Module 2 Review

Module 2 Review

Professional Development

20 Qs

FinTech 05-2 APIs

FinTech 05-2 APIs

Professional Development

10 Qs

Kriyadocs_XML_Q4

Kriyadocs_XML_Q4

Professional Development

10 Qs

HTML

HTML

Professional Development

15 Qs

Python: Quiz 1.01 - Programming Concepts

Python: Quiz 1.01 - Programming Concepts

Professional Development

10 Qs

3-2 CSE CT - 2

3-2 CSE CT - 2

Assessment

Quiz

Computers

Professional Development

Easy

Created by

SUNIL CHANDOLU

Used 3+ times

FREE Resource

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

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?