Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

What is the EXACT meaning of an algorythm


ghost's Avatar
0 0

ok so everywhere i go i hear about algorythim's but what exactly is an algorythm and what does it do, is it like an exploit, can someone point me in the direction to a really good explanation or tell me in as much detail as possible, it may also help the noobs like myself, i really dont understand what it means, please help :)

Zub a.k.a Scallie-lad :)


Uber0n's Avatar
Member
0 0

An algorithm is a mathematical function, which takes some form of input (a number, a text string etc), runs it through one or more functions and then returns the new value.

A good example of algorithms in the hacking world are all hash algorithms, like MD5, SHA-1 and DES.

You can read more on http://en.wikipedia.org/wiki/Algorithm


ghost's Avatar
0 0

lol, I was actually asked a similar question on a quiz I had to do in computer science class, and I was like, 'wtf'? I think I just said something like 'a rule that does something to turn it into something else'.


ghost's Avatar
0 0

You are a programmer, and you have a problem, you think, formulate then code.

Algorithms comes in the formulating step before writting the code, you express your solution of the problem as steps with an understandable, easy to read human language (English), think of it as a written flow chart.

Algorithms are not only used in programming though, but that's how I know it.

Also, try googling psuedocode.

Computer scientist use Pseudo-code to express algorithms:

  • English like constructs (or other natural language) but
  • modelled to look like statements in typical programming languages.
  • Not actually executed on computers
  • Allows us to think out a program before writing the code for it

Example: the problem-> Given the radius of circle, determine the area and circumference

Algorithm

get radius set area to (radius * radius * 3.14) print area set circumference to (2 * radius * 3.14) print circumference


ghost's Avatar
0 0

@egyption "Pseudo-code to express algorithms" doesnt mean they are the same thing mate. your getting confuesed.

wikipedia is good or even a quick google for it

@mido. yea but that doesnt mean algorithm means that wat you said was totaly pointless


ghost's Avatar
0 0

let's all give up on trying to explain it to him, and run to the hills!


ghost's Avatar
0 0

my mistake. so as to not confuse the asker, algorithms are the plain steps,the procedure itself, it can be expressed in different ways (human language, or psuedocode or flowcharts…).