Problem : 1 Use the technique of storage in the finite control to design a Turing machine which takes the leftmost symbol in the input and prints it immediately to the right of the input. Solution: M=(Q,{0,1},{0,1,B},&,[q0,B],B,[q0,B]) Set of states {q0,q1,q2} and {0,1,B} & is 1) δ ([q0,B],q)=([q1,a], a, R) Q0 is the control state , the data portion of state is B. The symbol scanned is copied into the q0 component of the state, M moves right, entering control state q, as it does so. 2) δ ([q1,a],b)=([q ,a], b, R) In state q1, M skips over each non blank symbol and continuous moving right. 3) δ ([q1,a],B)=([q1,B], a, R) If M reaches the first blank, it copies the symbol to from its finite control to the tape and enters the accepting state (q1, B). [NOTE: If M encounters a second occurrence of the symbol it stored initially in its finite control, it has without having entered the accepting state.]