Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
1.7k views
in General by (115k points)
closed by

What is the highest type number that can be assigned to this following grammar:

SAa, ABa, Babc


1. Type 0
2. Type 1
3. Type 2
4. Type 3

1 Answer

0 votes
by (152k points)
selected by
 
Best answer
Correct Answer - Option 4 : Type 3

Above grammar generates string abcaa.

Type-3 or a regular grammar is a formal grammar that is right-regular or left-regular, given grammar is left-linear regular grammar hence it's a type-3 grammar.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...