Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that asks the user to input the number of students of a class named BIS 1003. The program then will ask
Write a program that asks the user to input the number of students of a class named BIS 1003. The program then will ask the user to input: the ID, Assignment 1 marks, Assignment 2 marks and Final Exam marks for every student. The program needs to validate the marks out of 100. Use a dictionary to store the ID and marks of the students. After the user finishes entering the students' info, the program should display the student ID and their marks. The program should be able to handle exceptions. Modify your code for question 1 to calculate the Final Marks by adding the weighted marks of the assignments and the Final Exam. Weight of Assignment 1, Assignment 2 and Final Exam can be 25%, 25% and 50%, respectively. The program should display the final result as follows: Student ID Assignment 1 Assignment 2 1 2 70 80 80 90 Final Exam 85 90 Final Result (Weighted) 80 88 The program should be able to handle exceptions. Modify the program for question 2 to remove a student from the BIS1003 class. The program should ask the user to enter the Student ID who wants to be removed from the class. The program should display the student's information and then display the remaining students list from the dictionary after removing the students. The program should be able to handle exceptions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
The required program for given question def calculateweightedaverageassignment1 assignment2 finalexa...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started