Fifth Chapter Lesson-17 Loop Control Statement Related programs.

At the end of this lesson-

  • 1. You will be able to write a program for printing numbers from 1 to 10. Or
    • You will be able to write a program for printing the 1 2 3 4 5 6 7 8 9 10 series.
  • 2. You will be able to write a program for printing numbers from 1 to n. Or
    • You will be able to write a program for printing the 1 2 3 4 – – – – n series.
  • 3. You will be able to write a program for printing odd numbers from 1 to 10. Or
    • You will be able to write a program for printing the 1 3 5 7 9 series.
  • 4. You will be able to write a program for printing odd numbers from 1 to n. Or
    • You will be able to write a program for printing the 1 3 5 7- – – n series.
  • 5. You will be able to write a program for printing even numbers from 1 to 10. Or
    • You will be able to write a program for printing the 2 4 6 8 10 series.
  • 6. You will be able to write a program for printing even numbers from 1 to n. Or
    • You will be able to write a program for printing the 2 4 6 – – – n series.
  • 7. You will be able to write a program to calculate the sum of numbers from 1 to 100. Or
    • You will be able to write a program to calculate the sum of the 1+2+3+ – – +100 series.
  • 8. You will be able to write a program to calculate the sum of numbers from 1 to n. Or
    • You will be able to write a program to calculate the sum of the 1+2+3+ – – +n series.
  • 9. You will be able to write a program to calculate the sum of odd numbers from 1 to 100. Or
    • You will be able to write a program to calculate the sum of the 1+3+5+ – – +100 series.
  • 10. You will be able to write a program to calculate the sum of even numbers from 1 to 100. Or
    • You will be able to write a program to calculate the sum of the 2+4+6+ – – +100 series.

 

 

1. A program for printing numbers from 1 to 10. Or

A program for printing the 1 2 3 4 5 6 7 8 9 10 series.

 

 

2. A program for printing numbers from 1 to n. Or

A program for printing the 1 2 3 4 – – – – n series.

 

 

3. A program for printing odd numbers from 1 to 10. Or

A program for printing the 1 3 5 7 9 series.

 

 

4. A program for printing odd numbers from 1 to n. Or

A program for printing the 1 3 5 7- – – n series.

 

 

5. A program for printing even numbers from 1 to 10. Or

A program for printing the 2 4 6 8 10 series.

 

 

6. A program for printing even numbers from 1 to n. Or

A program for printing the 2 4 6 – – – n series.

 

 

7. A program to calculate the sum of numbers from 1 to 100. Or

A program to calculate the sum of the 1+2+3+ – – +100 series.

 

 

8. A program to calculate the sum of numbers from 1 to n. Or

A program to calculate the sum of the 1+2+3+ – – +n series.

 

 

9. A program to calculate the sum of odd numbers from 1 to 100. Or

A program to calculate the sum of the 1+3+5+ – – +100 series.

 

 

10. A program to calculate the sum of even numbers from 1 to 100. Or

A program to calculate the sum of the 2+4+6+ – – +100 series.

 

Practice

  • 1. Write a program for printing the 5 9 13 17 – – -n series.
  • 2. Write a program for printing the 1 4 9 16 25 – – -n series.
  • 3. Write a program for printing the 1 8 27 64 – – -n series.
  • 4. Write a program for printing the 1 4 27 256 – – -n series.
  • 5. Write a program to calculate the sum of odd numbers from 1 to n. Or
    • Write a program to calculate the sum of the 1+3+5+ – – +n series.
  • 6. Write a program to calculate the sum of even numbers from 1 to n. Or
    • Write a program to calculate the sum of the 2+4+6+ – – +n series.
  • 7. Write a program to calculate the sum of the 12+22+32+42+- – -+ n2 series.
  • 8. Write a program to calculate the sum of the 13+23+33+43+- – -+ n3 series.
  • 9. Write a program to calculate the sum of the 11+22+33+44+ – – -+nn series.
  • 10. Write a program to calculate factorial of a positive number.

 

Lesson Evaluation-

Knowledge Based Questions:

Comprehension Based Questions:

Creative Questions:

Multiple Choice Questions:

 


Written by,

Leave a Reply

Your email address will not be published. Required fields are marked *