Which language is accepted by the regular expression 0*(10*1)*0*10*
Regular Expressions

Quiz
•
Computers
•
University
•
Hard
ALDO STALIN J L
Used 34+ times
FREE Resource
Student preview

10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
{w | w has even number of 1’s}
{w | w has odd number of 1’s}
{w | w has even number of 0’s}
{w | w has odd number of 0’s}
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the regular expression for the language {w | w starts and ends with the same alphabet}?
0*(0 + 1)*0* + 1*(0 + 1)*1* + ϵ
01*0 + 10*1 + ϵ
0(0 + 1)*0 + 1(0 + 1)*1 + ϵ
0*1*0* + 1*0*1* + ϵ
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The set of all strings over ∑ = {a,b} in which all strings having bbbb as substring is
(a+b)* bbbb (a+b)*
(a+b)* bb (a+b)*bb
bbbb (a+b)
bb (a+b)*
4.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Write a Regular expression where the language contains set of strings containing even number of a's followed by odd number of b's.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following regular expressions denotes a language comprising of all possible strings over S = {a, b} of length n where n is a multiple of 3.
(aaa + bbb)*
((a + b)(a + b)(a + b))*
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For the alphabet S = {a, b}, give regular expression for the language of all strings that START OR END with ab.
ab(a + b)*(a + b)*ab
ab(a + b)* + (a + b)*ab
(a + b)*ab(a + b)*
ab(a + b)*ab
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
For the alphabet S = {a, b}, give regular expression for the language of all strings that CONTAIN the substring ab OR ba.
(a + b)*ab(a + b)*
(a + b)*ba(a + b)*
(a + b)*(ab + ba)(a + b)*
ab(a + b)*ba
Create a free account and access millions of resources
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade