





























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






























































(^) finite automata : models for devices with small amount of memory. (^) pushdown automata : models for devices with an unlimited memory that is usable only in the last in, first out manner of stack.
(^) A Turing machine also uses an one directional infinite tape as its unlimited memory. (^) Tape head can read and write symbols and move around on the tape. (Left/Right). (^) If the head is commanded to move left from the left- ended position, it’ll stay still at the same place for that move automatically. (^) Initially, the tape contains only input string and is blank everywhere else. control a b a b …
(^) accepting state output = accept (^) rejecting state output = reject
x 1 1 0 0 0 # 0 1 1 0 0 0 … x 1 1 0 0 0 # x 1 1 0 0 0 … x x 1 0 0 0 # x 1 1 0 0 0 … x x x x x x # x x x x x x …
accept
(^) the current state (^) the current tape (^) the current head location.
(^) the current state is q (^) the current tape contents is uv (^) the current head location is over the first symbol of v q 7 1 0 1 1 0 1 1 … configuration : 1011q 7
u v
machine starts from state q 0 with its head a the leftmost position on the tape.
(^) Accepting Configuration : q accept (^) Rejecting Configuration : q reject
(^) accept (^) reject (^) loop : machine does not halt. (not necessarily repeating the same steps in the same way forever)
(^) Hard to deal with looping outcome. (^) So, we prefer TM which can make always a decision to accept or reject on all inputs. (^) Machines are called deciders. (^) A decider that recognizes some language also is said to decide that language. (^) “Call a language Turing-decidable or simply decidable if some Turing machine decides it.” (^) Demonstrate a language that is Turing- recognizable but not decidable is difficult. (^) We will do it on the next chapter.
(^01) = 0 = x (^02) = 00 = x (contain a single 0 accept) 08 = 00000000 = x0x0x0x = xxx0xxx = xxxxxxxx 010 = 0000000000 = x0x0x0x0x (odd : reject)
= x0x0x0x0x0x0x0x = xxx0xxx0xxx0xxx = xxxxxxx0xxxxxxx = xxxxxxxxxxxxxxxx 018 = 000000000000000000 = x0x0x0x0x0x0x0x0x (odd : reject)