Basic Programing III - SS3 ICT Past Questions and Answers - page 2
11
In a FOR-NEXT loop, what does the NEXT statement do?
View related lesson
A
Ends the program
B
Ends the loop and proceeds to the next iteration
C
Prints the current value of the loop variable
D
Declares a new variable
12
Explain the purpose and syntax of the FOR-NEXT loop in BASIC.
View related lesson
13
Describe the key differences between the FOR-NEXT and WHILE-END loops in BASIC
View related lesson
14
How would you use the DIM statement to declare an array in BASIC? Provide an example
View related lesson
15
Write a BASIC program that calculates the sum of all even numbers from 1 to 50 using a loop
View related lesson
Loading lesson…