Practice- Program coding, Algorithm, and Flowchart
Q1- Write an algorithm and draw a flowchart to store Celsius and find the Fahrenheit. Perform the
program in Bluej java.
Q2- Write an algorithm and draw a flowchart to calculate and display the Volume of sphere =πr 2h.
Perform the program in Bluej java.
Q3- Write an algorithm and draw a flowchart to calculate and display Total surface area of
cuboid=2(lh +bh+lb). Perform the program in Bluej java.
Q4- Write an algorithm and draw a flowchart to calculate and display Volume of cuboid=lbh and
cube=a3. Perform the program in Bluej java.
Q5- Write an algorithm and draw a flowchart to calculate and display Perimeter of
Rectangle=2(l+w) and Circumference of a circle=2πr. Perform the program in Bluej java.
Q6- Write an algorithm and draw a flowchart to calculate and display Surface area of cone=πrl and
cone=6s2. Perform the program in Bluej java.
Q7- Write an algorithm and draw a flowchart to calculate and display product and sum of two
numbers. Perform the program in Bluej.
Q8- Write an algorithm and draw a flowchart to display the name of a compound, its atomic number,
and calculate the value multiplying the atomic number by 5 to display that value. Perform the
program in Bluej.
Q9- Write an algorithm and draw a flowchart to display the title of your favorite book and no.of
pages(assume). Calculate the value by dividing the no.of pages by 2 and display the value. Perform the
program in Bluej.
Q10- Write an algorithm and draw a flowchart to display the student name,age and calculate how
old he will be after 34 years. Display that value. Perform the program in Bluej.
Q11- Write an algorithm and draw a flowchart to display the grade,section and number of pupils.
Calculate what will be the value of the total present student when half of the class is absent and
display that value. Perform the program in Bluej.
Q12- Write an algorithm and draw a flowchart to display the car name,its average speed. Calculate
what will be the value of average speed when it's double and display that value.Perform the program
in Bluej.
Q1- Write an algorithm and draw a flowchart to store Celsius and find the Fahrenheit. Perform the
program in Bluej java.
Q2- Write an algorithm and draw a flowchart to calculate and display the Volume of sphere =πr 2h.
Perform the program in Bluej java.
Q3- Write an algorithm and draw a flowchart to calculate and display Total surface area of
cuboid=2(lh +bh+lb). Perform the program in Bluej java.
Q4- Write an algorithm and draw a flowchart to calculate and display Volume of cuboid=lbh and
cube=a3. Perform the program in Bluej java.
Q5- Write an algorithm and draw a flowchart to calculate and display Perimeter of
Rectangle=2(l+w) and Circumference of a circle=2πr. Perform the program in Bluej java.
Q6- Write an algorithm and draw a flowchart to calculate and display Surface area of cone=πrl and
cone=6s2. Perform the program in Bluej java.
Q7- Write an algorithm and draw a flowchart to calculate and display product and sum of two
numbers. Perform the program in Bluej.
Q8- Write an algorithm and draw a flowchart to display the name of a compound, its atomic number,
and calculate the value multiplying the atomic number by 5 to display that value. Perform the
program in Bluej.
Q9- Write an algorithm and draw a flowchart to display the title of your favorite book and no.of
pages(assume). Calculate the value by dividing the no.of pages by 2 and display the value. Perform the
program in Bluej.
Q10- Write an algorithm and draw a flowchart to display the student name,age and calculate how
old he will be after 34 years. Display that value. Perform the program in Bluej.
Q11- Write an algorithm and draw a flowchart to display the grade,section and number of pupils.
Calculate what will be the value of the total present student when half of the class is absent and
display that value. Perform the program in Bluej.
Q12- Write an algorithm and draw a flowchart to display the car name,its average speed. Calculate
what will be the value of average speed when it's double and display that value.Perform the program
in Bluej.