Computer Science > EXAM > TM111 TMA02. EXAM 2022 A GRADE (All)

TM111 TMA02. EXAM 2022 A GRADE

Document Content and Description Below

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 fo... r 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 [Show More]

Last updated: 2 years ago

Preview 1 out of 7 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Also available in bundle (1)

TM111.TMA02.docx exam quistions and answers

TM111.TMA02.docx exam quistions and answers

By Beststudies 2 years ago

$40

7  

Reviews( 0 )

$9.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

120
1

Document information


Connected school, study & course


About the document


Uploaded On

Jul 14, 2022

Number of pages

7

Written in

Seller


seller-icon
Beststudies

Member since 2 years

11 Documents Sold

Reviews Received
0
0
2
0
3
Additional information

This document has been written for:

Uploaded

Jul 14, 2022

Downloads

 1

Views

 120

Document Keyword Tags

Recommended For You

Get more on EXAM »

$9.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·