☑ MCQ PRACTICE

Formal Languages and Automata Theory Unit 3

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

📚 Formal Languages and Automata Theory
📖 Unit 3
🎯 MCQs

Formal Languages and Automata Theory - Unit-3

1
The entity which generate Language is termed as:
AAutomata
BTokens
CGrammar
DData
Correct Answer Grammar
2
Which of the following statement is false?
AContext free language is the subset of context sensitive language
BRegular language is the subset of context sensitive language
CRecursively ennumerable language is the super set of regular language
DContext sensitive language is a subset of context free language
Correct Answer Context sensitive language is a subset of context free language
3
Which among the following cannot be accepted by a regular grammar?
AL is a set of numbers divisible by 2
BL is a set of binary complement
CL is a set of string with odd number of 0
DL is a set of 0n1n
Correct Answer L is a set of 0n1n
4
Which of the expression is appropriate? For production p: a->b where a∈V and b∈_______
AV
BS
C(V+∑)*
DV+∑
Correct Answer (V+∑)*
5
What the does the given CFG defines? S->aSbS|bSaS|e and w denotes terminal
Awwr
BwSw
CEqual number of a’s and b’s
DNone of the mentioned
Correct Answer Equal number of a’s and b’s
6
If L1 and L2 are context free languages, which of the following is context free?
AL1*
BL2UL1
CL1.L2
DAll of the mentioned
Correct Answer All of the mentioned
7
A grammar G=(V, T, P, S) is __________ if every production taken one of the two forms: B->aC, B->a
AAmbiguous
BRegular
CNon Regular
DNone of the mentioned
Correct Answer Regular
8
A push down automaton employs ________ data structure.
AQueue
BLinked List
CHash Table
DStack
Correct Answer Stack
9
A string is accepted by a PDA when
AStack is empty
BAcceptance state
CBoth A & B
DNone of the mentioned
Correct Answer Both A & B
10
Which among the following is not a part of the Context free grammar tuple?
AEnd symbol
BStart symbol
CVariable
DProduction
Correct Answer End symbol
11
A context free grammar is a ___________
AA rule system for parsing formal languages
BRegular grammar
CContext sensitive grammar
DNone of the mentioned
Correct Answer A rule system for parsing formal languages
12
The closure property of context free grammar includes
AKleene
BConcatenation
CUnion
DAll of the mentioned
Correct Answer All of the mentioned
13
Which of the following automata takes stack as auxiliary storage?
AFinite automata
BPush down automata
CTuring machine
DAll of the mentioned
Correct Answer Push down automata
14
A null production can be referred to as:
AString
BSymbol
CWord
DAll of the mentioned
Correct Answer String
15
Halting states are of two types. They are:
AAccept and Reject
BReject and Allow
CStart and Reject
DNone of the mentioned
Correct Answer Accept and Reject
16
A pushdown automata can be defined as: (Q, ∑, G, q0, z0, A, d) What does the symbol z0 represents?
Aan element of G
Binitial stack symbol
Ctop stack alphabet
Dall of the mentioned
Correct Answer all of the mentioned
17
A push down automata is said to be _________ if it has atmost one transition around all configurations.
AFinite
BNon regular
CNon-deterministic
DDeterministic
Correct Answer Deterministic
18
Which of the following languages is not context-free?
A{a^n b^n c^n | n ≥ 0}
B{ a^n b^n | n ≥ 0}
C{ a^n b^m c^m | n, m ≥ 0}
D{w w^R | w ∈ {a, b}*}
Correct Answer { a^n b^n c^n | n ≥ 0}
19
NPDA stands for
ANon-Deterministic Push Down Automata
BNull-Push Down Automata
CNested Push Down Automata
DAll of the mentioned
Correct Answer Non-Deterministic Push Down Automata
← Back to All MCQs