wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Semi-Finals Exam (30 points)

Total questions: 12

Worksheet time: 36mins

Name
Class
Date
1.

The syntax for do. . .while loop.

(a)  

2.

The syntax for for loop.

(a)  

3.

The syntax for while loop.

(a)  

4.

What will be the output of this program?

(a)  

5.

Fill in the missing code.

(a)  

6.

What will be the output of this program ?

(a)  

7.

Fill in the missing code.

(a)  

8.

Fill in the missing code.

(a)  

9.

What will be the output of this program?

(a)  

10.

What will be the output of this program?

(a)  

11.

What will be the output of this program?

(a)  

12.

What will be the output of this program?

4 lines