Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 2 : Student Grades Create a new Python program and save it in your Prac 9 directory. You are to write a program which

Exercise 2: Student Grades
Create a new Python program and save it in your Prac9 directory.
You are to write a program which reads a student's Id and exam mark.
It then generates and displays the letter grade for that student.
The program will first ask the user for the student's Id number, and the
mark that they got in the exam. The program should check if the mark
is between 0 and 100 inclusive. It should only display a letter grade if
the mark is valid.
The program will need to generate the letter grade based on the table
below:
Display the students Id, original mark, and letter grade. For example:
10004,100,A
a) Write the flow-chart for getting the student's Id and mark, checking if
the mark is valid and generating a letter grade. Get a demonstrator to
check it before going on to the next step.
b) Now create the program using your flow-chart.
c) Test the program with different inputs to make sure the results are what
you expect.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

3. Identify cultural universals in nonverbal communication.

Answered: 1 week ago