
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for creating two turing machines: even-a-tester and mini-translator. Even-a-tester determines if there is an even or odd number of 'a's in a given input sequence. Mini-translator translates a given input sequence of nucleotides into amino acids based on a provided codon table.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Write two Turing Machines, one for each of the following jobs. In each case, give the complete list of commands and the initial state. You can use IDEAS to try out your Turing Machine on various examples. EVEN-a-TESTER: Given as input a list of a’s, b’s, and c’s, stop in the Y state if there are an even number of a’s, and stop in the N state if there are an odd number of a’s. (It doesn’t matter how many of the other letters there are, nor what you leave on the tape when you are finished.) MINI-TRANSLATOR: Given as input a sequence of U’s, A’s, C’s and T’s, let’s assume that a “codon” now consists of 2 nucleotides instead of 3. Suppose these mRNA pairs are coded into amino acids by the following table: second base U C A G U P A K X C P R M T A L D M W G L X P W X = stop codon You want as output a list of letters (you can space them every 2 squares) which correspond to the amino acids of the final protein. For example,
(The stop codon is not part of the protein.) first base