
REGULAR EXPRESSION
Authored by Dr. T. SAJU RAJ
Computers
University
Used 23+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
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.
(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)*
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Revisão - Arquitetura de Computadores
Quiz
•
University
8 questions
Cha-ching 2
Quiz
•
1st Grade - University
10 questions
Teste python- Unesp-Jaboticabal
Quiz
•
University
12 questions
PSSI Chp 1 dan 2
Quiz
•
University
10 questions
Excel 2016 Formato de celda
Quiz
•
University
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
11 questions
Computer Science (1-9) - Identifying & Preventing Threats
Quiz
•
University
10 questions
Quiz Informatica Jornadas Orientación Asunción
Quiz
•
12th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade