Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

TOC_CO4&CO5

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

A Turing machine that is able to simulate other Turing machines:

a)

Nested Turing machines

b)

Universal Turing machine

c)

Counter machine

d)

None of the mentioned

2.

Which of the problems are unsolvable?

a)

Halting problem

b)

Boolean Satisfiability problem

c)

Halting problem & Boolean Satisfiability problem

d)

None of the mentioned

3.

Which of the following a Turing machine does not consist of?

a)

input tape

b)

head

c)

state register

d)

none of the mentioned

4.

The value of n if Turing machine is defined using n-tuples:

a)

6

b)

7

c)

8

d)

5

5.

If d is not defined on the current state and the current tape symbol, then the machine ______

a)

does not halts

b)

halts

c)

goes into loop forever

d)

none of the mentioned

6.

Statement: Instantaneous descriptions can be designed for a Turing machine. State true or false:

a)

true

b)

false

7.

Which of the following are the models equivalent to Turing machine?

a)

Multi tape Turing machine

b)

Multi track Turing machine

c)

Register machine

d)

All of the mentioned

8.

A language L is said to be Turing decidable if:

a)

recursive

b)

TM recognizes L

c)

TM accepts L

d)

recursive & TM recognizes L

9.

The class of recursively enumerable language is known as:

a)

Turing Class

b)

Recursive Languages

c)

Universal Languages

d)

RE

10.

Which of the following statements are false?

a)

Every recursive language is recursively enumerable

b)

Recursively enumerable language may not be recursive

c)

Recursive languages may not be recursively enumerable

d)

None of the mentioned

11.

Choose the correct option: Statement: If L1 and L2 are recursively enumerable languages over S, then the following is/are recursively enumerable.

a)

L1 U L2

b)

L2 ∩ L2

c)

Both L1 U L2 and L2 ∩ L2

d)

None of the mentioned

12.

If L is a recursive language, L' is:

a)

Recursive

b)

Recursively Enumerable

c)

Recursive and Recursively Enumerable

d)

None of the mentioned

13.

Choose the appropriate option: Statement: If a language L is recursive, it is closed under the following operations:

a)

Union

b)

Intersection

c)

Complement

d)

All of the mentioned

14.

A recursively enumerable language L can be recursive if:

a)

L' is recursively enumerable

b)

Every possible sequence of moves of T, the TM which accept L, causes it to halt

c)

L' is recursively enumerable and every possible sequence of moves of T, the TM which accept L, causes it to halt

d)

None of the mentioned

15.

A language L is recursively enumerable if L=L(M) for some turing machine M. Which among the following cannot be among A, B and C?

a)

yes w ∈ L

b)

no w ∉ L

c)

M does not halt w ∉ L

d)

None of the mentioned

16.

A language L is recursively enumerable if L=L(M) for some turing machine M. Which among the following cannot be among A, B and C?

a)

yes w ∈ L

b)

no w ∉ L

c)

M does not halt w ∉ L

d)

None of the mentioned

17.

A Language L may not be accepted by a Turing Machine if:

a)

It is recursively enumerable

b)

It is recursive

c)

L can be enumerated by some turing machine

d)

None of the mentioned

18.

Which of the following can accept even palindrome over {a, b}

a)

Push down Automata

b)

Turing machine

c)

NDFA

d)

All of the mentioned

19.

Which of the functions can a turing machine not perform?

a)

Copying a string

b)

Deleting a symbol

c)

Accepting a pal

d)

Inserting a symbol

20.

Halting state of Turing machine are:

a)

Start and stop

b)

Accept and reject

c)

Start and reject

d)

Reject and allow

21.

Which of the following statement is wrong?

a)

Every recursive language is recursively enumerable

b)

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

c)

Recursive languages are closed under intersection

d)

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

22.

Recursively enumerable languages are not closed under

(a)  

23.

Recursively enumerable languages are not closed under

(a)  

24.

Which of the following statement is true?

a)

All languages can be generated by CFG

b)

Any regular language has an equivalent CFG

c)

The class of CFG is not closed under union

25.

Let L1 be a recursive language, and let L2 be a recursively enumerable but not a recursive language. Which one of the following is TRUE?


L1' --> Complement of L1

L2' --> Complement of L2

a)

L1' is recursive and L2' is recursively enumer­able

b)

L1' is recursive and L2' is not recursively enumerable

c)

L1' and L2' are recursively enumerable