SSCE past questions
Computer Studies / 2016 / 23
SSCE Objective

Use the BASIC program below to answer this question
10     LET K = 2
20     LET L = 9
30     LET SUM = 0
40     FOR J = K TO STEP 2
50     SUM = SUM + J^2
60     PRINT "ANSWER =", SUM
70     NEXT J
80     END


How many times will the statement lines 50 and 60 be repeated?
A
2
B
3
C
4
D
5
Answer:C
Practice more with TestDriller

To see detailed solution to this question and thousands of other questions offline, download TestDriller SSCE. Practice rigorously for WASSCE, learn from video and text materials, enjoy educational games, get chief examiners' reports, summary of WAEC literature books, compete with your peers, win prizes and more.

Get TestDriller