100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
TM111 TMA02/TM111 TMA02/TM111 TMA02 £9.79   Add to cart

Exam (elaborations)

TM111 TMA02/TM111 TMA02/TM111 TMA02

 115 views  3 purchases

TM111 TMA02/TM111 TMA02/TM111 TMA02

Preview 2 out of 11  pages

  • July 22, 2022
  • 11
  • 2021/2022
  • Exam (elaborations)
  • Questions & answers
All documents for this subject (46)
avatar-seller
CERTIFIEDNURSE
certifiednurse
TM111 TMA02/TM111 TMA02/TM111 TMA02

TM111 TMA02

Question 1
(a) When the spacebar is pressed, the user is asked to input the students name, which, in this
case, is Faria. Faria is then stored as a "name" variable. The user is then asked to input their
test score of 72, this is then stored as a "math_test_score" variable. The "percentage_score"
is then worked out by using the variable "math_test_score" * 1.25, which then provides us
with a percentage out of 100. The sprite then informs us of the "percentage_score" for
Faria. In this case, Faria's "percentage_score" is higher than 75% so therefore her name
which was stored in the "name" variable, is now added to the "math_challenge_list" list.
The program was able to decide if Faria was legible for the "math_challenge_list" by using
the "IF percentage_score > 75 THEN" function.
An excellent fully detailed description.




(b)
i. 80

Make it clear what this number represents. Although this might be suitable in an extended version it
is not being used in this program.

The percentage multiplier, 1.25, might be stored in a constant.




ii. MAXIMUM_SCORE
Good to see the naming convention for constants has been followed.




Page | 1

, certifiednurse
TM111 TMA02/TM111 TMA02/TM111 TMA02
(c)




Figure 1– A Screenshot of OUBuild script which shows the use of lists and the IF_Then blocks to categorise students based
on their math test scores.

Excellent




(d)

i.




Page | 2

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller CERTIFIEDNURSE. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £9.79. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79223 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now

Start selling
£9.79  3x  sold
  • (0)
  Add to cart