



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!




LAB201 - Java Programming - Strings in Java Week 2 Consider finding all the YouTube links on a web page. What is the video for the second YouTube link on the web page http://www.dukelearntopro- gram.com/course2/data/manylinks .html about? Consider the following mystery method. public String mystery(String dna) { int pos = dna.indexOf("T"); int count = 0; int startPos = 0; String newDna = ""; if (pos == -1) { return dna; } while (count < 3) { count += 1; newDna = newDna + dna.sub- string(startPos,pos); startPos = pos+1; pos = dna.indexOf("T", startPos); if (pos == -1) { break; } } newDna = newDna + dna.sub- string(startPos); return newDna; } Use the following data file to answer this question: Turkeys, Ducks and Quails The method mystery is given a string and it returns a string which is the same string but with the first three T's removed 69 http://www.cs.duke.edu/~rodger/ GRch38dna- part.fa. How many genes are in this file? Use the following data file to answer this question: http://www.cs.duke.edu/~rodger/GRch 8dna- part.fa. How many genes in this
LAB201 - Java Programming - Strings in Java Week 2 HÍc trñc tuy¿n t¡i https://quizlet.com/_eh5bdn part.fa. How many genes in this file have cgRatio greater than 0.35? Use the following data file to answer this question which represents one long strand of DNA: http://www.cs.duke.edu/~rodger/GRch 8dna- part.fa. How many times does the codon CTG appear in this strand of DNA? Use the following data file to answer this question: http://www.cs.duke.edu/~rodger/GRch 8dna- part.fa. What is the length of the longest gene in the collection of genes found in this file?