Writing the Algorithm – Tutorialspoint

0
(0)

Hi Viewer,

*Please scroll down for your Story, Meanwhile as a MCB user please be noted: We do not allow typical good-bad-foul comment culture in this platform, rather if you want, you may post a counter-constructive story to this story by copy/paste this post link in your next Publish screen. Moreover MCB is an open platform where anybody can moderate anybody's post.

You may add your Story ;

Visit & Add: SocialStory

Add your News,
Views,
Consciences,
Etc.
as mcbStory

How to Post on MCB ?
No SignUp,
Just LogIn with our open credentials:

Publish News, Views, Consciences, Etc. 

Pick any one to Publish:

#1 mcb

#2 MyCtgBangla

#3 mcbStory

#4 MyStory

#5 PEOPLEPRESS

#6 WerMCBzen

WerMCBzen

Power to Edit/Add/Improve any Post ! 

Visit  MCB Policy

🙂 Citizen Journalism :)

mcb post icon


MCB is an Open Online Platform with a unique, one & only Open Online Profile – ‘WerMCBzen(wermcbzen)’ where you Possess the Power to Edit/Add/Improve any post or anybody’s content, but you should keep in mind, that Power always comes with some sort of responsibilities. So please be responsible by yourself to your Power.  It is made with Love for Lovable & Sensible People Only.

Story starts  hereThis image has an empty alt attribute; its file name is mcb-mversion-logo.png

mcb post icon

Your Story here :

Writing the Algorithm – Tutorialspoint


Previous Page

Next Page  

A finite set of steps that must be followed to solve any problem is called an algorithm. Algorithm is generally developed before the actual coding is done. It is written using English like language so that it is easily understandable even by non-programmers.

Sometimes algorithms are written using pseudocodes, i.e. a language similar to the programming language to be used. Writing algorithm for solving a problem offers these advantages −

  • Promotes effective communication between team members

  • Enables analysis of problem at hand

  • Acts as blueprint for coding

  • Assists in debugging

  • Becomes part of software documentation for future reference during maintenance phase

These are the characteristics of a good and correct algorithm −

  • Has a set of inputs

  • Steps are uniquely defined

  • Has finite number of steps

  • Produces desired output

Let us first take an example of a real-life situation for creating algorithm. Here is the algorithm for going to the market to purchase a pen.

Example Algorithms

Step 4 in this algorithm is in itself a complete task and separate algorithm can be written for it. Let us now create an algorithm to check whether a number is positive or negative.

Example Algorithms


MCB Love to Mention : )

Content Courtesy →

Writing the Algorithm – Tutorialspoint

Have A Views ?

Pay A Visit :

MCB-RythmOfAlgorithm

10 views

*related video(s) to your this interest, tap the image to retrieve the video. some times you wont see any related video(s) for youtube API & Quota issue, or some times you see video(s) unrelatedly. please excuse the drawback while such stuff happens.

No Video(s) Found,

Follow us on Facebook.com/MyCtgBanglaMCB

How useful was this post?

Click on a star to rate it!


© MCB | the OnenOnly Open Publishing Platform
| ✐ Publish NOW



You may add your Story ;

Visit & Add: SocialStory

Add your News,
Views,
Consciences,
Etc.
as mcbStory

+

How to Post on MCB ?
No SignUp,
Just LogIn with our open credentials:

Publish News, Views, Consciences, Etc. 

Pick any one to Publish:

#1 mcb

#2 MyCtgBangla

#3 mcbStory

#4 MyStory

#5 PEOPLEPRESS

#6 WerMCBzen

WerMCBzen

Power to Edit/Add/Improve any Post ! 

Visit  MCB Policy

:) Citizen Journalism :)

mcb post icon

*please keep in mind your post/page is always editable by the open online profile: WerMCBzen.

MCB is an Open Online Platform with a unique, one & only Open Online Profile – ‘WerMCBzen(wermcbzen)’ where you Possess the Power to Edit/Add/Improve any post or anybody’s content, but you should keep in mind, that Power always comes with some sort of responsibilities. So please be responsible by yourself to your Power.  It is made with Love for Lovable & Sensible People Only.

Edit: You're Empowered for Excellence !