Regular expression Session 2020-21

Quiz
•
Computers
•
University
•
Medium
Sandeep Rathor
Used 291+ 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
15 questions
Stack??

Quiz
•
University
20 questions
Multiarea OSPF

Quiz
•
University
20 questions
LTDD 20_2

Quiz
•
University
19 questions
ISDATut06

Quiz
•
University
15 questions
Algorithm and Problem Solving Quiz

Quiz
•
11th Grade - University
22 questions
c++

Quiz
•
University
15 questions
Circuitos

Quiz
•
University
17 questions
QUEUE

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University