Categories: Computer Studies WAEC

How many times will the statement lines 50 and 60 be repeated?

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. 2
B. 3
C. 4
D. 5

Correct Answer:

Option C = 4

Sunday

Share
Published by
Sunday

Recent Posts

ETM 312 Theory Questions: Land Law and the Consequences of Unauthorized Land Transfers in Nigeria

300 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Co-Ownership Structures and Land Acquisition Methods in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Rights in Community Land and Fundamental Land Concepts in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Customary Land Control and the Origins of Nigeria’s Land Use Act

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Land Ownership Principles and Transaction Laws in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 226 Theory Questions: Trespass: Types and Defenses in Property Law

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago