0% found this document useful (0 votes)
46 views7 pages

Algorithim: Click To Edit Master Subtitle Style

An algorithm is a step-by-step procedure or set of rules to be followed in calculations or problem-solving operations, especially by a computer. More precisely, an algorithm is an effective method expressed as a finite list of well-defined instructions that will terminate with an output. In computer systems, an algorithm is written in software by developers to produce output from given input on target machines. One simple example algorithm finds the largest number in an unsorted list by looking at each number once and tracking the largest seen so far.

Uploaded by

Madel Irabagon
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views7 pages

Algorithim: Click To Edit Master Subtitle Style

An algorithm is a step-by-step procedure or set of rules to be followed in calculations or problem-solving operations, especially by a computer. More precisely, an algorithm is an effective method expressed as a finite list of well-defined instructions that will terminate with an output. In computer systems, an algorithm is written in software by developers to produce output from given input on target machines. One simple example algorithm finds the largest number in an unsorted list by looking at each number once and tracking the largest seen so far.

Uploaded by

Madel Irabagon
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

ALGORITHIM

Click to edit Master subtitle style

3/17/13

ALGORITHIM

Inmathematicsandcomputer science, an algorithmis a step-bystep procedure for calculations. Algorithms are used forcalculation,data processing, and automated reasoning.

3/17/13

ALGORITHIM

More precisely, an algorithm is an effective methodexpressed as a finitelistof well-defined instructionfor calculating afunction. [Starting from an initial state and initial input (perhapsempty),the instructions describe acomputation that, whenexecuted, will proceed through a finite number of welldefined successive states, eventually producing "output"and terminating at a final ending state.

3/17/13

ALGORITHIM

Incomputer systems, an algorithm is basically an instance oflogicwritten insoftwareby software developers to be effective for the intended "target" computer(s), in order for the target machines to produceoutputfrom giveninput(perhaps null).

3/17/13

ALGORITHIM EXAMPLE

One of the simplest algorithms is to find the largest number in an (unsorted) list of numbers. The solution necessarily requires looking at every number in the list, but only once at each. From this follows a simple algorithm, which can be stated in a high-level description English prose, as: High-level description: Assume the first item is largest. Look at each of the remaining items in the list and if it is larger than the largest item so far, make a note of it. last noted item is the largest in the list when

The 3/17/13

ALGORITHIM EXAMPLE

(Quasi-)formal description:Written in prose but much closer to the highlevel language of a computer program, the following is the more formal coding of the algorithm in pseudocodeorpidgin code

3/17/13

ALGORITHIM

3/17/13

You might also like