Useful CSE 160 Resources

Overview

In this assignment, you will use Python to analyze and interact with data in a real-world scenario. By the end students will be able to: * Write Python code using loops, conditionals (if statements), functions, and string manipulation. * Use the command line to run Python scripts with parameters. * write Python code to analyze DNA data sets

Although you will fill in the body of one function and call it, you do not need to write additional functions for this assignment. You are encouraged to examine the provided function filename_to_string, which opens and reads in data files, but you do not need to understand anything about opening and reading files in order to do this assignment. For all of our assignments you should NOT use parts of Python not yet discussed in class or the course readings.

Homework 2 is your first assignment using Python (and therefore programming!) to analyze some data. It is very important to read everything in this specification. The Background section in particular provides you with necessary context to understand why you’re writing the code for each problem in this assignment.

Submission

In addition to submitting the homework on Gradescope, make sure to fill out the required reflection survey.

HW2 - Homework 2

Initial Submission by Friday 01/27 at 11:59 pm.

Submit on Gradescope

Subpages

  1. Background - Background information on DNA for this assignment.
  2. Setup - Verify your setup for the homework.
  3. Programming - Complete the programming component of the homework.
  4. Troubleshooting - Tips to help complete the homework