DMS - AMBIGUOUS GRAMMAR

DMS - AMBIGUOUS GRAMMAR

10 Qs

quiz-placeholder

Similar activities

Quiz on Tajweed Rules: Idgham Bighunnah

Quiz on Tajweed Rules: Idgham Bighunnah

KG - University

10 Qs

FEATURES OF COMMUNICATIVE LANGUAGE TEACHING CLASSROOM

FEATURES OF COMMUNICATIVE LANGUAGE TEACHING CLASSROOM

KG - University

10 Qs

IELTS A Lesson 7 Mini Test post activity 1

IELTS A Lesson 7 Mini Test post activity 1

KG - University

10 Qs

The Silent Way

The Silent Way

KG - University

15 Qs

TED Talk Quiz – Language and Structure

TED Talk Quiz – Language and Structure

KG - University

10 Qs

SPEAKING PRACTICE 1

SPEAKING PRACTICE 1

KG - University

10 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?