TM111 - TMA02
Q1)A)
Green Flag is clicked to clear list
Space bar is clicked
User is asked to ‘enter pupils name’
User enters pupils name ‘Frank’
User is then asked to ‘Enter the number of books the pupil has read, out of 20’
User enters number of books as ‘12’
Pupils name is added to ‘low_reading_list’
B)i
If percentage is less than 70 then add to low_reading_list
ii)
minimum percentage of books to be read
C)
, D) i
ii)
I could have grouped together the commands that have same value in ‘if Percentage_read > or =’.
So if the value was 70 the commands would show as being under one main ‘if’ command.
Q2)a/b)
Q1)A)
Green Flag is clicked to clear list
Space bar is clicked
User is asked to ‘enter pupils name’
User enters pupils name ‘Frank’
User is then asked to ‘Enter the number of books the pupil has read, out of 20’
User enters number of books as ‘12’
Pupils name is added to ‘low_reading_list’
B)i
If percentage is less than 70 then add to low_reading_list
ii)
minimum percentage of books to be read
C)
, D) i
ii)
I could have grouped together the commands that have same value in ‘if Percentage_read > or =’.
So if the value was 70 the commands would show as being under one main ‘if’ command.
Q2)a/b)