Important Question
Important Question
PART B
PART C
1. Write algorithm, pseudo code and flowchart to find Prime number or not.
2. Write algorithm, pseudo code and flowchart to check whether the number is
Armstrong or not.
3. Write a python program to calculate electricity bill based on the number of units
consumed
1 to 100 units (Rs.2.5/Unit)
101 to 200 units (Rs.3.5/Unit)
201 to 300 units (Rs.4.5/Unit)
Above 301 units (Rs.6/Unit)
Tax = 2% of Total Bill. Using conditional statements.
4. Write a program to explain the various operators involved in Python and how an
expression evaluated using precedence of operators.
5. Explain while loop, break statement and continue statement in Python with an
example.
6. Write an algorithm and Pseudo code for the following: (i). Calculating area and
circumference of a circle.
7. (ii). Check given year is leap year or not.
(i)
(ii)
i)
(ii)
(ii)
(i).
(i) (ii)
ii) .
b) i) (ii)