Chat with us, powered by LiveChat python GPA Calculator | WriteDemy

Question Description

Outlab 1: GPA Calculator Application

Logistics

  • Due Date: Tuesday, September 25th no later than 11:00 a.m.
  • Partner Information: You may complete this assignment individually or with exactly one partner. If you work with a partner, you must both be enrolled in the same lab section or you will both lose 10 points.
  • Submission Instructions: Upload your solution, entitled YourFirstName-YourLastName-PartnerFirstName-PartnerLastName-Program1.py to the BrightSpace Program 1 Dropbox. If you work with a partner, only one person should submit the solution. However, to make the recording of grades easier, write both names in the BrightSpace Dropbox comment box.
  • Deadline Reminder: Once the submission deadline passes, BrightSpace will no longer accept your Python submission and you will no longer be able to earn credit. Thus, if you are not able to fully complete the assignment, submit whatever you have before the deadline so that partial credit can be earned.

Learning Outcomes

  • To solve this problem, you need to understand the following Python concepts: data types, functions, selection statements (Sept 14th) and iteration (Sept 17th).

Background Information

  • At Montana State University, the following grades have the following values: A (4.0), A- (3.7), B+ (3.3), B (3.0), B- (2.7), C+ (2.3), C (2.0), C- (1.7), D+ (1.3), D (1.0) and F (0.0).
  • Example GPA Calculation: If a student earns an A in a 3 credit course and a B- in a 2 credit course, that student's GPA can be calculated as (4.0 * 3 + 2.7 * 2) / (3 + 2).

Assignment

  • Write a Python program that prompts the user for the number of classes taken and then for each class, the letter grade received (e.g. B+) and the number of credits (e.g. 3). Once this information is known, the program should calculate and display the GPA.
  • Here is a sample transcript. Your solution should match the output format exactly.
  • Lower case or upper case should work, you need to handle that in your code.
  • Output should have proper format, pyFormat

Assumptions

  • The user will take at least one and no more than seven courses.
  • Each course has a credit value between one and five (inclusive).
  • A grade can be entered in uppercase or lowercase. For example, either A- or a-.
  • All user inputs will be valid.

Grading – 100 points

  • 35 points – The GPA calculation is correct.
  • 15 points – The user is prompted to enter the number of courses (5 points), the letter grade for each course (5 points) and the credits for each course (5 points).
  • 10 points – With the exception of the GPA, the output format matches the output format of the transcript exactly (2 points for each type of difference up to 10 points).
  • 5 points – The GPA is displayed with two digits to the right of the decimal.
  • 10 points – A function named translate is defined that takes a letter grade (e.g. b- or B-) and correctly returns its value (e.g. 2.7).
  • 10 points – A function named main is defined (5 points). The only python statement that does not appear in this function or the translate function is the call to the main function, e.g. main() (5 points).
  • 10 points – The Python solution is easy to understand and does not contain unnecessary code (2 points for each type of improvement up to 10 points).
  • 5 points – An appropriate Python comment appears at the top of the submission. See below for the type of information that should appear.

Sample Python Header Comment

# ---------------------------------------# CSCI 127, Joy and Beauty of Data# Program 1: GPA Calculator # Your Name(, Your Partner's Name)# Last Modified: January ??, 2018 # ---------------------------------------# A brief overview of the program.# ---------------------------------------

Helpful Hint

  • To learn more about formatted output, take a look at this page. Use Python's new style for formatted output.

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order