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
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)*
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Introducción a informática 1.

Quiz
•
University
5 questions
Cultura Digital Diagnostica

Quiz
•
University
10 questions
examen parcial de hardare y software

Quiz
•
University
10 questions
ENCUESTA DE SATISFACCIÓN - CAPACITACIÓN PARA EL DMQ

Quiz
•
University
10 questions
Automata theory Q1

Quiz
•
University
11 questions
Regular Expressions

Quiz
•
University
12 questions
Exploring MT and Grammar Concepts

Quiz
•
University
15 questions
Banking Accounts Quiz

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

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

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University