DMS - AMBIGUOUS GRAMMAR

DMS - AMBIGUOUS GRAMMAR

10 Qs

quiz-placeholder

Similar activities

Judicial Branch and Checks & Balances

Judicial Branch and Checks & Balances

7th Grade

15 Qs

CCFC12 Q The Eagle Huntress: Crash Course Film Criticism #12

CCFC12 Q The Eagle Huntress: Crash Course Film Criticism #12

8th Grade

10 Qs

Washington v. DuBois: Two Different Points of View

Washington v. DuBois: Two Different Points of View

12th Grade

8 Qs

Untitled form

Untitled form

KG - University

15 Qs

Figurative Language Test

Figurative Language Test

7th Grade

15 Qs

日本文化:いちご🍓&さくら🌸

日本文化:いちご🍓&さくら🌸

KG - University

15 Qs

Mysteries in the New Jersey Sky

Mysteries in the New Jersey Sky

5th Grade

10 Qs

Article III--US Constitution

Article III--US Constitution

8th Grade

13 Qs

DMS - AMBIGUOUS GRAMMAR

DMS - AMBIGUOUS GRAMMAR

Assessment

Quiz

others

Hard

Created by

VANITHA K

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. A CFG is ambiguous if
It has more than one rightmost derivations
It has more than one leftmost derivations
No parse tree can be generated for the CFG
None of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Which of the following are always unambiguous?
Deterministic Context free grammars
Non-Deterministic Regular grammars
Context sensitive grammar
None of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. A CFG is not closed under
Dot operation
Union Operation
Concatenation
Iteration

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Which of the following is an real-world programming language ambiguity?
dangling else problem
halting problem
maze problem
none of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Which of the following is a parser for an ambiguous grammar?
GLR parser
Chart parser
All of the mentioned
None of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. A language that admits only ambiguous grammar:
Inherent Ambiguous language
Inherent Unambiguous language
Context free language
Context Sensitive language

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Which of the following is an example of inherent ambiguous language?
{an|n>1}
{anbncmdm| n,m > 0}
{0n1n|n>0}
None of the mentioned

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?