TOC MCQ by SIR
TOC MCQ by SIR
TOC MCQ by SIR
a) Finite Automaton
b) Pushdown Automaton
c) Deterministic Automaton
d) Context-Free Automaton
symbol?
a) S
b) A
c) #
d) ?
following?
a) Finite Automaton
b) Pushdown Automaton
c) Turing Machine
d) Context-Free Automaton
automaton?
c) Deterministic finite automaton has a unique next state for each input symbol
d) Non-deterministic finite automaton has multiple possible next states for each input
symbol
9. Which automaton has the highest computational power among the following?
a) Finite Automaton
b) Pushdown Automaton
c) Turing Machine
d) Context-Free Automaton
automaton?
c) Deterministic finite automaton has a unique next state for each input symbol
d) Non-deterministic finite automaton has multiple possible next states for each input
symbol
a) Input tape
b) Output tape
c) Transition function
d) Finite control
a) Decidable
b) Semi-decidable
c) Undecidable
d) Trivial
15.Which of the following is not a technique used to prove the decidability of a problem?
a) Reduction
b) Enumeration
c) Diagonalization
d) Induction
16. Which of the following is not a technique used to prove the decidability of a problem?
a) Reduction
b) Enumeration
c) Diagonalization
d) Induction
20. Which of the following is not a component of the Chomsky normal form for contextfree grammars?
a) Unit productions
b) ?-productions
c) Binary productions
d) Terminal symbols
d) PCP involves finding a sequence of tiles that matches at least one pair of sequences
a) Halting problem
25.The pumping lemma for regular languages states that for any regular language L, there exists a constant p
such that any string s in L with length at least p can be divided into three substrings, s = xyz, satisfying certain
a) Pumping length
b) Power length
c) Parse length
d) Prefix length
automata.
any regular language L, there exists a constant p such that any string s in L with length at least p can be divided
into three substrings, s = xyz, satisfying certain conditions. What does 'p' represent?
a) Pumping length
b) Power length
c) Parse length
d) Prefix length
28. Which of the following statements is true about contextfree languages (CFL)?
automata.
29.The Chomsky hierarchy of formal languages includes all of the following except:
a) Regular languages
b) Context-free languages
c) Context-sensitive languages
d) Decidable languages
languages?
c) Finite-state machine
32. The concept of recursion in formal languages is associated with which type of grammar?
a) Regular grammar
b) Context-free grammar
c) Context-sensitive grammar
d) Unrestricted grammar