Calculate the subject marks of a student

Assignment Help Python Programming
Reference no: EM131971147

Assessment Description

Write a Python program to calculate the subject marks of a student. The input data for the program includes: the raw marks of assignment, test, tutorial exercises and exam. After receiving the inputs, the program calculates and displays the final marks of each component and total final mark. Then it decides the grade that student should get. The grade level is based on the following table according to the final total mark:

Total Mark                   Grade

0 - 49                          Fail

50 - 64                        Pass

65 - 74                        Credit

75 - 84                        Distinction

85 - 100                      High Distinction

The weights of each assessment component are shown on the consol. The program should also check the validity of all the input data, including numeric input and valid range of each input data, before carrying out the calculation of marks.

The grade calculations program will continue to work if the user wants to calculate for more number of students.

Two examples of student grade calculations are shown below:

Student Grade Calculation:

Raw Mark   Final Mark

Assignment (50)     26               10.40       /20

Test (40)             22                 11.00      /20

Tut Exercise (20)     8                  4.00        /10

Final Exam (100)      55                 27.5        /50

Total Mark: 52.90 Grade:      Pass

Student Grade Calculation:

Raw Mark   Final Mark

Assignment (50)     40                  16.00       /20

Test (40)           38                  18.00      /20

Tut Exercise (20)   20                  10.00      /10

Final Exam (100)    70                  25.00      /50

Total Mark: 79.00 Grade:        Distinction

Some of the error messages that your program can display are shown below:

  • Please enter numbers for assignment.
  • Assignment must be between 0 and 50.

Reference no: EM131971147

Questions Cloud

Create java program that store the random values in array : COP2551 Intro to OOP Homework - Create a Java program that performs Store the random values in the array. Practice sorting arrays in a Java program
Describe the developmental-vision and hearing screening tool : The RN is examining a 4 year old to determine his readiness for school. Describe the developmental, vision and hearing screening tools that will help the RN
How to minimize bias and increase objective decision making : How to Minimize Biases and Increase Objective Decision Making. Data analysis is about using information and knowledge to make decisions.
Write a three to five page comparative essay of any two film : Write a three to five page comparative essay of any two films we watched: Eat Drink Man Woman (Taiwanese), Lunchbox (Indian), Little Forest (Japanese).
Calculate the subject marks of a student : ISY1003 – Foundations of Programming - calculate the subject marks of a student. The input data for the program includes: the raw marks of assignment, test
Why do public schools do these free screenings : Public schools have yearly vision and hearing screenings. Why do public schools (and many private as well) do these free screenings?
Describe why you choose individual to represent leadership : Select a leader of your choice (can come from business, politics etc.). Briefly describe why did you choose this individual to represent leadership.
Original definition of health and homeostasis : As you approach the ending of the course, please reflect back on your original definition of health and homeostasis and answer the following question
Manage anxiety during the preoperative period : Why is it important for the RN to help this patient manage anxiety during the preoperative period?

Reviews

len1971147

5/5/2018 1:45:59 AM

Element Excellent to Good Pass Incomplete (0.5) (0.25) (0) Technical ? Good naming conventions and Comprehensive and meaningful internal ? Basic documentation and variables with names ? Not found documentation done.

len1971147

5/5/2018 1:45:53 AM

MARKING CRITERIA: Element Excellent to Good Pass Incomplete (3.5-4.5) (2.5-3.5) (0-2.5) Demonstrates Understanding of variables, Input, ? Program working with all the required variables declared and if conditions, ? Program mostly works with few errors. ? Program has got many errors that indicate a lower understanding on concepts Process, Output Grade calculation and of variables, IPO and if and Conditional program continuation loop statements, loops and no or Statements and Loops. Grade Calculations and with optimized code. wrong grade calculation provided. code optimization.

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd