ExamBank Scot · N5 Computing Science question bank · All N5 Computing Science questions
3 marks · Testing
State the extreme values required to test this part of the program. Extreme 1 Extreme 2 The code below shows part of the program. … FOR loop FROM 1 TO 100 DO RECEIVE diceScore FROM KEYBOARD SET total TO total + diceScore END FOR … State the standard algorithm shown above. Part of a program requires a user to input the total score achieved when they roll a pair of six-sided dice. For example, if the user rolled a 4 and a 1 they would input 5.
2 12 Running total (within loop)