Search Header Logo

TAFL Quiz-3 (Module-2)

Authored by Sandeep Rathor

Computers

University

Used 138+ times

TAFL Quiz-3 (Module-2)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Let G be a CFG in Chomsky Normal form (CNF). In order To derive a string of terminals of length n , the number of productions to be used is:

2n + 1

2n - 1

2n

None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Recursively enumerable languages are not closed under:

Complementation

Union

Intersection

none of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement is wrong?

Every recursive language is recursively enumerable.

A language is accepted by FA if and only if it is context free.

Recursive languages are closed under intersection

A language is accepted by FA if and only if it is right linear.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true?

The complement of a recursive language is recursive.

The complement of a recursively enumerable language is recursively enumerable.

The complement of a recursive language is either recursive or recursively enumerable.

The complement of a context-free language is context-free.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If there exists a language L, for which there exists a TM, T,

that accepts every word in L and either rejects or loops for every word that is not in L, is called:

Recursive

Recursively enumerable

NP-HARD

None of these

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Universal TM influenced the concept of:

interpretative implementation of programming language.

stored program computers.

computability.

all of these.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is/are true?

I. Recursive languages are closed under complementation.

II. Recursively enumerable languages are closed under union.

III. Recursively enumerable languages are closed under complementation.

I only

II only

I and II

None of these

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?