100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
TM111 TMA02. EXAM-with latest solutions- $11.49   Add to cart

Exam (elaborations)

TM111 TMA02. EXAM-with latest solutions-

 2 views  0 purchase

TM111 TMA02. EXAM-with latest solutions- TM111 TMA02. EXAM-with latest solutions- TM111 TMA02. EXAM-with latest solutions- TM111 TMA02. EXAM-with latest solutions- TM111 TMA02. EXAM-with latest solutions- TM111 TMA02. EXAM-with latest solutions- TM111 TMA02. EXAM-with latest solutions-

Preview 2 out of 8  pages

  • September 1, 2024
  • 8
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • tm111 tma02 exam
All documents for this subject (4)
avatar-seller
Prose1
TM111 TMA02. EXAM-with 100% verified solutions-2023-2024
i i i i i




TMA02

* Question 1
i i




What the script will do when the spacebar is pressed it record the name of the pupil and how many
i i i i i i i i i i i i i i i i i i i


books they have read, then work out their reading percentage.
i i i i i i i i i i




we were hoping for something like:
i i i i i




… Their input, 12, is stored in the variable books_read.
i i i i i i i i i i




The variable percentage_read is set to the value of books_read multiplied by 5 (or to the percentage
i i i i i i i i i i i i i i i i


equivalent of books_read) which in this case is 60.
i i i i i i i i i




The user is told the percentage of books read (60%).
i i i i i i i i i




The script then checks whether 60 is less than 70 and finds it is
i i i i i i i i i i i i i




so the pupil's name, 'Frank', is added to low_reading_list.
i i i i i i i i




0/4 Since the value 12 was given you can use exact values, percentages etc. for a clear example.
i i i i i i i i i i i i i i i i i




*1b

Value of the constant is BOOKS, as we know there are 20 and this doesn’t change.
i i i i i i i i i i i i i i i




*1c

BOOKS would be an appropriate name for the constant.
i i i i i i i i




I will accept this answer. 2/2 chosen constant and youadhered to formatting conventions. Screen
i i i i i i i i i i i i i i




i shot of low & satisfactory belowi i i i i




https://www.coursehero.com/file/146403292/TM111-TMA02docx/

, This istudy isource iwas idownloaded iby i100000840820515 ifrom iCourseHero.com ion i01-20-2023 i05:01:33 iGMT i-06:00




https://www.coursehero.com/file/146403292/TM111-TMA02docx/

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 or Stuvia-credit 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 Prose1. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

85169 documents were sold in the last 30 days

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

Start selling
$11.49
  • (0)
  Add to cart