Computer class 12th

Computer Science Class 12 Chapter 12 Loop Constructs Test Paper

Q.1: Give answer to any eight short questions of the following.

1. What is while loop? Give its syntax.

2. Write a program to print digit from 1 to 10.

3. What is do while loop. Give its syntax.

4. What is nested loop?

5. Define loop.

Q.2: Give answer to any two questions of the following.

 (a) Write a program that display first five numbers and their sum.

(b) Writ a program that input a number and display table of that number.

(c) Write a program that display first five numbers and their cubes.

(d) Writ a program that display sum of even numbers between 1 to 100.

Related Articles

Back to top button
error: Content is protected !!
Enable Notifications OK No thanks