Question: Write a Python program that utilizes a multi-dimensional list structure in saving student records. A record is composed of the Student Number, complete name of

Write a Python program that utilizes a multi-dimensional list structure in saving student records. A record is composed of the Student Number, complete name of student, and the General Weighted Average (GWA) for each of the terms (1T, 2T, and 3T) of the Academic Year. The program should populate the records in the master students' list as long as the user wants to enter data. Once the data is entered, the program will then display the average of the GWAs of each student. Note that the Final GWA should be the last element of each of the student's record.

The sample program output might help you:

SAMPLE OUTPUT:

Enter Student Number: 12345678

Complete Name [LN, FN]: RIZAL, JOHN

1T GWA: 1.25 2T GWA: 2.25 3T GWA: 1.75

Another record? [Y/N]: Y

Enter Student Number: 12345679

Complete Name [LN, FN]: SMITH, JAMES

1T GWA: 2.00 2T GWA: 5.00 3T GWA: 1.50

Another record? [Y/N]: N

Displaying FINAL GWA per Student:

RIZAL, JOHN: 1.75 SMITH, JAMES: 2.83

Displaying Student Master List:

1: ['12345678','RIZAL, JOHN',1.25,2.25,1.75,1.75] 2: ['12345679','SMITH, JAMES',2.00,5.00,1.50,2.83]

End of File

END OF PROGRAM

Program Requirements:

Use of multi-dimensional lists Access list elements in computing the average/final GWA Appending the final GWA as part of the student record Basic value/data validation

Declare a function for each of the following characteristics:

a function with NO parameter and NO return statement a function with NO parameter but WITH a return statement a function with parameter(s) but with NO return statement, and a function with parameters and with a return statement

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!