Quiz on Context-Free Grammars

Quiz
•
Other
•
University
•
Hard
sajuraj T
Used 3+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The entity which generate Language is termed as:
Automata
Tokens
Grammar
Data
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Production Rule: aAb->agb belongs to which of the following category?
Regular Language
Context free Language
Context Sensitive Language
Recursively Ennumerable Language
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement is false?
Context free language is the subset of context sensitive language
Regular language is the subset of context sensitive language
Recursively ennumerable language is the super set of regular language
Context sensitive language is a subset of context free language
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Grammar can be defined as: G=(V, ∑, p, S) In the given definition, what does S represents?
Accepting State
Starting Variable
Sensitive Grammar
None of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which among the following cannot be accepted by a regular grammar?
L is a set of numbers divisible by 2
L is a set of binary complement
L is a set of string with odd number of 0
L is a set of 0n1n
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the expression is appropriate? For production p: a->b where a∈V and b∈_______
V
S
(V+∑)*
V+ ∑
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For S->0S1|e for ∑={0,1}*, which of the following is wrong for the language produced?
Non regular language
0n1n | n>=0
0n1n | n>=1
None of the mentioned
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Morphology Quiz

Quiz
•
University
20 questions
HINDI QUIZ ON OL

Quiz
•
12th Grade - Professi...
20 questions
Dev. Psychology 2nd Year 1st Sem

Quiz
•
University
24 questions
Willows Way MFL

Quiz
•
12th Grade - University
20 questions
Hockett's Design Features of Language Quiz

Quiz
•
University
20 questions
CORPORATE COMMUNICATION

Quiz
•
University
20 questions
Post-Test #3 and #4

Quiz
•
University
20 questions
Quanta

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University