Subjects
Applied Mathematics for Electrical Engineering - 3130908
Complex Variables and Partial Differential Equations - 3130005
Engineering Graphics and Design - 3110013
Basic Electronics - 3110016
Mathematics-II - 3110015
Basic Civil Engineering - 3110004
Physics Group - II - 3110018
Basic Electrical Engineering - 3110005
Basic Mechanical Engineering - 3110006
Programming for Problem Solving - 3110003
Physics Group - I - 3110011
Mathematics-I - 3110014
English - 3110002
Environmental Science - 3110007
Software Engineering - 2160701
Data Structure - 2130702
Database Management Systems - 2130703
Operating System - 2140702
Advanced Java - 2160707
Compiler Design - 2170701
Data Mining And Business Intelligence - 2170715
Information And Network Security - 2170709
Mobile Computing And Wireless Communication - 2170710
Theory Of Computation - 2160704
Semester
Semester - 1
Semester - 2
Semester - 3
Semester - 4
Semester - 5
Semester - 6
Semester - 7
Semester - 8
Theory Of Computation
(2160704)
TOC-2160704
Winter-2018
4-a
BE | Semester-
7
Winter-2018
|
27/11/2018
Q4) (a)
3 Marks
What is Turing Machine? Write advantages of TM over FSM
Turing Machine
A Turing machine (TM) is the most powerful kind of automaton.
TM consist of states and transitions, and use an infinite tape for storage.
The tape is divided into square, each square holds a single symbol.
The head is capable of performing 3 operations:
Reading a symbol being scanned.
Modifying a symbol being scanned.
Shifting either to previous square or next square.
Advantages Of Turning Machine Over Finite State Machine (FSM)
A finite state machine is just a set of states and transitions.
The only memory it has is what state it is in.
Thus, the number of memory states is... finite.
A Turing machine is a finite state machine plus a tape memory.
Each transition may be accompanied by an operation on the tape (move, read, write).
Its total possible configurations is arbitrarily large, regardless of the size of the program; it expands towards infinity.
In between the two is a stack machine, which is like a Turing machine except that the operations are limited to pushing and popping onto the stack.
A FSM can recognize only regular expressions. A stack machine can recognize context-free languages.
A Turing machine can recongize all recursively enumerable languages.
Questions
Go to Question Paper
Q1
(a)
(b)
(c)
Q2
(a)
(b)
(c)
(c)
(OR)
Q3
(a)
(b)
(c)
Q3
(a)
(OR)
(b)
(OR)
(c)
(OR)
Q4
(a)
(b)
(c)
Q4
(a)
(OR)
(b)
(OR)
(c)
(OR)
Q5
(a)
(b)
(c)
Q5
(a)
(OR)
(b)
(OR)
(c)
(OR)