
TOC - Grammar

Quiz
•
Computers
•
University
•
Hard
Senthi Prakash
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Production Rule:
aAb->agb
belongs to which of the following category?
Regular Grammar
Context free Grammar
Recursively Ennumerable Grammar
Context Senstive Grammar
2.
MULTIPLE CHOICE QUESTION
45 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
Starting Terminal
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For S -> 0S1 | e for ∑={0,1}*,
which of the following is wrong about the language produced by the above grammar?
0n1n | n>=0
0n1n | n>=1
0K1K | K>=0
0n+11n | n>=1
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A -> aA | a | b
The number of steps to form aab:
2
3
4
None of these
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A -> aA | a | b
The number of steps to form abb:
2
3
4
None of these
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What the does the given CFG defines?
S->aSbS | bSaS | e and w denotes terminal
wwS
wSw
Equal number of a’s and b’s
None of these
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A grammar G=(V, T, P, S) is __________
if every production taken one of the two forms:
A -> a
B -> bB
Regular
Non-Regular
Ambiguous
None of these
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
CSS-ponavljanje

Quiz
•
5th Grade - University
15 questions
Basic Microsoft Word

Quiz
•
1st Grade - Professio...
15 questions
Word/Word Online for Beginners

Quiz
•
3rd Grade - Professio...
10 questions
HTML Introduction

Quiz
•
3rd Grade - Professio...
13 questions
HTML тегтері

Quiz
•
1st Grade - University
15 questions
Parser - unit 2 and 3

Quiz
•
University
10 questions
Lourdes Amaranta Ayala Gracia

Quiz
•
8th Grade - University
15 questions
Day 1 - Deployment ...

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University