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
Header contains routing and error control information Payload carries the actual user information, either voice, data or video

Which applications require TCP and why? Also specify which applications require UDP and why? A4) TCP is also known as connection-oriented: setup required between client and server

Different kinds of registers are general between most microprocessor designs. These are: Program Counter (PC) This register is utilized to hold the memory address of the next instr

design a synchronous, recycling, MOD-12 counter with D FF''s. Use the states 0000 through 1011 in the counter.

Working of a Computer Computer may be divided into the following units     Input Unit     Main Memory or Primary Storage Unit     Arithmetic-Logic Unit

Question 1 What is web browser? List and explain the most common used web server Question 2 Discuss the anatomy of XML document Question 3 Discuss the various attr

Question 1 Explain in detail the different modes of Transportation Question 2 State the meaning of Distribution Strategies. Discuss the different Distribution Strategies

Applications Software: General aspects on applications software. Applications software is the program that allow the user to get the required work done. In other words, applic

Evolution of ERP  The origin of using computers for business, traces the following line of story. Originally, they were designed to support the repetitive and time consuming fu

SWITCHING MECHANISMS: Switching mechanisms are techniques devised to send messages in many dinections at once and to ensure that these messages are received with a minimum of