1. Write regular expression for All the words of a language with alphabets {a,b,c} that begins with an ‘a’ or a ‘c’ and then followed by some number of b’s.
REGULAR EXPRESSION

Quiz
•
Computers
•
University
•
Hard
Dr. T. SAJU RAJ
Used 23+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
(a+c)b
((a+c)b)*
((a+c)*b)*
(a+c)b*
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
2. Write regular expression for all the words of a language with alphabets {a,b} that contains all the strings of a’s and b’s of length exactly three.
(a+b)3
(a3+b3)
(3a+3b)
(a+b)
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
3. Write regular expression for All the words of a language with alphabets {a,b} that begin with a and end with b
= ab(a+b)*ab
= a*(a+b)* b*
a(a+b)* b
= a(a+b) b
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
4. Write regular expression for all the words of a language with alphabets {a,b} that begin with a
a (a+b)*
a* (a+b)*
a (a+b)
a (a*+b*)*
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
5. Write regular expression for all the words of a language with alphabets {a,b} that ends with aa
(a+b)* a*a
aa
(a+b) aa
(a+b)* aa
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
6. Write regular expression for all the words of a language with alphabets {a,b} that have atleast one a
(a+b)a(a+b)
(a+b)* a (a+b)*
(a+b)* a* (a+b)*
(a+b)* a
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
7. Write regular expression for all the words of a language with alphabets {a,b} that have atleast one a and one b
(a+b)* a (a+b)* b (a+b)* + (a+b)*b (a+b)* a (a+b)*
(a+b)* a (a+b)* b (a+b)*
(a+b)*b (a+b)* a (a+b)*
(a+b)* a* (a+b)* b* (a+b)* + (a+b)*b* (a+b)* a* (a+b)*
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
C programming-1

Quiz
•
University
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
10 questions
Software engineering

Quiz
•
University
15 questions
BASIC C PROGRAMMING

Quiz
•
University
15 questions
NFA Vs DFA

Quiz
•
University
10 questions
IT01

Quiz
•
University
10 questions
COMPILER DESIGN QUIZ 28.3.2023

Quiz
•
University
12 questions
Microsoft Excel

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade