Project2024
Project2024
Writhe the pseudocode and draw the flowchart to input marks of five subjects Physics, Biology,
Chemistry, Mathematics and Computer, calculate percentage and grade according to given
conditions:
▪ If percentage >= 90% : Grade A
▪ If percentage >= 80% : Grade B
▪ If percentage >= 70% : Grade C
▪ If percentage >= 60% : Grade D
▪ If percentage < 60% : Grade F
❖ Exercise 2
Write the pseudocode and draw the flowchart to find the absolute value of an integer.
❖ Exercise 3
Write the pseudocode and draw the flowchart to input an integer number n and determines if a
number is between 0 and 10.
❖ Exercise 4
Write the pseudocode and draw the flowchart that prompts the user to input a number. The
program should then output the number and a message saying whether the number is positive,
negative, or zero.
❖ Exercise 5
Write a pseudocode and draw flowchart to find the eligibility of admission for a professional
course based on the following criteria:
Marks in Maths >=6
Marks in Phy >=55
Marks in Chem>=50
Total in all three subject >=180
or
Total in Math and physic >=140
❖ Exercise 6
Write a pseudocode and draw a flowchart to read temperature in centigrade and display a
suitable message according to temperature state below :
Temp < 0 then Freezing weather
Temp 0-10 then Very Cold weather
Temp 10-20 then Cold weather
Temp 20-30 then Normal in Temp
Temp 30-40 then Its Hot
Temp >=40 then Its Very Hot
❖ Exercise 7
Write a Pseudocode and draw a flowchart to compute the power of a number. Ask the user to
enter two numbers: the first number is the base and the second number is the exponent.
❖ Exercise 8
Writhe the pseudocode and draw the flowchart to find the sum of the first n positive integers.
❖ Exercise 9
Writhe the pseudocode and draw the flowchart to print the integer numbers from 1 to 10 and
its square.
❖ Exercise 10
Writhe the pseudocode and draw the flowchart using for loop to read five numbers and finds
their sum and average.
❖ Exercise 11
Write a pseudocode and draw a flowchart to create the multiplication table (from 1 to 10) of a
number
Example Output:
Input a number: 6
6x1=6
6 x 2 = 12
6 x 3 = 18
6 x 4 = 24
6 x 5 = 30
6 x 6 = 36
6 x 7 = 42
6 x 8 = 48
6 x 9 = 54
6 x 10 = 60
❖ Exercise 12
Write a pseudocode and draw a flowchart to display the n terms of harmonic series and their
sum.
1 + 1/2 + 1/3 + 1/4 + 1/5 ... 1/n terms
Sample Output:
Input number of terms: 5
1/1 + 1/2 + 1/3 + 1/4 + 1/5
The sum of the series upto 5 terms: 2.28333
❖ Exercise 13
Write a pseudocode and draw a flowchart using double-loop that produces the following screen
output. (Notes: do not take input from the user, and do not use more than two loops)