Regular expression Session 2020-21

Regular expression Session 2020-21

University

20 Qs

quiz-placeholder

Similar activities

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

Basic Excel

Basic Excel

University

15 Qs

YAY! Fridate with ComSSA (Network 101)

YAY! Fridate with ComSSA (Network 101)

University

20 Qs

Programación Básica Prácticas Tema 2

Programación Básica Prácticas Tema 2

University

19 Qs

PythonProgramming

PythonProgramming

University

15 Qs

Pengantar Teknologi Informasi 8

Pengantar Teknologi Informasi 8

University

17 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

E-Commerce

E-Commerce

University - Professional Development

16 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?