Unit 6: TURING MACHINES AND COMPLEXITY - Practice Quiz

CSE322 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 A formal definition of a standard deterministic Turing Machine involves a tuple of how many elements?

A. 6
B. 8
C. 5
D. 7

2 In the 7-tuple definition of a Turing Machine , what does represent?

A. The tape alphabet
B. The set of states
C. The transition function
D. The input alphabet

3 The transition function of a standard deterministic Turing machine maps from?

A.
B.
C.
D.

4 What represents an Instantaneous Description (ID) or configuration of a Turing Machine?

A.
B.
C.
D.

5 Which of the following data structures conceptually represents the memory of a Turing Machine?

A. A First-In-First-Out (FIFO) queue
B. A Last-In-First-Out (LIFO) stack
C. An infinite tape divided into cells
D. A finite set of registers

6 A Turing Machine that computes a mathematical function (e.g., addition or multiplication) rather than just accepting or rejecting a language is known as:

A. A linear bounded automaton
B. A universal TM
C. A transducer TM
D. A recognizer TM

7 Which of the following languages requires a Turing Machine to be recognized and cannot be recognized by a Pushdown Automaton?

A.
B.
C.
D.

8 In a standard Turing Machine, when does the machine halt?

A. When is undefined for the current state and tape symbol
B. When it writes a blank symbol
C. When it reaches the start state again
D. When it reaches the end of the input string

9 What is the computational equivalence between a single-tape Turing Machine and a multi-tape Turing Machine?

A. Multi-tape TMs can solve undecidable problems
B. They are equivalent in computing power
C. Multi-tape TMs are strictly more powerful
D. Single-tape TMs are strictly more powerful

10 If a Non-Deterministic Turing Machine (NDTM) accepts a language , which of the following is true?

A. No DTM can accept
B. There exists a standard Deterministic Turing Machine (DTM) that also accepts
C. must be regular
D. must be decidable in polynomial time

11 What is an "offline" Turing Machine?

A. A TM without a power supply
B. A TM with a read-only input tape and separate read-write work tapes
C. A TM that does not use a tape alphabet
D. A TM that halts immediately

12 A Universal Turing Machine (UTM) is best described as:

A. A machine with an infinite number of states
B. A Turing Machine that can simulate the behavior of any other Turing Machine on any given input
C. A machine that accepts all regular languages
D. A machine that operates in polynomial time

13 What is a Linear Bounded Automaton (LBA)?

A. A Non-deterministic Turing Machine with restricted tape size proportional to the input length
B. A TM that uses only one state
C. A Turing Machine whose tape head can only move right
D. A Pushdown Automaton with two stacks

14 According to the Chomsky Hierarchy, which class of languages is accepted by a Linear Bounded Automaton?

A. Type 3 (Regular Languages)
B. Type 1 (Context-Sensitive Languages)
C. Type 2 (Context-Free Languages)
D. Type 0 (Recursively Enumerable Languages)

15 What is the famous "LBA problem" in automata theory?

A. Whether LBAs halt on all inputs
B. Whether deterministic LBAs are equal in power to non-deterministic LBAs
C. Whether LBAs can simulate TMs
D. Whether LBAs can recognize regular languages

16 Let be the input string of length . The working space of a Linear Bounded Automaton is restricted to:

A.
B.
C.
D.

17 A cellular automaton consists of a regular grid of "cells". What characterizes the state updates in a standard cellular automaton?

A. Only the center cell is updated
B. States are updated randomly
C. States are updated synchronously based on the states of neighboring cells
D. States are updated sequentially one by one

18 Conway's Game of Life is a classic example of:

A. A non-deterministic pushdown automaton
B. A 2-dimensional cellular automaton
C. A 1-dimensional cellular automaton
D. A finite state machine

19 The computational power of standard Cellular Automata (like Rule 110 or Game of Life) is:

A. Equivalent to Linear Bounded Automata
B. Turing Complete (Equivalent to a Turing Machine)
C. Equivalent to Finite Automata
D. Equivalent to Pushdown Automata

20 What does the Halting Problem state?

A. Turing Machines cannot run infinite loops
B. It is undecidable whether an arbitrary Turing Machine halts on a given input
C. Every Turing Machine will eventually halt
D. It is impossible to build a Turing Machine

21 The language is:

A. Decidable and Recursive
B. Context-Free
C. Not Recursively Enumerable
D. Recursively Enumerable but not Recursive

22 Who originally formulated the Post Correspondence Problem (PCP)?

A. Alan Turing
B. Emil Post
C. Stephen Cook
D. Alonzo Church

23 The Post Correspondence Problem (PCP) over an alphabet is known to be undecidable if:

A.
B.
C. The string length is exactly 2
D. The number of dominoes is finite

24 What is the Modified Post Correspondence Problem (MPCP)?

A. A variation of PCP where blank symbols are allowed
B. A variation of PCP where the sequence must start with the first domino pair
C. A variation of PCP where strings can be reversed
D. A variation of PCP that is decidable

25 In Computability Theory, a language is called "Decidable" (or Recursive) if:

A. It requires exponential time to solve
B. There is a TM that halts on every input and accepts exactly
C. It can be generated by a Context-Free Grammar
D. There is a TM that accepts but may loop on strings not in

26 A language is Recursively Enumerable (RE) if:

A. It is decided by a TM that always halts
B. It is recognized by a TM that may loop infinitely on strings not in the language
C. It is a subset of a regular language
D. It cannot be accepted by any TM

27 Which of the following statements is TRUE regarding recursive and recursively enumerable languages?

A. Every recursive language is recursively enumerable
B. All context-free languages are not recursive
C. Every recursively enumerable language is recursive
D. The complement of a recursively enumerable language is always recursively enumerable

28 If a language and its complement are both Recursively Enumerable, then must be:

A. Regular
B. Recursive (Decidable)
C. Context-Free
D. Undecidable

29 What does the Church-Turing Thesis state?

A. Deterministic and Non-deterministic TMs are equivalent
B. All languages are recursively enumerable
C. P is not equal to NP
D. Every computable function can be computed by a Turing Machine

30 The problem of determining whether for a given Turing Machine is called the:

A. Equivalence Problem
B. Emptiness Problem
C. Halting Problem
D. Finiteness Problem

31 According to Rice's Theorem, any non-trivial property of the languages recognized by Turing machines is:

A. Decidable
B. Undecidable
C. Recursively Enumerable but not Recursive
D. Polynomial time computable

32 Which of the following problems is Decidable?

A. Does a given TM halt on the empty string?
B. Does a given DFA accept a specific string ?
C. Does a given TM accept all strings?
D. Are two given TMs equivalent?

33 The "Blank Tape Problem" (whether a TM halts when started on a blank tape) is:

A. NP-Complete
B. Regular
C. Undecidable
D. Decidable

34 Time Complexity of a Turing machine computation is measured by:

A. The maximum number of tape cells accessed
B. The length of the input string
C. The number of transitions (or steps) the TM makes before halting
D. The number of states in the TM

35 Space Complexity of a Turing machine computation is measured by:

A. The number of final states
B. The number of distinct tape cells scanned during computation
C. The number of transitions executed
D. The size of the tape alphabet

36 In Computational Complexity, the class contains languages that:

A. Can be decided by a Non-Deterministic TM in polynomial time
B. Cannot be decided by any TM
C. Can be decided by a Deterministic Turing Machine in polynomial time
D. Require exponential time to be decided

37 The class stands for:

A. Non-Polynomial time
B. Negative Polynomial time
C. Not-Practically computable
D. Non-Deterministic Polynomial time

38 A problem is if:

A. and is undecidable
B. and every problem in is polynomially reducible to
C. but cannot be verified in polynomial time
D. requires exponential space

39 The Cook-Levin theorem proved that which of the following problems is NP-Complete?

A. The Halting Problem
B. The Post Correspondence Problem
C. The Boolean Satisfiability Problem (SAT)
D. The Emptiness Problem

40 What is a consequence if it is ever proven that ?

A. The Halting Problem will become decidable
B. Turing machines will become obsolete
C. NP-Complete problems will become undecidable
D. All NP-Complete problems will be solvable in polynomial time by a Deterministic TM

41 Which of the following relationships between complexity classes is known to be strictly true?

A.
B.
C.
D.

42 The class is defined as the set of decision problems solvable by a Turing Machine using:

A. Logarithmic space
B. Polynomial time
C. Polynomial space
D. Exponential time

43 Savitch's Theorem states that for any function :

A.
B.
C.
D.

44 An algorithm running in time belongs to which time complexity class?

A. Polynomial time
B. Logarithmic time
C. Factorial time
D. Exponential time

45 A language is Turing-recognizable. What is another term for Turing-recognizable?

A. Recursively Enumerable
B. Context-Sensitive
C. Decidable
D. Recursive

46 The busy beaver problem is concerned with:

A. Finding an -state TM that writes the maximum number of 1s on a blank tape and eventually halts
B. Solving the SAT problem
C. Designing a TM with the minimum number of states
D. Finding the TM that halts the fastest

47 Two-way infinite tape Turing machines compared to one-way infinite tape Turing machines are:

A. More powerful
B. Faster in all cases
C. Less powerful
D. Computationally equivalent

48 In the context of Cellular Automata, "Rule 30" is famous for being:

A. Trivial and completely symmetric
B. The only rule that halts
C. Equivalent to a Finite Automaton
D. Capable of generating complex, chaotic patterns often used as a pseudorandom number generator

49 The Halting problem is a classic example of a problem that is:

A. Undecidable but Turing-recognizable
B. NP-Complete
C. Not Turing-recognizable
D. Decidable

50 Which of the following operations is NOT closed for Recursively Enumerable (RE) languages?

A. Complementation
B. Union
C. Intersection
D. Concatenation