Question: Important note: you do not need to get a working program in part(a) in order to attempt part(b). A student wants to design and implement

Important note: you do not need to get a working program in part(a) in order to attempt part(b).

A student wants to design and implement a Python program to determine their weighted average assignment score on a module. Unlike TM112, you can assume that this is a module where the TMAs are equally weighted. There are many ways of doing this, but here is their initial top-level decomposition.

> Determine weighted average

>> Input a list of TMA scores

>> Calculate the TMA weighting

>> Create a new list that contains the weighted TMA scores

>> Add up the decimal values in the new list

>> Print result rounded to the nearest whole number

  • a.In this part you will consider only this part of the top-level algorithm:
    • >> Input a list of TMA scores
    • >> Calculate the TMA weighting
    • >> Create a new list that contains the weighted TMA scores
    • >> print the new list

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 Programming Questions!