Example of flowcharting, Basic Computer Science

Example of flowcharting:

Example

Problem statement: To find out whether a given number is even or odd.

Algorithm:

Step 1 Start

Step 2 INPUT the number n 

Step 3 Find the remainder on dividing the given number by 2

           if (remainder = 0) then

     print "number is even"

           else

                print "number is odd"

Step 4 End

 

Representing this algorithm through flowchart helps in easier and better understanding of the algorithm :  

2332_Example of flowcharting.png

 

Posted Date: 10/23/2012 3:37:30 AM | Location : United States







Related Discussions:- Example of flowcharting, Assignment Help, Ask Question on Example of flowcharting, Get Answer, Expert's Help, Example of flowcharting Discussions

Write discussion on Example of flowcharting
Your posts are moderated
Related Questions
THE CENTRAL PROCESSING UNIT (CPU): The CPU is the heart of any computing system.  It executes the individual machine instructions, which make up a program. The CPU is formed fr

Printer output : Consider what is required here. Do you just require management information on the one hand or camera copy for reprographic purposes? Inkjet Very quiet. C

R e presentations/Languages Used: Many people are taught Artificial Intelligence with the opening line: "The three most essential things in Artificial Intelligence are repres

Given the scenario below, construct a conceptual model. The Seville, Spain soccer association is renovating their soccer arena. They are adding luxury boxes that will be offered to

Fahrenheit to celsius convertion

QUESTION a) What is Time Division Multiplexing (TDM), illustrate your answer with a diagram b) Describe four types of RTCP messages c) i) What is silence compression in I

COMPONENTS OF A DIGITAL COMPUTER: A digital computer is an electronic device that receives data, performs arithmetic and logical operations and produces results according to a

TELECOMMUNICATION PROTOCOLS: The two major components relating to a WAN are the Protocol and the Media. The media are the actual path ways that the protocol travels on. The ne

In many respect threads operate in the similar way as that of processes. A number of the similarity and differences are: Similarities • Similar to processes threads share CPU and o

Question 1 . What is an array? Explain Question 2 . What do you mean by optional arguments? Describe Question 3 . Describe in brief about interfaces Question 4