Search Header Logo

FLAT -MCQ

Authored by HEMALATHA S

Mathematics

University

Used 3+ times

FLAT -MCQ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Recursively enumerable languages are referred as

Type 0

Type 1

Type 2

Type 3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Correct hierarchical relationship among context- free, right-linear, and context-sensitive language is

context-free ⊂ right-linear ⊂ context-sensitive

context-free ⊂ context-sensitive ⊂ right-linear

context-sensitive ⊂ right-inear ⊂context-free

right-linear ⊂context-free ⊂context-sensitive

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Statement A : { If an bn | n = 0,1, 2, 3 ..} is a regular language

Statement B:set of all all strings of equal number of a's and b's deines a regular language

A is false B is true

Both statements are false

Both statements are holds good

A is true B is false

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Following context free grammar

S —> aB | bA

A —>b | aS | bAA

B —> b | bS | aBB

generates strings of terminals that have

equal number of a's and b's

odd number of a's and odd number b's

even number of a's and even number of b's

odd number of a's and even number of a's

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the grammar :

S —> ABCc | Abc

BA —> AB

Bb —> bb

Ab —> ab, with S as start symbol

Aa —> aa

Which of the following sentences can be derived by this grammar

abc

aab

abcc

abbb

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Any string of terminals that can be generated by the following CFG is

S-> XY

X--> aX | bX | a

Y-> Ya | Yb | a

has atleast one 'b'

should end in a 'a'

has no consecutive a's or b's

has atleast two a's

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement is correct?

All languages can not be generated by CFG

Any regular language has an equivalent CFG

Some non regular languages can't be generated by CFG

both (b) and (c)

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?