ASSIGNMENT 1
Scalar data

Obligatory

  1. The myeloid leukemia cell differentiation protein (MCL-1) sequence shows that it contains 350 amino acids. Given an average molecular weight of 110 daltons per amino acid, write a program that calculates the estimated molecular weight of the protein (in kilodaltons) and writes the result on the screen.

  2. Write a program that asks the user for a gene name and the number of nucleotides in its coding sequence (namely the part in its cDNA that translate to protein, from initiation to stop codon); calculates the number of amino acids in the resulting protein and its estimated molecular weight (in kilodaltons); and prints the results, including the gene name, on the screen.

    (For non-biologists: each amino acid is coded by 3 nucleotides)


Course home page.