Regular expression Session 2020-21

Regular expression Session 2020-21

University

20 Qs

quiz-placeholder

Similar activities

C Programming Unit-1 Test-2

C Programming Unit-1 Test-2

University

20 Qs

HTML Quiz

HTML Quiz

11th Grade - University

15 Qs

quiz pertemuan 2 asik ddp

quiz pertemuan 2 asik ddp

University

15 Qs

QUIZ 1: REVIEW ON C

QUIZ 1: REVIEW ON C

University

15 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

QUIZ 2

QUIZ 2

University

20 Qs

Fun with Computer Architecture

Fun with Computer Architecture

University

15 Qs

Review Quiz (Chapter 3&4)

Review Quiz (Chapter 3&4)

University

20 Qs

Regular expression Session 2020-21

Regular expression Session 2020-21

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Sandeep Rathor

Used 291+ 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*

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?