3-2 CSE CT - 2

3-2 CSE CT - 2

Professional Development

15 Qs

quiz-placeholder

Similar activities

PCI part 2

PCI part 2

Professional Development

10 Qs

HTML

HTML

Professional Development

15 Qs

Depurando a requisição HTTP

Depurando a requisição HTTP

Professional Development

10 Qs

Funciones del teclado

Funciones del teclado

University - Professional Development

18 Qs

AI (Artificial Intelligence)

AI (Artificial Intelligence)

Professional Development

11 Qs

Quiz on Password Policies and MFA

Quiz on Password Policies and MFA

Professional Development

10 Qs

Feb 20

Feb 20

Professional Development

10 Qs

Quiz SSHC SOLUTION Week-3

Quiz SSHC SOLUTION Week-3

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?