WAECComputer StudiesComputer Hardware2016

WAEC Computer Studies Practice Question

medium

Question:

Use the BASIC program below to answer questions 23 to 25 10 LET K = 2 20 LET L = 9 30 LET SUM = 0 40 FOR J = K TO STEP 2 50 SUM = SUM + J2^2 60 PRINT "ANSWER =", SUM 70 NEXT J 80 END How many times will the statement lines 50 and 60 be repeated?