python program

Category: Computer Science

Test Scores and Course Grade

Write a program that:

  1. Includes the following line comments at the top of the document:
    • Python Homework #2: Test Scores and Course Grade
    • Author: Your Name
    • School: Pace University
    • Course: CIS101
    • Instructor: Professor Michael Sidaras-Tirrito
    • Semester: Fall 2018
    • Date Created: An actual date you created the file
  2. Initializes the following:
    • A string variable named name, defaulted to empty string
    • A string variable named course, defaulted to empty string
    • A numeric variable named excelMidterm, defaulted to 0
    • A numeric variable named pythonMidterm, defaulted to 0
    • A numeric variable named excelFinal, defaulted to 0
    • A numeric variable named pythonFinal, defaulted to 0
  3. Collects user input of the name, the course, the Excel Midterm Grade, the Python Midterm Grade, the Excel Final Exam Grade and the Python Final Exam.
  4. Calculates the Course Average as the sum of the exams divided by 4 and stores the result in a new variable named courseAverage.
  5. Displays the values stored in each variable on the screen, using the following example format and accompanying additional string literal text:
    • Using if then elif statements to control outputting the correct letter grade based on the Course Average to Letter Grade Conversion Table listed below

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Pay Someone To Write Essay