Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

51.

Which among the following is incorrect for o-machines?(a) Oracle Turing machines(b) Can be used to study decision problems(c) Visualizes Turing machine with a black box which is able to decide cerain decion problems in one operation(d) None of the mentionedI had been asked this question in an online quiz.The query is from The Language of Turing Machine topic in portion Introduction to Turing Machines of Automata Theory

Answer»

The CORRECT choice is (d) None of the mentioned

The best explanation: In AUTOMATA THEORY, an o- machine or oracle machine is a abstract machine used to study decision problems. The problem the oracle solves can be of any complexity class. EVEN UNDECIDABLE problems like halting problems can be used.

52.

Which of the following is false for an abstract machine?(a) Turing machine(b) theoretical model of computer(c) assumes a discrete time paradigm(d) all of the mentionedThe question was posed to me in an international level competition.This interesting question is from Turing Machine-Notation and Transition Diagrams topic in chapter Introduction to Turing Machines of Automata Theory

Answer»

The correct option is (d) all of the mentioned

Explanation: A n abstract machine ALSO known as abstract computer, is a THEORETICAL model of computer or HARDWARE system in automata THEORY. Abstraction in computing process usually assumes a discrete time paradigm.

53.

Which of the following is/are not true for recursively ennumerable language?(a) partially decidable(b) Turing acceptable(c) Turing Recognizable(d) None of the mentionedThis question was posed to me in an online interview.My question is based upon Programming Techniques-Storage and Subroutines topic in division Introduction to Turing Machines of Automata Theory

Answer»

The correct answer is (d) NONE of the mentioned

To explain I would SAY: In automata theory, a formal language is called recursively ennumerable language or partially decidable or SEMI decidable or turing acceptable or turing recognizable if there exists a turing MACHINE which will ennumerate all VALID strings of the language.

54.

State true or false:\nStatement: Using a two track tape, we can use a semi infinite tape to simulate an infinte tape.(a) true(b) falseThis question was addressed to me during a job interview.This interesting question is from Multistack Machines, Counter Machines topic in portion Introduction to Turing Machines of Automata Theory

Answer»

Correct answer is (a) true

The EXPLANATION: A TM with a semi-infinite tape MEANS that there are no CELLS to the LEFT of the initial head position. A TM with a semi infinite tape simulates a TM with an infinite tape by using a two-track tape.

55.

In one move a turing machine will:(a) Change a state(b) Write a tape symbol in the cell scanned(c) Move the tape head left or right(d) All of the mentionedI had been asked this question during an online exam.My query is from Programming Techniques-Storage and Subroutines topic in division Introduction to Turing Machines of Automata Theory

Answer»

Correct answer is (d) All of the mentioned

To EXPLAIN: A move of a turing machine is the function of the STATE of finite control and the TAPE SYMBOL just SCANNED.

56.

The number of states required to automate the last question i.e. {a,b}*{aba}{a,b}* using finite automata:(a) 4(b) 3(c) 5(d) 6This question was addressed to me in an international level competition.Question is from Introduction to Turing Machines in section Introduction to Turing Machines of Automata Theory

Answer»

Right ANSWER is (a) 4

The BEST I can explain: The finite AUTOMATA can be represented as:

57.

Ifd is not defined on the current state and the current tape symbol, then the machine ______(a) does not halts(b) halts(c) goes into loop forever(d) none of the mentionedI have been asked this question by my college professor while I was bunking the class.This interesting question is from The Language of Turing Machine in section Introduction to Turing Machines of Automata Theory

Answer»

The correct answer is (B) halts

The explanation is: If we reach hA or hR, we say TM halts. Once it has halted, it cannot move further, sinced is not defined at any PAIR (hA,X) or (hR,X) where hA = accept halting STATE and hR = reject halting state.

58.

Which of the following regular expression resembles the given diagram?(a) {a}*{b}*{a,b}(b) {a,b}*{aba}(c) {a,b}*{bab}(d) {a,b}*{a}*{b}*The question was posed to me in a job interview.This intriguing question originated from Introduction to Turing Machines topic in chapter Introduction to Turing Machines of Automata Theory

Answer»

Right answer is (b) {a,b}*{ABA}

The explanation: The given diagram is a TRANSITION GRAPH for a turing machine which accepts the language with the regular EXPRESSION {a,b}*{aba}.

59.

Which of the turing machines have existential and universal states?(a) Alternating Turing machine(b) Probalistic Turing machine(c) Read-only turing machine(d) None of the mentionedI had been asked this question by my school teacher while I was bunking the class.This intriguing question comes from Multitape Turing Machines in section Introduction to Turing Machines of Automata Theory

Answer» CORRECT option is (a) ALTERNATING Turing machine

Explanation: ATM is divide into two sets: an existential state is accepting if some transitions LEADS to an accepting state; an universal state is accepting if every transition leads to an accepting state.
60.

State true or false:Statement: Multitape turing machine have multi tapes where each tape is accessed with one head.(a) Statement: Multitape turing machine have multi tapes where each tape is accessed with one head.(b) true(c) falseThe question was posed to me in my homework.This is a very interesting question from Equivalence of One-Tape and Multitape TM’s topic in portion Introduction to Turing Machines of Automata Theory

Answer»

Correct choice is (b) true

The BEST explanation: MULTITAPE TURING machines do have multiple tapes but they they are accessed by separate HEADS.

61.

Can a multitape turing machine have an infinte number of tapes?(a) Yes(b) NoI had been asked this question in quiz.My query is from Equivalence of One-Tape and Multitape TM’s topic in division Introduction to Turing Machines of Automata Theory

Answer»

The correct option is (B) No

The best EXPLANATION: One needs a finite NUMBER of tapes. The proofs that show the equivalence between multi-tape TM and one-band TM rely on the FACT that the number of tapes is BOUNDED.

62.

State true or false:Statement: An ennumerator is a turing machine mwith extra output tape T, where symbols, once written, are never changed.(a) Statement: An ennumerator is a turing machine mwith extra output tape T, where symbols, once written, are never changed.(b) true(c) falseI got this question in my homework.I'm obligated to ask this question of The Language of Turing Machine-2 in portion Introduction to Turing Machines of Automata Theory

Answer»

The correct choice is (a) Statement: An ennumerator is a turing MACHINE mwith extra output TAPE T, where symbols, once written, are never changed.

To EXPLAIN: To ennumerate a SET means to list the elements once at a time, and to say that a set is ennumerable should PERHAPS mean that there exists an algorithm for ennumerating it.

63.

Enumerator is a turing machine with __________(a) an output printer(b) 5 input tapes(c) a stack(d) none of the mentionedI have been asked this question during a job interview.This key question is from Non Deterministic Turing Machines in section Introduction to Turing Machines of Automata Theory

Answer»

Right choice is (a) an output printer

The best explanation: Here, the turing machine can use the printer as an output device to print STRINGS.

Note: There is no input to an ENUMERATOR. If it doesn’t HALT, it may print an INFINITE set of strings.

64.

Statement: Instantaneous descriptions can be designed for a Turing machine.(a) State true or false:(b) true(c) falseI got this question during an interview.I'm obligated to ask this question of The Language of Turing Machine in section Introduction to Turing Machines of Automata Theory

Answer»

Correct option is (a) State true or FALSE:

To explain I would say: INORDER to describe formally what a Turing MACHINE does, we need to develop a notation for configurations or Instantaneous DESCRIPTIONS(ID).

65.

Which of the problems were not answered when the turing machine was invented?(a) Does a machine exists that can determine whether any arbitrary machine on its tape is circular.(b) Does a machine exists that can determine whether any arbitrary machine on its tape is ever prints a symbol(c) Hilbert Entscheidungs problem(d) None of the mentionedThis question was posed to me during an internship interview.This interesting question is from Turing Machine-Notation and Transition Diagrams in section Introduction to Turing Machines of Automata Theory

Answer»

Right option is (d) None of the mentioned

Explanation: Invention of turing MACHINE answered a LOT of questions which included PROBLEMS like decision problem, etc.) . Alan was able to prove the properties of COMPUTATION using such model.

66.

Give a classic example of the concept of turing complete.(a) lambda calculus(b) C++(c) Lisp(d) All of the mentionedThis question was addressed to me in quiz.My question is from Simulation of Turing Machine in portion Introduction to Turing Machines of Automata Theory

Answer» RIGHT OPTION is (d) All of the mentioned

For explanation: Most of the programming languages, conventional or UNCONVENTIONAL are turing complete. Functional languages LIKE Lisp and Haskell are ALSO turing complete.
67.

A turing machine with several tapes in known as:(a) Multi-tape turing machine(b) Poly-tape turing maching(c) Universal turing machine(d) All of the mentionedI have been asked this question in an online interview.This question is from Multitape Turing Machines topic in section Introduction to Turing Machines of Automata Theory

Answer»

Right option is (a) Multi-tape TURING MACHINE

For explanation I WOULD say: A multitape turing machine is an ordinary turing machine with MULTIPLE tapes. Each tape has its own head to control the read and WRITE.

68.

State true or false:Statement: We can use the finite control of turing machine to hold a finite amount of data.(a) Statement: We can use the finite control of turing machine to hold a finite amount of data.(b) true(c) falseThe question was posed to me at a job interview.The above asked question is from Programming Techniques-Storage and Subroutines topic in portion Introduction to Turing Machines of Automata Theory

Answer»

Correct choice is (a) Statement: We can use the finite control of turing MACHINE to HOLD a finite amount of data.

Explanation: The finite control not only CONTAINS state q but also three data, A, B, C. The following technique requires no EXTENSION to the Turing Machine model. Shaping states this way allows to describe transitions in more systematic way and often to simplify the strategy of the program.

69.

Suppose we have a simple computer with control unit holding a PC with a 32 bit address + Arithmetic unit holding one double length 64 bit Arithmetic Register. The number of states the finite machine will hold:(a) 2^(32*64)(b) 2^96(c) 96(d) 32This question was posed to me in examination.Question is from Programming Techniques-Storage and Subroutines topic in chapter Introduction to Turing Machines of Automata Theory

Answer»

The correct answer is (b) 2^96

Easy EXPLANATION: ACCORDING to the statistics of the question, we will have a FINITE machine with 2^96 STATES.

70.

A two-way infinite tape turing machine is ________ superior than the basic model of the turing machine in terms of power.(a) more(b) less(c) no way(d) none of the mentionedI had been asked this question in final exam.My question is based upon Multistack Machines, Counter Machines in section Introduction to Turing Machines of Automata Theory

Answer»

Right answer is (c) no way

To elaborate: A TWO way infinite tape TURING machine is a turing machine with its input tape INFINTE in both DIRECTIONS, the other component being the sameas the basic MODEL.

71.

State true or false:Statement: Turing Machine can change symbols on its tape, whereas the FA cannot change symbols on tape.(a) Statement: Turing Machine can change symbols on its tape, whereas the FA cannot change symbols on tape.(b) true(c) falseI got this question in an interview.Query is from Non Deterministic Turing Machines topic in division Introduction to Turing Machines of Automata Theory

Answer»

Right option is (a) Statement: Turing Machine can CHANGE symbols on its TAPE, whereas the FA cannot change symbols on tape.

Best explanation: The following mentioned is the difference between 2-way FA and TM. Another instance is that TM has a read/write tape head while FA doesn’t.

72.

Which of the following statements is/are true?(a) Every multitape turing machine has its equivalent single tape turing machine(b) Every multitape turing machine is an abstract machine(c) Both (a) and (b)(d) None of the mentionedI had been asked this question by my school principal while I was bunking the class.Origin of the question is Equivalence of One-Tape and Multitape TM’s in portion Introduction to Turing Machines of Automata Theory

Answer» RIGHT choice is (c) Both (a) and (b)

The explanation is: A MULTITAPE turing machine is an ordinary turing machine which is always abstract.And they do have their equivalent SINGLE TAPE turing machines.
73.

Which of the following statements are false?(a) A multi track turing machine is a special kind of multi tape turing machine(b) 4-heads move independently along 4-tracks in standard 4-tape turing machine(c) In a n-track turing machine, n head reads and writes on all the tracks simultaneously.(d) All of the mentionedI have been asked this question in semester exam.My question comes from Programming Techniques-Storage and Subroutines in section Introduction to Turing Machines of Automata Theory

Answer» CORRECT OPTION is (C) In a n-track turing MACHINE, n head reads and writes on all the tracks simultaneously.

Explanation: In a n-track turing machine, ONE head reads and writes on all the tracks simultaneously.
74.

If L is a recursive language, L’ is:(a) Recursive(b) Recursively Ennumerable(c) Both (a) and (b)(d) None of the mentionedThis question was addressed to me during an interview for a job.My question is taken from The Language of Turing Machine-2 in section Introduction to Turing Machines of Automata Theory

Answer»

The CORRECT choice is (c) Both (a) and (b)

To explain I would say: If T is a TURING machine recognizing L, we can MAKE it recognize L’ by interchanging the two outputs. And EVERY recursive language is recursively ennumerable.

75.

Which among the following is not true for 2-way infinte TM?(a) tape in both directions(b) Leftmost square not distinguished(c) Any computation that can be performed by 2-way infinite tape can also be performed by standard TM.(d) None of the mentionedI got this question in an internship interview.Origin of the question is Non Deterministic Turing Machines topic in division Introduction to Turing Machines of Automata Theory

Answer» RIGHT answer is (d) None of the MENTIONED

To elaborate: All of the mentioned are correct statements for a two way infinite tape turing MACHINE. Theorems say the power of such a machine is in no way superior than a STANDARD turing machine.
76.

Which of the following is/are not an application of turing machine?(a) Language Recognization(b) Computers of functions on non negative numbers(c) Generating devices(d) None of the mentionedThe question was posed to me in a job interview.This intriguing question comes from Non Deterministic Turing Machines topic in section Introduction to Turing Machines of Automata Theory

Answer»

The correct option is (d) None of the mentioned

The explanation is: A TURING machine can have many applications like : Enumerator (A turing machine with an OUTPUT printer), FUNCTION COMPUTER, etc.

77.

In a n-track turing machine, _________ head/heads read and write on all tracks simultaneously.(a) one(b) two(c) n(d) infiniteThe question was asked in an online interview.The doubt is from Equivalence of One-Tape and Multitape TM’s in division Introduction to Turing Machines of Automata Theory

Answer»

The correct option is (a) one

The explanation: In a n-track TURING MACHINE, one head reads and writes on all tracks simultaneously. A tape position in a n-track Turing Machine contains n SYMBOLS from the tape ALPHABET.

78.

Which of the following are related to construction of One Tape turing machines?(a) JFLAP(b) NFLAP(c) Both (a) and (b)(d) None of the mentionedThe question was posed to me during an online exam.My query is from Equivalence of One-Tape and Multitape TM’s topic in section Introduction to Turing Machines of Automata Theory

Answer»

The correct answer is (a) JFLAP

To EXPLAIN I would SAY: JFLAP is educational software WRITTEN in JAVA to experiment with the topics in automata theory and area of formal LANGUAGES.

79.

In what ratio, more computation time is needed to simulate multitape turing machines using single tape turing machines?(a) doubly(b) triple(c) quadratically(d) none of the mentionedThe question was asked during an internship interview.This interesting question is from Multitape Turing Machines topic in division Introduction to Turing Machines of Automata Theory

Answer»

Right answer is (C) quadratically

For explanation: Thus, multitape turing MACHINES cannot calculate any more FUNCTIONS than single tape machines.