☑ MCQ PRACTICE

Formal Languages and Automata Theory Unit 5

Practice objective questions for quick revision and examination preparation. Try answering each question before revealing the answer.

📚 Formal Languages and Automata Theory
📖 Unit 5
🎯 MCQs

Formal Languages and Automata Theory - Unit-5

1
A TM halts if it:
ARejects the input
BAccepts the input
CEnters a loop
DBoth A and B
Correct Answer Both A and B
2
The Halting Problem for TMs is:
ADecidable
BUndecidable
CNP-complete
DContext-free
Correct Answer Undecidable
3
A Universal Turing Machine can:
ASimulate any other TM
BOnly recognize regular languages
CSolve the Halting Problem
DNever halt
Correct Answer Simulate any other TM
4
A TM with multiple tapes is:
ALess powerful than a single-tape TM
BEquivalent to a single-tape TM
CMore powerful than a single-tape TM
DUnable to recognize CFLs
Correct Answer Equivalent to a single-tape TM
5
The class of languages decidable by TMs is called:
AP
BNP
CRecursive
DRE
Correct Answer Recursive
6
A non-deterministic TM is:
AWeaker than a deterministic TM
BEquivalent to a deterministic TM
CUnable to recognize RE languages
DMore powerful than a deterministic TM
Correct Answer Equivalent to a deterministic TM
7
A multi-tape Turing Machine is:
ALess powerful than a single-tape TM
BMore powerful than a single-tape TM
CEquivalent to a single-tape TM
DUnable to recognize regular languages
Correct Answer Equivalent to a single-tape TM
8
A non-deterministic Turing Machine is:
AWeaker than a deterministic TM
BMore powerful than a deterministic TM
CEquivalent to a deterministic TM
DUnable to solve NP problems
Correct Answer Equivalent to a deterministic TM
9
The Halting Problem concerns determining whether a Turing Machine will:
AAccept a given input
BReject a given input
CHalt on a given input
DEnter an infinite loop
Correct Answer Halt on a given input
10
A Universal Turing Machine can:
AOnly solve the Halting Problem
BSimulate any other Turing Machine
CRecognize only regular languages
DNever halt
Correct Answer Simulate any other Turing Machine
11
A Turing Machine with a read-only input tape and a working tape is called:
AMulti-tape TM
BLinear Bounded Automaton
CCounter Machine
DQuantum TM
Correct Answer Linear Bounded Automaton
12
A language is recursively enumerable (RE) if:
AThere exists a TM that halts and accepts all strings in the language
BThere exists a TM that may loop infinitely on strings not in the language
CBoth a and b
DThere exists a TM that always halts
Correct Answer Both a and b
13
The Halting Problem is:
ADecidable
BUndecidable but RE
CNot RE
DRegular
Correct Answer Undecidable but RE
14
An example of a language that is not RE is:
AThe set of all TMs that halt on empty input
BThe set of all TMs that do not halt on any input
CThe set of all TMs that accept regular languages
DThe set of all valid C programs
Correct Answer The set of all TMs that do not halt on any input
15
Post's Correspondence Problem (PCP) is:
ADecidable
BUndecidable
CNP-complete
DRegular
Correct Answer Undecidable
16
A recursive language is one that is:
AAccepted by a TM that always halts
BAccepted by a TM that may loop
CNot accepted by any TM
DAccepted only by non-deterministic TMs
Correct Answer Accepted by a TM that always halts
17
Rice's Theorem states that:
AAll non-trivial properties of RE languages are undecidable
BSome problems about TMs are decidable
CThe Halting Problem is decidable
DPCP is decidable
Correct Answer All non-trivial properties of RE languages are undecidable
18
The Membership Problem for TMs is:
ADecidable
BUndecidable
CDecidable only for finite languages
DDecidable only for regular languages
Correct Answer Undecidable
19
A counter machine is a TM with:
AMultiple tapes
BA stack instead of a tape
COnly integer counters instead of a tape
DNo halting state
Correct Answer Only integer counters instead of a tape
20
The Modified Post Correspondence Problem is:
AEasier than PCP
BUndecidable like PCP
CDecidable
DA regular language problem
Correct Answer Undecidable like PCP
21
The problem of determining if two TMs accept the same language is:
ADecidable
BUndecidable
CNP-complete
DContext-free
Correct Answer Undecidable
22
Recursive languages are closed under:
AUnion
BIntersection
CComplement
DAll of the above
Correct Answer All of the above
23
If L and its complement are both RE, then L is:
ARecursive
BNot recursive
CRegular
DContext-free
Correct Answer Recursive
24
The complement of a recursive language is:
ARecursive
BRE but not recursive
CNot RE
DUndecidable
Correct Answer Recursive
25
The set of all TMs that halt on all inputs is:
ARecursive
BRE but not recursive
CNot RE
DFinite
Correct Answer Not RE
26
A property of recursive languages is that they can be decided by a TM that:
AMay loop on some inputs
BAlways halts
COnly accepts regular languages
DUses non-determinism
Correct Answer Always halts
27
The problem of determining if a TM accepts a regular language is:
ADecidable
BUndecidable
CNP-complete
DP-complete
Correct Answer Undecidable
28
The Blank Tape Halting Problem is:
ADecidable
BUndecidable
CEquivalent to PCP
DA regular language
Correct Answer Undecidable
29
The problem of determining if a TM has at least 5 states is:
ADecidable
BUndecidable
CSemi-decidable
DContext-sensitive
Correct Answer Decidable
30
Counter machines with two counters are as powerful as:
AFinite automata
BPushdown automata
CTuring Machines
DLinear Bounded Automata
Correct Answer Turing Machines
31
The problem of determining if a TM ever writes a specific symbol on its tape is:
ADecidable
BUndecidable
CNP-complete
DP-complete
Correct Answer Undecidable
← Back to All MCQs