Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Algorithms

No description
by

R Mears

on 15 September 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Algorithms

Algorithms
What is a Problem
What is an Algorithm?
Definition of an Algorithm
An algorithm is a series of instructions (a procedure) that solves a problem by using a finite number of steps
Examples
Google page rank
How Google ranks the list of hits you get when you search
Searches
Searching for files in a computer
Binary search...
Sorting
Libraries - do you want to go through books, one at a time?
Bubble sort...
A solution to a problem
A recipe
A list of instructions
A flowchart
What about a Solution
Pseudocode & Variables
if weather == rain
get umbrella
else umbrella = left_at_home

if weather == sunny
get sunglasses
else sunglasses = left_at_home

end
?
?
Activity - Flowchart:
A web form prompts a user to enter their email address
The validation rules check if the address has an @ symbol in it
If it doesn’t, an error message is displayed, the text box is cleared and the system asks the user to enter the email address again
This continues until an appropriate address is entered.
The system then checks that the email address has been typed in lowercase, if not it converts it to lowercase
Once the email address is ok it is stored in the customer database
Full transcript