anonymous
  • anonymous
Problem Set 3 testing - target strings and keys
MIT 6.00 Intro Computer Science (OCW)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions.

anonymous
  • anonymous
Problem Set 3 testing - target strings and keys
MIT 6.00 Intro Computer Science (OCW)
schrodinger
  • schrodinger
See more answers at brainly.com
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

anonymous
  • anonymous
I'll post some test strings for the function in Problem Set 3 (ps3d) # should match one sub strings and exclude exact matches # Test 0 : test for exact match # Test 1 : test for one sub and more than one sub # for ex. for 'atg', it should match 'xtg', 'axg' and 'atx' # and not 'atg', 'axtg', 'atxg' etc # Test 2 : test for two and more subs # Test 3 : test for overlap # for ex for 'atta' it should match 'xttaxta' => (0, 3) # Test 4 : test if string exist at all # Test 5 : test for repeat # target0 = 'atgaatgcatggatgtaaatgcag' # exact match for atg (0, 5, 9, 13, 19) # 012345678901234567890123 target1 = 'atgaxtgcaxggatxtaaatgcag' # key1 'atg' (4, 8, 12) # 012345678901234567890123 # next string features overlap target2 = 'attagxttataxtatxattxgcag' # key2 'atta' (5, 10, 13, 16) # 012345678901234567890123 target3 = 'gcgcgcgcgcgcgcgcgcgcgcgc' # key3 'atgc' () # 012345678901234567890123 target4 = 'axaaaaaaaaaaaaaaaaaaaaaa' # key41 'aaaa' (0, 1) and key42 'tttt' () # 012345678901234567890123 # key strings key0 = 'atg' key1 = 'atg' key2 = 'atta' key3 = 'atgc' key41 = 'aaaa' key42 = 'tttt' HAPPY TESTING

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

Looking for something else?

Not the answer you are looking for? Search for more explanations.