Regular expression Session 2020-21

Quiz
•
Computers
•
University
•
Medium
Sandeep Rathor
Used 288+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Regular expressions are used to represent which language
Recursive language
Context free language
Regular language
All of these
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operation can be applied on regular expressions?
Union
Concatenation
Closure
All of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The set of all strings over ∑ = {0,1} in which all strings that beings and ends with 0 is
0(0+1)0
00
00(0+1)0
All of these
4.
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)*
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The set of all strings over ∑ ={a,b} in which a single a is followed by any number of b’s a single b followed by any number of a’s is:
ab* + ba*
ab*ba*
a*b + b*a
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The set of all strings over ∑ = {a,b} in which all strings of a’s and b’s ending in bb is
ab
a*bbb
(a+b)* bb
All of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following identity is wrong?
R + R = R
(R*)* = R*
ɛR = Rɛ = R
ØR = RØ = RR*
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Prowess

Quiz
•
University
20 questions
Programming in Python

Quiz
•
University
20 questions
Bertelsmann AI Track Quiz Initiative #3

Quiz
•
University - Professi...
20 questions
Python Strings

Quiz
•
University
20 questions
Compiler Design

Quiz
•
University
15 questions
XML BASICS QUIZ

Quiz
•
University
20 questions
Quiz

Quiz
•
University
20 questions
Dynamic Programming DAA

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade