Example of flowcharting, Basic Computer Science

Assignment Help:

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

 


Related Discussions:- Example of flowcharting

File sharing architecture, File Sharing Architecture:   The developmen...

File Sharing Architecture:   The development of microprocessor, PC and LAN transformed dumb terminals into -smart? clients. This brought a complete change in the computing env

Explain how cpu responses to an interrupts, Problem 1. Explain the diff...

Problem 1. Explain the different categories of instructions. Explanation of 4 categories 2. Explain the steps to be followed for the addition of floating point numb

History , when was the first computer made

when was the first computer made

Characteristics of artificial intelligence, Characteristics of Artificial I...

Characteristics of Artificial Intelligence: Artificial Intelligence is not an easy science to describe, as it has fuzzy borders with simulation mathematics, computer science t

Subroutine , Subroutine :   A subroutine  is a type of subprogram, a pi...

Subroutine :   A subroutine  is a type of subprogram, a piece of code within a larger program that performs a specific task and is relatively independent of the remaining code.

Define and explain flow chart with an example, Question 1 Define and expla...

Question 1 Define and explain flow chart with an example Question 2 Write an algorithm to print all even numbers in descending order and draw the flowchart Question 3 Explain

Computers, Computers One of the most  important invention in the desig...

Computers One of the most  important invention in the design of digital  circuits  is that  of the general- purpose "stored program" computer or device. Computers are a partic

What is packet switching? explain, Question 1 What are the five subscriber...

Question 1 What are the five subscriber-related signaling functions performed by the operator? Question 2 Compare Microprogrammed control and Hard-wired control Que

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd