SlideShare a Scribd company logo
1 of 4
Download to read offline
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 10 19 – 22
_______________________________________________________________________________________________
19
IJRITCC | October 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
Some New Exercises on Computability Theory Associated with Turing Machine
B. P. Tanana
Higher Institute for Science and Technology
ISCTEM
Maputo, Mozambique
e-mail:btanana@mail.ru
B. Cassy
University Eduardo Mondlane (UEM)
Dept. of Mathematics and Informatics (DMI)
Maputo, Mozambique
e-mail: bhangycassy@yahoo.com.br
Abstract—In this paper we present the problems previously encountered in the academic literature related to Turing machines that allow to
check the students' understanding of the actual, rather than formal memorizing definitions and concepts.
Keywords-Turing machine language recognized by a Turing machine, the encoding of the Turing machine
__________________________________________________*****_________________________________________________
I. INTRODUCTION
In this paper, we present the problems not previously
encountered in the academic literature related to Turing
machines that allow students to check the actual understanding
rather than memorization of the formal definitions and
problems about Turing machines.
This article is, in some sense, a continuation of [3], [4] and
[5]. Students in Mozambique, specializing in the field of
engineering science, in different disciplines taught sections of
discrete mathematics associated with Turing machines.
II. DEFINITIONS AND EXAMPLES
We give, initially, the necessary definitions, as follow:
A Turing machine consists of a finite control (any non-
empty finite set of states), from the infinite to the right tape
divided into cells (each cell can contain one of a finite set of
symbols) and the cursor that can read a character from the
scanned cell, write the new symbol and move on one cell to the
right or left.
More formally (p. 319 [1]), the Turing machine is a
system of seven elements M = (Q, Σ, T, δ, q0, B, F) where,
Q – a finite set of states;
Σ - finite set of input symbols;
T - a finite set of tape symbols (Σ proper subset of T);
δ - transition function, δ: Q × T → Q × D × {L, R}, (δ -
partial function, L means moving the cursor to the left, R -
right);
q0 - initial state (q0∈Q, in this state of the Turing machine is
at the beginning of the work);
B - symbol tape, indicating an empty cell (B ∈ G  Σ);
F - a set of final or accepting states (F is a subset of Q).
Starting work, a Turing machine is in the initial state q0, the
cursor scans the first left cell, in which is always a symbol B in
the (beginning of the tape), and then on the tape is located input
word w over the alphabet Σ, all the remaining cells (to infinity)
recorded a symbol B. Then the machine step by step starts to
begin to execute commands (if possible).
For example, the machine started to work (in our case) in
the transition function there must be the command δ (q0, B) =
(q1, B, R). For this command, the machine goes into the state
q1, the first cell on the left leaves the symbol B and the cursor
moves to the cell to the right. In general, the command δ (qi, x)
= (qj, y, L) is performed as follows: before executing the
command, Turing machine is in a state of qi in the scanned cell
recorded an x.
After running this command, the machine goes into the
state qj, in scan cell replaces x by y and the cursor moves to the
cell to the left, which is to be scanned.
If doing so the command asked the transition function
Turing machine M is stopped (no command that she could
perform) and is in the final state of the Turing machine M
accepts a word w, written at the beginning of work on the tape,
otherwise, does not accept w. All words w, a Turing machine
M that accepts form a language recognized by a Turing
machine M. This language is denoted by L (M).
Turing machines conveniently presented in the form of so-
called transition diagrams (directed graphs):
Each state q is a vertex:
Let δ (q, x) = (p, y, R). Then there is an arc from q to p
with weight x/y R:
The tops of the respective final states:
Vertex corresponds to the initial state:
For example, a state transition diagram for a Turing
machine M:
δ (q0, B) = (q1, B, R)
𝑞
𝑥 𝑦 𝑅
𝑞 𝑝
𝑞0
𝑞
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 10 19 – 22
_______________________________________________________________________________________________
20
IJRITCC | October 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
δ (q1,0) = (q1,0, R)
δ (q1,1) = (q1,1, R)
M:
Consider one of the ways of encoding of Turing machines.
Without loss of generality, in matters related to the encoding of
Turing machines, we can assume that, T= {0, 1, B}, the set of
states Q= {q0, q1, ..., qn} (p. 324 [2]), also agreed to that
F={q1}.
We need to encode commands of transition function, which
have the form δ (qi, x)=(qj, y, D), where qi, qj∈Q; x, y∈{0, 1, B};
D∈{L, R}.
Encode all the characters included in the command (p. 324
[2]):
Symbol 0 1 B q0 q1 … qn L R
Code 1 11 111 1 11 … 1n+1
1 11
Let c(z) be a code of symbol z. A code of the
commandδ(qi, x) = (qj, y, D) be a binary word,
c (qi) 0c (x) 0c (qj) 0c (y) 0c (D).
A code of a Turing machine M is a binary word, denoted
by R(M), which begins and ends with three zeros between
which command codes are written separated by two zeros.
Consider the example:
Example 1. Find the code R(M) Turing machine M,
defined by the transition function
δ (q0, B)= (q1, B, R);
δ (q1, 0) = (q1, 0, R);
δ (q1, 1) = (q1, 1, R).
Solution. Note that the transition function defines all the 7
elements of a Turing machine
M = (Q, Σ, T, δ, q0, B, F);
Q = {q0, q1}, Σ = {0, 1},
F = {0, 1, B},
δ is given in the text of Example 1,
q0 = q0,
B = B,
F = {q1} (remember our agreement).
Thus, let's find R(M).
Command Code
𝛿(q0, B)=(q1, B, R) 101110110111011
𝛿(q1, 0)=(q1, 0, R) 110101101011
𝛿(q1, 1)=(q1, 1, R) 11011011011011
So,R(M)=
= 000101110110111011001101011010110011011011011011000
Changing the order of the command, as a result, it is possible
to obtain 3! = 6 different codes R(M) for a given in Example 1
of the Turing machine M.
It is not difficult to understand that a Turing machine M
from Example 1 accepts any word in the alphabet {0, 1} as
always stops in the final state q1. So, L(M), in this case, is the
set of all words in the alphabet {0, 1}, including the empty
word λ.
Thus Turing machines can be represented by binary words.
We assume that every binary word is a code of a Turing
machine, but some codes have mistaken and a Turing machine
does not work (pp. 370-371 [1]).
We introduce the canonical order on the binary words:
w1<w2, if |w1|<|w2|, the words of equal length are ordered
lexicographically.
So, the initial ordered set of items are received by words λ,
0, 1, 00, 01, 10, 11, 000, ....
If for these words write 1 to the left side, then we get the
binary numbers 1, 10, 11, 100, 101, 110, 111, 1000, ... or in
decimal 1, 2, 3, 4, 5, 6, 7, 8 ..., words that define binary
numbers under the canonical ordering (p. 369 [1]).
Sometimes instead of a binary word wi (word having the
number i under the canonical ordering) is convenient to use its
number i.
To find enough i for wi is necessary write 1 to the left side of
wi. we introduce the canonical order on the binary words:
w1<w2 if |w1|<|w2|, the words of equal length are ordered
lexicographically.
Thus, the initial ordered set of items are received by words
λ, 0, 1, 00, 01, 10, 11, 000, ....
If for these words write 1 to the left side, then we get the
binary numbers
1, 10, 11, 100, 101, 110, 111, 1000, ...
or in decimal,1, 2, 3, 4, 5, 6, 7, 8 ..., words that define binary
numbers under the canonical ordering (p. 369 [1]).
In other times, instead of a binary word wi (word having the
number i under the canonical ordering) it is convenient to use
its number i.
So, to find enough i for wi is necessary to write 1 at the left
side of wi.
III. EXERCISES/PROBLEMS
A. Problem 1
Construct a Turing Machine M, which converts the binary
word 1w for word w (w any binary word).
Solution – Problem 1 (see below).
B. Problem 2
Construct a Turing Machine M, which converts the binary
word w for word 1w (w any binary word).
Solution – Problem2 (see below).
C. Problem 3
Find the smallest number of binary words with respect to the
canonical order, which determines the actual code of a Turing
machine.
Solution – Problem 3 (see below).
R
R
11
00
B/B
𝑞0 𝑞1
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 10 19 – 22
_______________________________________________________________________________________________
21
IJRITCC | October 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
IV. SOLUTIONS OF PROBLEMS 1-3
Solution – Problem 1:
M:
Solution – Problem 2:
M:
0/0 L
1/1 L
B/B R
1/B L
B/B R
𝑞0
𝑞1
𝑞3
B/B R
𝑞2
B/1 R
𝑞8
𝑞6
𝑞5𝑞7
𝑞4
B/0 R
0/B L
B/B L
1/B L
B/B L
R
R
11
00
LBB
RBB
𝑞0
𝑞1
LB 1
𝑞6
𝑞4 𝑞3
𝑞5
𝑞2
LB 0
RB0
RBB
RB1
LB 1
International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169
Volume: 5 Issue: 10 19 – 22
_______________________________________________________________________________________________
22
IJRITCC | October 2017, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
Solution – Problem 3:
It is clear that for the restrictions accepted by us, "the
smallest" Turing machine M has a single command:δ(q0, В) =
(q1, B, R).
M:
So, R(M) = 000101110110111011000.Then, the number of
the word R(M) in the binary system is
1000101110110111011000, and the decimal notation of this
numberis equal to 1.175.000.
REFERENCES
[1] J. E. Hopcroft, R. Motwani, J. D. Ullman. Introduction to
Automata Theory, Languages, and Computation. 2nd ed,
Addison Wesley, 2001.
[2] T. A. Sudkamp. Languages and Machines. 2nd ed, Addison
Wesley, 1997.
[3] B.P.Tanana, B.Cassy, ―On the Coding of a Turing Machines
and Non – Recursive Languages‖, International Journal on
Recent and Innovation Trends and Communications, Vol. 3,
Issue 2, February 2015, pp. 613-615.
[4] B. Tanana and B. Cassy, ―About Pumping Lemma for
Regular Languages‖, International Journal of Innovative
Science, Engineering & Technology, Vol. 3, Issue 3, March
2016.
[5] B.P. Tanana. On the Coding of a Turing machines and Non-
Recursive Languages. MATVEST, N 17, April, 2015.
RBB
𝑞0 𝑞1

More Related Content

What's hot

Time and space complexity
Time and space complexityTime and space complexity
Time and space complexityAnkit Katiyar
 
Transportation and assignment_problem
Transportation and assignment_problemTransportation and assignment_problem
Transportation and assignment_problemAnkit Katiyar
 
(1) collections algorithms
(1) collections algorithms(1) collections algorithms
(1) collections algorithmsNico Ludwig
 
Automata
AutomataAutomata
AutomataGaditek
 
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small ...
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small ...Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small ...
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small ...Hector Zenil
 
Fractal dimension versus Computational Complexity
Fractal dimension versus Computational ComplexityFractal dimension versus Computational Complexity
Fractal dimension versus Computational ComplexityHector Zenil
 
Advance Data Structure
Advance Data StructureAdvance Data Structure
Advance Data StructureRamzi Alqrainy
 
Time complexity (linear search vs binary search)
Time complexity (linear search vs binary search)Time complexity (linear search vs binary search)
Time complexity (linear search vs binary search)Kumar
 
Towards a stable definition of Algorithmic Randomness
Towards a stable definition of Algorithmic RandomnessTowards a stable definition of Algorithmic Randomness
Towards a stable definition of Algorithmic RandomnessHector Zenil
 

What's hot (20)

P versus NP
P versus NPP versus NP
P versus NP
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexity
 
Transportation and assignment_problem
Transportation and assignment_problemTransportation and assignment_problem
Transportation and assignment_problem
 
(1) collections algorithms
(1) collections algorithms(1) collections algorithms
(1) collections algorithms
 
Stochastic Processes Homework Help
Stochastic Processes Homework Help Stochastic Processes Homework Help
Stochastic Processes Homework Help
 
Automata
AutomataAutomata
Automata
 
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small ...
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small ...Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small ...
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small ...
 
algorithm Unit 5
algorithm Unit 5 algorithm Unit 5
algorithm Unit 5
 
Lec9
Lec9Lec9
Lec9
 
Fractal dimension versus Computational Complexity
Fractal dimension versus Computational ComplexityFractal dimension versus Computational Complexity
Fractal dimension versus Computational Complexity
 
Algo
AlgoAlgo
Algo
 
algorithm unit 1
algorithm unit 1algorithm unit 1
algorithm unit 1
 
Lec1
Lec1Lec1
Lec1
 
Advance Data Structure
Advance Data StructureAdvance Data Structure
Advance Data Structure
 
algorithm Unit 4
algorithm Unit 4 algorithm Unit 4
algorithm Unit 4
 
Alg1
Alg1Alg1
Alg1
 
Greedy Algorithms with examples' b-18298
Greedy Algorithms with examples'  b-18298Greedy Algorithms with examples'  b-18298
Greedy Algorithms with examples' b-18298
 
Time complexity (linear search vs binary search)
Time complexity (linear search vs binary search)Time complexity (linear search vs binary search)
Time complexity (linear search vs binary search)
 
Towards a stable definition of Algorithmic Randomness
Towards a stable definition of Algorithmic RandomnessTowards a stable definition of Algorithmic Randomness
Towards a stable definition of Algorithmic Randomness
 
Time complexity
Time complexityTime complexity
Time complexity
 

Similar to Some New Exercises on Computability Theory Associated with Turing Machine

1LECTURE 9TuringMachines.ppt
1LECTURE 9TuringMachines.ppt1LECTURE 9TuringMachines.ppt
1LECTURE 9TuringMachines.pptMarvin886766
 
Winter 8 TM.pptx
Winter 8 TM.pptxWinter 8 TM.pptx
Winter 8 TM.pptxHarisPrince
 
Turing machine seminar report
Turing machine seminar reportTuring machine seminar report
Turing machine seminar reportYashwant Dagar
 
Scalable inference for a full multivariate stochastic volatility
Scalable inference for a full multivariate stochastic volatilityScalable inference for a full multivariate stochastic volatility
Scalable inference for a full multivariate stochastic volatilitySYRTO Project
 
AUTOMATA THEORY - SHORT NOTES
AUTOMATA THEORY - SHORT NOTESAUTOMATA THEORY - SHORT NOTES
AUTOMATA THEORY - SHORT NOTESsuthi
 
Automata
AutomataAutomata
AutomataGaditek
 
Introducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosIntroducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosluzenith_g
 
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docxALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docxnettletondevon
 
String Matching with Finite Automata,Aho corasick,
String Matching with Finite Automata,Aho corasick,String Matching with Finite Automata,Aho corasick,
String Matching with Finite Automata,Aho corasick,8neutron8
 
03-FiniteAutomata.pptx
03-FiniteAutomata.pptx03-FiniteAutomata.pptx
03-FiniteAutomata.pptxssuser47f7f2
 
Simulating Turing Machines Using Colored Petri Nets with Priority Transitions
Simulating Turing Machines Using Colored Petri Nets with Priority TransitionsSimulating Turing Machines Using Colored Petri Nets with Priority Transitions
Simulating Turing Machines Using Colored Petri Nets with Priority Transitionsidescitation
 
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...inventionjournals
 
01 - DAA - PPT.pptx
01 - DAA - PPT.pptx01 - DAA - PPT.pptx
01 - DAA - PPT.pptxKokilaK25
 
TuringMachines-myppt.pptx
TuringMachines-myppt.pptxTuringMachines-myppt.pptx
TuringMachines-myppt.pptxSanchayKedia2
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Editor IJARCET
 

Similar to Some New Exercises on Computability Theory Associated with Turing Machine (20)

Turing machines
Turing machinesTuring machines
Turing machines
 
1LECTURE 9TuringMachines.ppt
1LECTURE 9TuringMachines.ppt1LECTURE 9TuringMachines.ppt
1LECTURE 9TuringMachines.ppt
 
Turing machine
Turing machineTuring machine
Turing machine
 
Winter 8 TM.pptx
Winter 8 TM.pptxWinter 8 TM.pptx
Winter 8 TM.pptx
 
Turing machine seminar report
Turing machine seminar reportTuring machine seminar report
Turing machine seminar report
 
Scalable inference for a full multivariate stochastic volatility
Scalable inference for a full multivariate stochastic volatilityScalable inference for a full multivariate stochastic volatility
Scalable inference for a full multivariate stochastic volatility
 
AUTOMATA THEORY - SHORT NOTES
AUTOMATA THEORY - SHORT NOTESAUTOMATA THEORY - SHORT NOTES
AUTOMATA THEORY - SHORT NOTES
 
Scribed lec8
Scribed lec8Scribed lec8
Scribed lec8
 
Automata
AutomataAutomata
Automata
 
Introducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosIntroducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmos
 
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docxALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
ALC-Prac-10A.pdfMAT2ALC Practice Class 10A Turing Machines.docx
 
String Matching with Finite Automata,Aho corasick,
String Matching with Finite Automata,Aho corasick,String Matching with Finite Automata,Aho corasick,
String Matching with Finite Automata,Aho corasick,
 
Flat
FlatFlat
Flat
 
03-FiniteAutomata.pptx
03-FiniteAutomata.pptx03-FiniteAutomata.pptx
03-FiniteAutomata.pptx
 
Simulating Turing Machines Using Colored Petri Nets with Priority Transitions
Simulating Turing Machines Using Colored Petri Nets with Priority TransitionsSimulating Turing Machines Using Colored Petri Nets with Priority Transitions
Simulating Turing Machines Using Colored Petri Nets with Priority Transitions
 
OT
OTOT
OT
 
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...
Existence of Solutions of Fractional Neutral Integrodifferential Equations wi...
 
01 - DAA - PPT.pptx
01 - DAA - PPT.pptx01 - DAA - PPT.pptx
01 - DAA - PPT.pptx
 
TuringMachines-myppt.pptx
TuringMachines-myppt.pptxTuringMachines-myppt.pptx
TuringMachines-myppt.pptx
 
Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207Volume 2-issue-6-2205-2207
Volume 2-issue-6-2205-2207
 

More from rahulmonikasharma

Data Mining Concepts - A survey paper
Data Mining Concepts - A survey paperData Mining Concepts - A survey paper
Data Mining Concepts - A survey paperrahulmonikasharma
 
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...rahulmonikasharma
 
Considering Two Sides of One Review Using Stanford NLP Framework
Considering Two Sides of One Review Using Stanford NLP FrameworkConsidering Two Sides of One Review Using Stanford NLP Framework
Considering Two Sides of One Review Using Stanford NLP Frameworkrahulmonikasharma
 
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systems
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication SystemsA New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systems
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systemsrahulmonikasharma
 
Broadcasting Scenario under Different Protocols in MANET: A Survey
Broadcasting Scenario under Different Protocols in MANET: A SurveyBroadcasting Scenario under Different Protocols in MANET: A Survey
Broadcasting Scenario under Different Protocols in MANET: A Surveyrahulmonikasharma
 
Sybil Attack Analysis and Detection Techniques in MANET
Sybil Attack Analysis and Detection Techniques in MANETSybil Attack Analysis and Detection Techniques in MANET
Sybil Attack Analysis and Detection Techniques in MANETrahulmonikasharma
 
A Landmark Based Shortest Path Detection by Using A* and Haversine Formula
A Landmark Based Shortest Path Detection by Using A* and Haversine FormulaA Landmark Based Shortest Path Detection by Using A* and Haversine Formula
A Landmark Based Shortest Path Detection by Using A* and Haversine Formularahulmonikasharma
 
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...rahulmonikasharma
 
Quality Determination and Grading of Tomatoes using Raspberry Pi
Quality Determination and Grading of Tomatoes using Raspberry PiQuality Determination and Grading of Tomatoes using Raspberry Pi
Quality Determination and Grading of Tomatoes using Raspberry Pirahulmonikasharma
 
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...rahulmonikasharma
 
DC Conductivity Study of Cadmium Sulfide Nanoparticles
DC Conductivity Study of Cadmium Sulfide NanoparticlesDC Conductivity Study of Cadmium Sulfide Nanoparticles
DC Conductivity Study of Cadmium Sulfide Nanoparticlesrahulmonikasharma
 
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDM
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDMA Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDM
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDMrahulmonikasharma
 
IOT Based Home Appliance Control System, Location Tracking and Energy Monitoring
IOT Based Home Appliance Control System, Location Tracking and Energy MonitoringIOT Based Home Appliance Control System, Location Tracking and Energy Monitoring
IOT Based Home Appliance Control System, Location Tracking and Energy Monitoringrahulmonikasharma
 
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...rahulmonikasharma
 
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...rahulmonikasharma
 
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM System
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM SystemAlamouti-STBC based Channel Estimation Technique over MIMO OFDM System
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM Systemrahulmonikasharma
 
Empirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosis
Empirical Mode Decomposition Based Signal Analysis of Gear Fault DiagnosisEmpirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosis
Empirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosisrahulmonikasharma
 
Short Term Load Forecasting Using ARIMA Technique
Short Term Load Forecasting Using ARIMA TechniqueShort Term Load Forecasting Using ARIMA Technique
Short Term Load Forecasting Using ARIMA Techniquerahulmonikasharma
 
Impact of Coupling Coefficient on Coupled Line Coupler
Impact of Coupling Coefficient on Coupled Line CouplerImpact of Coupling Coefficient on Coupled Line Coupler
Impact of Coupling Coefficient on Coupled Line Couplerrahulmonikasharma
 
Design Evaluation and Temperature Rise Test of Flameproof Induction Motor
Design Evaluation and Temperature Rise Test of Flameproof Induction MotorDesign Evaluation and Temperature Rise Test of Flameproof Induction Motor
Design Evaluation and Temperature Rise Test of Flameproof Induction Motorrahulmonikasharma
 

More from rahulmonikasharma (20)

Data Mining Concepts - A survey paper
Data Mining Concepts - A survey paperData Mining Concepts - A survey paper
Data Mining Concepts - A survey paper
 
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...
A Review on Real Time Integrated CCTV System Using Face Detection for Vehicle...
 
Considering Two Sides of One Review Using Stanford NLP Framework
Considering Two Sides of One Review Using Stanford NLP FrameworkConsidering Two Sides of One Review Using Stanford NLP Framework
Considering Two Sides of One Review Using Stanford NLP Framework
 
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systems
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication SystemsA New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systems
A New Detection and Decoding Technique for (2×N_r ) MIMO Communication Systems
 
Broadcasting Scenario under Different Protocols in MANET: A Survey
Broadcasting Scenario under Different Protocols in MANET: A SurveyBroadcasting Scenario under Different Protocols in MANET: A Survey
Broadcasting Scenario under Different Protocols in MANET: A Survey
 
Sybil Attack Analysis and Detection Techniques in MANET
Sybil Attack Analysis and Detection Techniques in MANETSybil Attack Analysis and Detection Techniques in MANET
Sybil Attack Analysis and Detection Techniques in MANET
 
A Landmark Based Shortest Path Detection by Using A* and Haversine Formula
A Landmark Based Shortest Path Detection by Using A* and Haversine FormulaA Landmark Based Shortest Path Detection by Using A* and Haversine Formula
A Landmark Based Shortest Path Detection by Using A* and Haversine Formula
 
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...
Processing Over Encrypted Query Data In Internet of Things (IoTs) : CryptDBs,...
 
Quality Determination and Grading of Tomatoes using Raspberry Pi
Quality Determination and Grading of Tomatoes using Raspberry PiQuality Determination and Grading of Tomatoes using Raspberry Pi
Quality Determination and Grading of Tomatoes using Raspberry Pi
 
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
Comparative of Delay Tolerant Network Routings and Scheduling using Max-Weigh...
 
DC Conductivity Study of Cadmium Sulfide Nanoparticles
DC Conductivity Study of Cadmium Sulfide NanoparticlesDC Conductivity Study of Cadmium Sulfide Nanoparticles
DC Conductivity Study of Cadmium Sulfide Nanoparticles
 
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDM
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDMA Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDM
A Survey on Peak to Average Power Ratio Reduction Methods for LTE-OFDM
 
IOT Based Home Appliance Control System, Location Tracking and Energy Monitoring
IOT Based Home Appliance Control System, Location Tracking and Energy MonitoringIOT Based Home Appliance Control System, Location Tracking and Energy Monitoring
IOT Based Home Appliance Control System, Location Tracking and Energy Monitoring
 
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...
Thermal Radiation and Viscous Dissipation Effects on an Oscillatory Heat and ...
 
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...
Advance Approach towards Key Feature Extraction Using Designed Filters on Dif...
 
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM System
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM SystemAlamouti-STBC based Channel Estimation Technique over MIMO OFDM System
Alamouti-STBC based Channel Estimation Technique over MIMO OFDM System
 
Empirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosis
Empirical Mode Decomposition Based Signal Analysis of Gear Fault DiagnosisEmpirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosis
Empirical Mode Decomposition Based Signal Analysis of Gear Fault Diagnosis
 
Short Term Load Forecasting Using ARIMA Technique
Short Term Load Forecasting Using ARIMA TechniqueShort Term Load Forecasting Using ARIMA Technique
Short Term Load Forecasting Using ARIMA Technique
 
Impact of Coupling Coefficient on Coupled Line Coupler
Impact of Coupling Coefficient on Coupled Line CouplerImpact of Coupling Coefficient on Coupled Line Coupler
Impact of Coupling Coefficient on Coupled Line Coupler
 
Design Evaluation and Temperature Rise Test of Flameproof Induction Motor
Design Evaluation and Temperature Rise Test of Flameproof Induction MotorDesign Evaluation and Temperature Rise Test of Flameproof Induction Motor
Design Evaluation and Temperature Rise Test of Flameproof Induction Motor
 

Recently uploaded

(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 

Some New Exercises on Computability Theory Associated with Turing Machine

  • 1. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 10 19 – 22 _______________________________________________________________________________________________ 19 IJRITCC | October 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ Some New Exercises on Computability Theory Associated with Turing Machine B. P. Tanana Higher Institute for Science and Technology ISCTEM Maputo, Mozambique e-mail:btanana@mail.ru B. Cassy University Eduardo Mondlane (UEM) Dept. of Mathematics and Informatics (DMI) Maputo, Mozambique e-mail: bhangycassy@yahoo.com.br Abstract—In this paper we present the problems previously encountered in the academic literature related to Turing machines that allow to check the students' understanding of the actual, rather than formal memorizing definitions and concepts. Keywords-Turing machine language recognized by a Turing machine, the encoding of the Turing machine __________________________________________________*****_________________________________________________ I. INTRODUCTION In this paper, we present the problems not previously encountered in the academic literature related to Turing machines that allow students to check the actual understanding rather than memorization of the formal definitions and problems about Turing machines. This article is, in some sense, a continuation of [3], [4] and [5]. Students in Mozambique, specializing in the field of engineering science, in different disciplines taught sections of discrete mathematics associated with Turing machines. II. DEFINITIONS AND EXAMPLES We give, initially, the necessary definitions, as follow: A Turing machine consists of a finite control (any non- empty finite set of states), from the infinite to the right tape divided into cells (each cell can contain one of a finite set of symbols) and the cursor that can read a character from the scanned cell, write the new symbol and move on one cell to the right or left. More formally (p. 319 [1]), the Turing machine is a system of seven elements M = (Q, Σ, T, δ, q0, B, F) where, Q – a finite set of states; Σ - finite set of input symbols; T - a finite set of tape symbols (Σ proper subset of T); δ - transition function, δ: Q × T → Q × D × {L, R}, (δ - partial function, L means moving the cursor to the left, R - right); q0 - initial state (q0∈Q, in this state of the Turing machine is at the beginning of the work); B - symbol tape, indicating an empty cell (B ∈ G Σ); F - a set of final or accepting states (F is a subset of Q). Starting work, a Turing machine is in the initial state q0, the cursor scans the first left cell, in which is always a symbol B in the (beginning of the tape), and then on the tape is located input word w over the alphabet Σ, all the remaining cells (to infinity) recorded a symbol B. Then the machine step by step starts to begin to execute commands (if possible). For example, the machine started to work (in our case) in the transition function there must be the command δ (q0, B) = (q1, B, R). For this command, the machine goes into the state q1, the first cell on the left leaves the symbol B and the cursor moves to the cell to the right. In general, the command δ (qi, x) = (qj, y, L) is performed as follows: before executing the command, Turing machine is in a state of qi in the scanned cell recorded an x. After running this command, the machine goes into the state qj, in scan cell replaces x by y and the cursor moves to the cell to the left, which is to be scanned. If doing so the command asked the transition function Turing machine M is stopped (no command that she could perform) and is in the final state of the Turing machine M accepts a word w, written at the beginning of work on the tape, otherwise, does not accept w. All words w, a Turing machine M that accepts form a language recognized by a Turing machine M. This language is denoted by L (M). Turing machines conveniently presented in the form of so- called transition diagrams (directed graphs): Each state q is a vertex: Let δ (q, x) = (p, y, R). Then there is an arc from q to p with weight x/y R: The tops of the respective final states: Vertex corresponds to the initial state: For example, a state transition diagram for a Turing machine M: δ (q0, B) = (q1, B, R) 𝑞 𝑥 𝑦 𝑅 𝑞 𝑝 𝑞0 𝑞
  • 2. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 10 19 – 22 _______________________________________________________________________________________________ 20 IJRITCC | October 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ δ (q1,0) = (q1,0, R) δ (q1,1) = (q1,1, R) M: Consider one of the ways of encoding of Turing machines. Without loss of generality, in matters related to the encoding of Turing machines, we can assume that, T= {0, 1, B}, the set of states Q= {q0, q1, ..., qn} (p. 324 [2]), also agreed to that F={q1}. We need to encode commands of transition function, which have the form δ (qi, x)=(qj, y, D), where qi, qj∈Q; x, y∈{0, 1, B}; D∈{L, R}. Encode all the characters included in the command (p. 324 [2]): Symbol 0 1 B q0 q1 … qn L R Code 1 11 111 1 11 … 1n+1 1 11 Let c(z) be a code of symbol z. A code of the commandδ(qi, x) = (qj, y, D) be a binary word, c (qi) 0c (x) 0c (qj) 0c (y) 0c (D). A code of a Turing machine M is a binary word, denoted by R(M), which begins and ends with three zeros between which command codes are written separated by two zeros. Consider the example: Example 1. Find the code R(M) Turing machine M, defined by the transition function δ (q0, B)= (q1, B, R); δ (q1, 0) = (q1, 0, R); δ (q1, 1) = (q1, 1, R). Solution. Note that the transition function defines all the 7 elements of a Turing machine M = (Q, Σ, T, δ, q0, B, F); Q = {q0, q1}, Σ = {0, 1}, F = {0, 1, B}, δ is given in the text of Example 1, q0 = q0, B = B, F = {q1} (remember our agreement). Thus, let's find R(M). Command Code 𝛿(q0, B)=(q1, B, R) 101110110111011 𝛿(q1, 0)=(q1, 0, R) 110101101011 𝛿(q1, 1)=(q1, 1, R) 11011011011011 So,R(M)= = 000101110110111011001101011010110011011011011011000 Changing the order of the command, as a result, it is possible to obtain 3! = 6 different codes R(M) for a given in Example 1 of the Turing machine M. It is not difficult to understand that a Turing machine M from Example 1 accepts any word in the alphabet {0, 1} as always stops in the final state q1. So, L(M), in this case, is the set of all words in the alphabet {0, 1}, including the empty word λ. Thus Turing machines can be represented by binary words. We assume that every binary word is a code of a Turing machine, but some codes have mistaken and a Turing machine does not work (pp. 370-371 [1]). We introduce the canonical order on the binary words: w1<w2, if |w1|<|w2|, the words of equal length are ordered lexicographically. So, the initial ordered set of items are received by words λ, 0, 1, 00, 01, 10, 11, 000, .... If for these words write 1 to the left side, then we get the binary numbers 1, 10, 11, 100, 101, 110, 111, 1000, ... or in decimal 1, 2, 3, 4, 5, 6, 7, 8 ..., words that define binary numbers under the canonical ordering (p. 369 [1]). Sometimes instead of a binary word wi (word having the number i under the canonical ordering) is convenient to use its number i. To find enough i for wi is necessary write 1 to the left side of wi. we introduce the canonical order on the binary words: w1<w2 if |w1|<|w2|, the words of equal length are ordered lexicographically. Thus, the initial ordered set of items are received by words λ, 0, 1, 00, 01, 10, 11, 000, .... If for these words write 1 to the left side, then we get the binary numbers 1, 10, 11, 100, 101, 110, 111, 1000, ... or in decimal,1, 2, 3, 4, 5, 6, 7, 8 ..., words that define binary numbers under the canonical ordering (p. 369 [1]). In other times, instead of a binary word wi (word having the number i under the canonical ordering) it is convenient to use its number i. So, to find enough i for wi is necessary to write 1 at the left side of wi. III. EXERCISES/PROBLEMS A. Problem 1 Construct a Turing Machine M, which converts the binary word 1w for word w (w any binary word). Solution – Problem 1 (see below). B. Problem 2 Construct a Turing Machine M, which converts the binary word w for word 1w (w any binary word). Solution – Problem2 (see below). C. Problem 3 Find the smallest number of binary words with respect to the canonical order, which determines the actual code of a Turing machine. Solution – Problem 3 (see below). R R 11 00 B/B 𝑞0 𝑞1
  • 3. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 10 19 – 22 _______________________________________________________________________________________________ 21 IJRITCC | October 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ IV. SOLUTIONS OF PROBLEMS 1-3 Solution – Problem 1: M: Solution – Problem 2: M: 0/0 L 1/1 L B/B R 1/B L B/B R 𝑞0 𝑞1 𝑞3 B/B R 𝑞2 B/1 R 𝑞8 𝑞6 𝑞5𝑞7 𝑞4 B/0 R 0/B L B/B L 1/B L B/B L R R 11 00 LBB RBB 𝑞0 𝑞1 LB 1 𝑞6 𝑞4 𝑞3 𝑞5 𝑞2 LB 0 RB0 RBB RB1 LB 1
  • 4. International Journal on Recent and Innovation Trends in Computing and Communication ISSN: 2321-8169 Volume: 5 Issue: 10 19 – 22 _______________________________________________________________________________________________ 22 IJRITCC | October 2017, Available @ http://www.ijritcc.org _______________________________________________________________________________________ Solution – Problem 3: It is clear that for the restrictions accepted by us, "the smallest" Turing machine M has a single command:δ(q0, В) = (q1, B, R). M: So, R(M) = 000101110110111011000.Then, the number of the word R(M) in the binary system is 1000101110110111011000, and the decimal notation of this numberis equal to 1.175.000. REFERENCES [1] J. E. Hopcroft, R. Motwani, J. D. Ullman. Introduction to Automata Theory, Languages, and Computation. 2nd ed, Addison Wesley, 2001. [2] T. A. Sudkamp. Languages and Machines. 2nd ed, Addison Wesley, 1997. [3] B.P.Tanana, B.Cassy, ―On the Coding of a Turing Machines and Non – Recursive Languages‖, International Journal on Recent and Innovation Trends and Communications, Vol. 3, Issue 2, February 2015, pp. 613-615. [4] B. Tanana and B. Cassy, ―About Pumping Lemma for Regular Languages‖, International Journal of Innovative Science, Engineering & Technology, Vol. 3, Issue 3, March 2016. [5] B.P. Tanana. On the Coding of a Turing machines and Non- Recursive Languages. MATVEST, N 17, April, 2015. RBB 𝑞0 𝑞1