G6 - May 15 - Worksheet
G6 - May 15 - Worksheet
G6 - May 15 - Worksheet
Revision Worksheet
1.Explain the difference between a while loop and a for loop in programming.
2.What is a program?
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
5.What is
------------------------------------------------------------------------------------------
b. Conditional Loop - ------------------------------------------------------------------
------------------------------------------------------------------------------------------
6.Write the first line of for loop that repeats 100 times.
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
c. if a>b - ________________________________________________________________________
d. WHILE(a>100) - ________________________________________________________________
8. What is
______________________________________________________________________________________
______________________________________________________________________________________
9.What
a.Compiler -_____________________________________________________________
______________________________________________________________________________________
b.Interpreter - _____________________________________________________________
______________________________________________________________________________________
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------