Regular expression Session 2020-21

Regular expression Session 2020-21

University

20 Qs

quiz-placeholder

Similar activities

BIM1014 Quiz 2

BIM1014 Quiz 2

KG - University

15 Qs

CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

Chapter 8. Securing Network Media and Devices

Chapter 8. Securing Network Media and Devices

University

20 Qs

Graphs

Graphs

University

15 Qs

basisdata1

basisdata1

University

20 Qs

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

PARC Linux Basic Part 2

PARC Linux Basic Part 2

University

20 Qs

SQL Quiz

SQL Quiz

University

18 Qs

Regular expression Session 2020-21

Regular expression Session 2020-21

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Sandeep Rathor

Used 293+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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*

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers