TM111 TMA02 EXAM QUESTIONS AN ANSWERS 2023
TM111 TMA02 EXAM QUESTIONS AN ANSWERS 2023. 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
Written for
Document information
- Uploaded on
- February 27, 2023
- Number of pages
- 8
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- tm111 tma02
- tm111
- tma02
- tm111 tma02 exam
-
tm111 tma02 exam questions an answers 2023
-
tm111 tma02 exam questions an answers
Also available in package deal