πŸ“Š Theory of Computation
Q. Which statement is true?
  • (A) The PDA must have one accept state and one reject state
  • (B) The PDA must have one accept state and two reject state
  • (C) The PDA must have two accept state and two reject state
  • (D) There is no reject state in the PDA.
πŸ’¬ Discuss
βœ… Correct Answer: (D) There is no reject state in the PDA.
πŸ“Š Theory of Computation
Q. TM is more powerful than FSM because
  • (A) The tape movement is confined to one direction
  • (B) It has no finite state control
  • (C) It has the capability to remember arbitrary long sequences of input symbols
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) It has no finite state control
πŸ“Š Theory of Computation
Q. The symbols that can’t be replaced by anything are called -----------------
  • (A) Productions
  • (B) Terminals
  • (C) Non-terminals
  • (D) All of above
πŸ’¬ Discuss
βœ… Correct Answer: (B) Terminals
πŸ“Š Theory of Computation
Q. Left hand side of a production in CFG consists of:
  • (A) One terminal
  • (B) More than one terminal
  • (C) One non-terminal
  • (D) Terminals and non-terminals
πŸ’¬ Discuss
βœ… Correct Answer: (D) Terminals and non-terminals
πŸ“Š Theory of Computation
Q. Choose the incorrect statement:
  • (A) (a+b)aa(a+b)generates Regular language.
  • (B) A language consisting of all strings over ∑={a,b} having equal number of a’s and b’s is a regular language
  • (C) Every language that can be expressed by FA can also be expressed by RE
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (D) None of these
πŸ“Š Theory of Computation
Q. Choose the incorrect statement.
  • (A) A Mealy machine generates no language as such
  • (B) A Mealy machine has no terminal state
  • (C) For a given input string, length of the output string generated by a Moore machine is not more than the length of the output string generated by that of a Mealy machine
  • (D) All of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) For a given input string, length of the output string generated by a Moore machine is not more than the length of the output string generated by that of a Mealy machine
πŸ“Š Theory of Computation
Q. In FA, if one enters in a specific state but there is no way to leave it, then that specific state is called
  • (A) Dead State
  • (B) Waste Basket
  • (C) Davey John Locker
  • (D) All of these
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of these
πŸ“Š Theory of Computation
Q. Which statement is true?
  • (A) The tape of turing machine is infinite.
  • (B) The tape of turing machine is finite.
  • (C) The tape of turing machine is infinite when the language is regular
  • (D) The tape of turing machine is finite when the language is nonregular.
πŸ’¬ Discuss
βœ… Correct Answer: (A) The tape of turing machine is infinite.
πŸ“Š Theory of Computation
Q. If r1 = (aa + bb) and r2 = (a + b) then the language (aa + bb)(a + b) will be generated by Select correct option:
  • (A) (r1)(r2)
  • (B) (r1 + r2)
  • (C) (r2)(r1)
  • (D) (r1)
πŸ’¬ Discuss
βœ… Correct Answer: (A) (r1)(r2)
πŸ“Š Theory of Computation
Q. Which of the following will be used for text searching application-?
  • (A) NFA
  • (B) DFA
  • (C) PDA
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) PDA

Jump to