0% found this document useful (0 votes)
67 views1 page

Algorithm and Flowchart Exercises

The document outlines a series of application exercises focused on algorithm and flowchart creation for various programming tasks. These tasks include number manipulation, grade assignment, natural number display, quadratic equation roots, largest number identification, factorial calculation, area calculation, and temperature state messaging. Each exercise requires the development of algorithms and flowcharts to demonstrate understanding of programming concepts.

Uploaded by

Barnabé Mbelen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views1 page

Algorithm and Flowchart Exercises

The document outlines a series of application exercises focused on algorithm and flowchart creation for various programming tasks. These tasks include number manipulation, grade assignment, natural number display, quadratic equation roots, largest number identification, factorial calculation, area calculation, and temperature state messaging. Each exercise requires the development of algorithms and flowcharts to demonstrate understanding of programming concepts.

Uploaded by

Barnabé Mbelen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

APPLICATION EXERCISES

1) Write an algorithm and flowchart which a given number N increased by 100 if N is


less than 100, otherwise N is decreased by the 100. Print this result.

Write an algorithm and flowchart that assign grade and declare the equivalent description :

Grade Description
E Excellent
V Very Good
G Good
A Average
F Fail
2)
3) Write an algorithm and flowchart which that display the first ten natural numbers using
4) Let’s consider the following flowchart
a) Identity the programming construct
available in the flowchart and explain
how each of them works.
b) Do the dry run of the flowchart
c) What does the flowchart do?
d) Write the corresponding pseudocode of
the flowchart

5) Write an algorithm for roots of a Quadratic Equation?


6) Write an algorithm to find the largest among three different numbers entered by user
7) Write an algorithm to find the factorial of a number entered by user.
8) Write an algorithm to calculate the area of a rectangle or circle or triangle by taking the user’s
choice.
9) Write a an algorithm 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

You might also like