Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Step: 3

blur-text-image

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

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions

Question

What's a dealbreaker for you in a relationship?

Answered: 1 week ago

Question

Explain the Neolithic age compared to the paleolithic age ?

Answered: 1 week ago

Question

What is loss of bone density and strength as ?

Answered: 1 week ago