Categories: Computer Studies WAEC

The last output that will be displayed by the program is?

10 LET K = 2

20 LET L = 9

30 LET SUM = 0

40 FOR J = K TO STEP 2

50 SUM = SUM + J2
60 PRINT “ANSWER =”, SUM

70 NEXT J

80 END

 

A. 20
B. 36
C. 64
D. 120

Correct Answer:

Option D – 120

Sunday

Share
Published by
Sunday

Recent Posts

TEE 301 Theory Question: The 1943 Elliot Commission. Composition. Methodology And Recommendations

300 Level History And Policy Of Education In Nigeria exam questions and detailed answers. Download the…

8 hours ago

TEE 301 Theory Questions: Traditional-Western Education

300 Level History And Policy Of Education In Nigeria exam questions and detailed answers. Download the…

8 hours ago

TEE 301 Theory Question: Ikoku-Taiwo Committees Rcommendations

300 Level History And Policy Of Education In Nigeria exam questions and detailed answers. Download the…

8 hours ago

TEE 301 Theory Question: Public Disenchantment Secondary Modern Schools

300 Level History And Policy Of Education In Nigeria exam questions and detailed answers. Download the…

9 hours ago

TEE 301 Theory Question: Nigerian Education Ordinances

300 Level History And Policy Of Education In Nigeria exam questions and detailed answers. Download the…

9 hours ago

TEE 301 Theory Question: Nigerian Education Ordinances

300 Level History And Policy Of Education In Nigeria exam questions and detailed answers. Download the…

10 hours ago