You are on page 1of 18

Practical Activity

Topic 9:
Fundamentals of input and output handling

1. To find the volume of a cube, cylinder or sphere


Coding + Output:
2. To find the area of a triangle, parallelogram,
rhombus and trapezoid
 Coding + Output:
3. To calculate the exponent of a given number
Coding +Output :
4. To convert Celsius to Fahrenheit temperature and
vice versa
 Coding + Output:
5. To Prepare an electricity bill
 Coding :
6. To Calculate GCD of given two numbers
 Coding + Output:

7. To find the interest in an amount


 Coding + Output :
8. To find the sum, product, and average of five given
numbers
 Coding + Output:
9. To find acceleration of a moving object with given
mass and the force applied:
 Coding + Output:
Topic 10 :
Control Structure

1.To find even numbers in integers ranging from n1 and


n2 (where n1 is greater than n2)
 Coding:
2.To determine prime numbers in integers ranging from
n1 to n2 (where n1 is greater than n2)
 Coding :
3.To count multiple of a given number lying between
two numbers
 Coding +Output:
4. To find the maximum number from input values.
 Coding + Output:
5. To find the minimum number from input values.
 Coding + Output:
6. To determine whether a given number is prime or not
 Coding + Output :
7. To display the larger one out of the three given
unequal numbers
 Coding + Output:
8. To assign grade to a subject based on the achieved
marks.
 Coding + Output :
Topic 11 :
Loop Structure

1.To generate the sequence of even or odd numbers


starting from a given number
Coding + Output:
2.To produce a multiplication table for a given number
 Coding + Output:

You might also like