Lab repository link

https://github.com/apcs-dw/PD-GH_USERNAME-l01-dna

git@github.com:apcs/PD-GH_USERNAME

Posted: Mon Oct 26

Due: Friday 10/30 10:00am

Test Tuesday

Remember, we have a test on Tuesday, 10/27. The skills covered will be:

  • 5: Working with Boolean Values
  • 11: Conditional Statements
  • 12: Loops
  • 24: Strings

This lab will help with studying, but you have other resources available to you including:

  • Previous exams.
  • Work assignments
  • CS Dojo
  • Codingbat

DNA Analysis

This lab will continue along the path carved out be the most recent assignments. Included are solutions to some of the functions from those assignments. Importantly, there are a few different pieces of data you can use to test your work. Initially, I suggest using the bigString definition used on line 20 of the provided program. I have also provided 2 text files dna_sample.txt and dna_sample2.txt. These are much larger and will do a more thorough testing of your work.

  • Result of bigStrand (with NUC_SIZE of 27):
    • l01_dna-0
  • Result of dna_sample.txt (with NUC_SIZE of 4)
    • l01_dna-1
  • Result of dna_sample2.txt (with NUC_SIZE of 4)
    • l01_dna-2