Send the link below via email or IMCopy
Present to your audienceStart 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.
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.
Transcript of 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
Google page rank
How Google ranks the list of hits you get when you search
Searching for files in a computer
Libraries - do you want to go through books, one at a time?
A solution to a problem
A list of instructions
What about a Solution
Pseudocode & Variables
if weather == rain
else umbrella = left_at_home
if weather == sunny
else sunglasses = left_at_home
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