Regular expression Session 2020-21

Regular expression Session 2020-21

University

20 Qs

quiz-placeholder

Similar activities

Difficult Level

Difficult Level

University

15 Qs

Data Science Quiz 1

Data Science Quiz 1

University

15 Qs

Quiz1 TAFL(module-2)2020-21

Quiz1 TAFL(module-2)2020-21

University

20 Qs

Data Types Java Concepts

Data Types Java Concepts

University

19 Qs

TOC Unit-4

TOC Unit-4

University

15 Qs

Dynamic Programming DAA

Dynamic Programming DAA

University

20 Qs

Compiler Design

Compiler Design

University

20 Qs

XML BASICS QUIZ

XML BASICS QUIZ

University

15 Qs

Regular expression Session 2020-21

Regular expression Session 2020-21

Assessment

Quiz

Computers

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?