ASU ISBA 2033 Programming Fundamentals    Flag Francais (.2 kB) Zhong guo qi zi (.2 kB)
Home | Syllabus | Homework | ISBA Department

Assignment Due 2023-05-18

  1. If you haven't already done so, complete the homework assigned previously.
     
  2. Refer to the Review Quiz on the Resources page at the course website, and fill in the blanks on the quiz. In addition write the pseudocode and Python code for the app described in item 8 of the quiz. Upon completing the quiz and writing the code, print the web page to a PDF file and submit it for feedback as an attachment to jseydel@astate.edu. In addition, use Jupyter Notebook for writing and running the code, and submit that file also as an email attachment. FYI, the code files for Jupyter Notebook are stored in the c:\users\userName folder on your harddrive.
     
  3. Write a Python program that displays a table of the Celsius temperatures and Fahrenheit equivalents. The formula for converting a temperature from Celsius to its Fahrenheit equivalent. This app should have two versions, one using a while() loop and the other using a for() loop. The end-user is to specify starting and ending values for the Celsius temperatures, as well as the step sizes. FYI, the conversion formula is F = (9/5)C + 32.
     
  4. Refer to the Jupyter Notebook version of the Discount Calculator App (disctCalcApp2023a.ipynb, available in the JupyterNotebookFiles folder within the Examples folder on our Course cloud drive. Rewrite the code so that the discount brackets and rates are stored in two parallel arrays (intArrQUANT and fltArrDISCT), and the selection logic is contained in a function (FindDiscRate()) that is called within a repetition construct.