TM111 TMA02. EXAM-with 100% verified solutions-2023update
TM111 TMA02. EXAM-with 100% verified solutions-2023update
TM111
TMA02
* Question 1
What the script will do when the spacebar is pressed it record the name of the pupil and how many books they have read, then work out ...
tm111 tma02 exam with 100 verified solutions 2023update
tm111 tma02 exam with 100 verified solutions 2023update tm111 tma02 question 1 what the script will do when the spacebar is presse
Written for
TM111 TMA02.
TM111 TMA02.
3
reviews
By: gayanga30 • 10 months ago
By: charliehunt1995 • 1 year ago
By: kieranfarmer81 • 1 year ago
By: abram23 • 1 year ago
thank you for the review
Seller
Follow
abram23
Reviews received
Content preview
TM111 TMA02. EXAM-with
100% verified solutions-
2023update
TM111 https://www.coursehero.com/file/146403292/TM111-TMA02docx/TMA02
* Question 1
What the script will do when the spacebar is pressed it record the name of the pupil and how many
books they have read, then work out their reading percentage.
we were hoping for something like:
… Their input, 12, is stored in the variable books_read. The variable percentage_read is set to the value of books_read multiplied by 5 (or to the percentage equivalent of books_read) which in this case is 60.
The user is told the percentage of books read (60%).
The script then checks whether 60 is less than 70 and finds it is
so the pupil's name, 'Frank', is added to low_reading_list.
0/4 Since the value 12 was given you can use exact values, percentages etc. for a clear example. *1b
Value of the constant is BOOKS, as we know there are 20 and this doesn’t change.
*1c
BOOKS would be an appropriate name for the constant.
I will accept this answer. 2/2 chosen constant and you adhered to formatting conventions. Screen shot of low & satisfactory below
This study source was downloaded by 100000831777157 from CourseHero.com on 07-12-2022 04:39:25 GMT -05:00
The benefits of buying summaries with Stuvia:
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
You can quickly pay through credit card for the summaries. There is no membership needed.
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 abram23. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £12.70. You're not tied to anything after your purchase.