Search Header Logo

TOC Quiz1

Authored by Ms. R

Computers

University

Used 2+ times

TOC Quiz1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Length of the string ϵ is

0

1

2

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

According to the precedence rules, x-y-z is equivalent to which of the following?

(x-y)-z

x-(y-z)

Both (x-y)-z and x-(y-z)

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The number of elements in the set for the Language L = { x ϵ ∑* : length of x is at most 2} and ∑={0,1} is

7

6

8

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following will not be accepted by the following DFA?

abbbaa

abbbaabb

ababaabaa

abbaabbaa

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The following DFA accepts all those strings in which numbers of 1's and 0's are

Odd and Even respectively

Divisible by 3 and 2 respectively

Even and Odd respectively

Divisible by 2 and 3 respectively

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What should be the accepting state(s) in order to accept 1*00?

{Y}

{Z}

Any one of Y and Z can be accepting state

{X,Y}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is false?

(01)*0=0(10)*

(0+1)*01(0+1)*+1*0*=(0+1)*

(0+1)*0(0+1)*1(0+1)*=(0+1)*01(0+1)*

(0+1)*=0*+1*

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?