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
Step: 1
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