SlideShare a Scribd company logo
WELCOME TO ENGLISH CLASS
WELCOME TO ENGLISH CLASS
ALGORITHMS
DATE
Objective:
Students will demonstrate their understanding of the topic
Algorithms with a graphic organizer.
DATE
AGENDA
WARM UP:
Find Max
CLASS ACTIVITY:
Let´s practice the class vocabulary
Complete the sentences with the correct option
Reading stragety (video) : Previewing and predicting
Read the Text “What makes a good algorithm?”
Wrap- Up
Complete this multiple-choice exercise to check their
understanding of the text.
WARM-UP
“Find Max”
Choose the largest number from the list.
Example:
Set 1
five thousand
seven hundred and twenty-seven
three million
eighty-eight point seven
twelve thousand four hundred and
seventeen
The correct answer in Set 1 is “three million”.
VOCABULARY
- Steps
- Perform
- Recipe
- Unambiguous
- Set of inputs
- Set of outputs
- Useful
- Return
• Today, a cellphone can perform/return many functions of
a computer.
• English is a very unambiguous/useful language because
there is a lot of information in English.
• A set of inputs/outputs is the result of an algorithm.
• I don´t know how to cook ajiaco, so I need to look for a
recipe/output.
• This program returns/performs an error message. I need
to find the error and correct it.
Select the correct option to complete the sentences
with the new words.
Video Reading Strategy
https://www.youtube.com/watch?v=5g3dY0SfmtI
Algorithm VS Recipe
• An algorithm specifies a series of steps that perform a
particular computation. Algorithms are similar to recipes.
Recipes tell you how to cook food by completing a
number of steps. For example, to make a cake the steps
are:
• 1. preheat the oven;
• 2. mix flour, sugar, and eggs;
• 3. pour into a baking pan;
• 4. etc.
• But “algorithm” is a technical term and it is more specific
than “recipe”.
• If you call something “an algorithm”, it means that these characteristics are all true:
• 1. An algorithm is an unambiguous description that makes clear what to implement. In a computational
algorithm, a step such as “Select a large number” is not clear: what is “large”? 1 million, 1 billion, or 100?
• 2. An algorithm expects a defined set of inputs.
• 3. An algorithm produces a defined set of outputs.
• 4. An algorithm is guaranteed to terminate and produce a result. If an algorithm could potentially be
eternal and run forever, it wouldn’t be very useful because you might never get a result.
• 5. The majority of algorithms are guaranteed to produce the correct result.
Characteristics of an algorithm
Problem: From a list of positive numbers, return the largest number on the list.
Inputs: A list L of positive numbers. This list must contain at least one number.
Outputs: A number n, which will be the largest number of the list.
Algorithm:
❑ Set max to 0.
❑ For each number x in the list L, compare it to max. If x is larger, set max to x.
❑ max is now set to the largest number in the list.
An Example Algorithm find_max()
Does this meet the criteria for being an algorithm?
• 1. Is it unambiguous? Yes. Each step of the algorithm consists of
primitive operations, and translating each step into Python code is very easy.
• 2. Does it have defined inputs and outputs? Yes.
• 3. Is it guaranteed to terminate? Yes. The list L is not infinite, so after
looking at every element of the list the algorithm will stop.
• 4. Does it produce the correct result? Yes.
Adapted from: https://fiftyexamples.readthedocs.io/en/latest/algorithms.html
An implementation in Python:
Complete this multiple-choice exercise:
1. The objective of an algorithm is to:
a. Perform a computation
b. Perform a recipe
2. … is more specific.
a. Recipe
b. Algorithm
3. The instruction “Select a large number” is:
a. Ambiguous
b. Unambiguous
4. An eternal algorithm is:
a. Useful
b. Useless
5. The objective of “find_max” is:
a. To find many numbers
b. To find the largest number
WRAP-UP
SELF-EVALUATION
1. Entiendo cómo utilizar la estrategia de previsualizar y
predecir con un texto.
Yes No Maybe
2. La estrategia de previsualizar y predecir me ayuda a tener
una idea general de qué se va a tratar el texto.
Yes No Maybe
3. La estrategia de previsualizar y predecir me ayuda a
concentrarme más mientras leo.
Yes No Maybe
4. Cuando previsualicé y predije el texto de esta clase, pude
adivinar unos detalles correctamente.
Yes No Maybe

More Related Content

PDF
Basics of Algorithm Unit 1 part 1 algorithm
PPTX
Chp-1 DAA (2).pptx design analysis and algoritham presentation
PPTX
Data structures Lecture no. 4
PPTX
Programming in C - Problem Solving using C
PPTX
Demo.pptx of progaramig fundamentals and in deatils
PDF
Week 1
PPTX
Python
PDF
UNIT-1-PdjfjfjfjfjfjfjfjfjfjfjPTS-DAA.pdf
Basics of Algorithm Unit 1 part 1 algorithm
Chp-1 DAA (2).pptx design analysis and algoritham presentation
Data structures Lecture no. 4
Programming in C - Problem Solving using C
Demo.pptx of progaramig fundamentals and in deatils
Week 1
Python
UNIT-1-PdjfjfjfjfjfjfjfjfjfjfjPTS-DAA.pdf

Similar to algorithm lllllllllllllllllllllllllllllllllllllll (20)

PDF
UNIT-1-PPTS-DAA_cofjfjvjcjcncnfncmpressed.pdf
PPTX
Unit 1 Introduction Part 3.pptx
PDF
Unit 1-problem solving with algorithm
PDF
PROGRAMMING IN C UNIT I.pdffffffffffffffffffffffffd
PPTX
Java-Programming.forBSITSTUDENTfreespptx
PPTX
Algorithm and C code related to data structure
PPTX
Unit 2 algorithm
PPTX
ALGORITHMS BASIC PRESENTATION FOR EVERYONE TO UNDERSTAND
PPTX
Modile-1-PPT-1-BCAC0207-AlgorithmDesign.pptx
PPTX
Introduction to analysis of algorithms (ds)
PPTX
Algorithm in data structure bca .pptx
PPTX
Algorithm Efficiency as part of Code.org's AP CSP curriculum.pptx
PPT
Problem Solving Techniques notes for Unit 1
PPTX
Chapter 09 design and analysis of algorithms
PPTX
Mastering Python lesson3b_for_loops
PPTX
DA lecture 3.pptx
PDF
9th Comp Ch 1 LQ.pdf
PPTX
Design and Analysis of Algorithms.pptx
PPT
UNIT-1-PPT-DESIGN AND ANALYSIS OF ALGORITHMS
PPT
UNIT-2-PPTS-DAA.ppt
UNIT-1-PPTS-DAA_cofjfjvjcjcncnfncmpressed.pdf
Unit 1 Introduction Part 3.pptx
Unit 1-problem solving with algorithm
PROGRAMMING IN C UNIT I.pdffffffffffffffffffffffffd
Java-Programming.forBSITSTUDENTfreespptx
Algorithm and C code related to data structure
Unit 2 algorithm
ALGORITHMS BASIC PRESENTATION FOR EVERYONE TO UNDERSTAND
Modile-1-PPT-1-BCAC0207-AlgorithmDesign.pptx
Introduction to analysis of algorithms (ds)
Algorithm in data structure bca .pptx
Algorithm Efficiency as part of Code.org's AP CSP curriculum.pptx
Problem Solving Techniques notes for Unit 1
Chapter 09 design and analysis of algorithms
Mastering Python lesson3b_for_loops
DA lecture 3.pptx
9th Comp Ch 1 LQ.pdf
Design and Analysis of Algorithms.pptx
UNIT-1-PPT-DESIGN AND ANALYSIS OF ALGORITHMS
UNIT-2-PPTS-DAA.ppt
Ad

Recently uploaded (20)

DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
Trump Administration's workforce development strategy
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
IGGE1 Understanding the Self1234567891011
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Indian roads congress 037 - 2012 Flexible pavement
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
Computer Architecture Input Output Memory.pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
Empowerment Technology for Senior High School Guide
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
B.Sc. DS Unit 2 Software Engineering.pptx
AI-driven educational solutions for real-life interventions in the Philippine...
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Share_Module_2_Power_conflict_and_negotiation.pptx
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Trump Administration's workforce development strategy
FORM 1 BIOLOGY MIND MAPS and their schemes
IGGE1 Understanding the Self1234567891011
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Indian roads congress 037 - 2012 Flexible pavement
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Computer Architecture Input Output Memory.pptx
What if we spent less time fighting change, and more time building what’s rig...
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Empowerment Technology for Senior High School Guide
Introduction to pro and eukaryotes and differences.pptx
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
Ad

algorithm lllllllllllllllllllllllllllllllllllllll

  • 4. DATE Objective: Students will demonstrate their understanding of the topic Algorithms with a graphic organizer. DATE
  • 5. AGENDA WARM UP: Find Max CLASS ACTIVITY: Let´s practice the class vocabulary Complete the sentences with the correct option Reading stragety (video) : Previewing and predicting Read the Text “What makes a good algorithm?” Wrap- Up Complete this multiple-choice exercise to check their understanding of the text.
  • 6. WARM-UP “Find Max” Choose the largest number from the list. Example: Set 1 five thousand seven hundred and twenty-seven three million eighty-eight point seven twelve thousand four hundred and seventeen The correct answer in Set 1 is “three million”.
  • 7. VOCABULARY - Steps - Perform - Recipe - Unambiguous - Set of inputs - Set of outputs - Useful - Return
  • 8. • Today, a cellphone can perform/return many functions of a computer. • English is a very unambiguous/useful language because there is a lot of information in English. • A set of inputs/outputs is the result of an algorithm. • I don´t know how to cook ajiaco, so I need to look for a recipe/output. • This program returns/performs an error message. I need to find the error and correct it. Select the correct option to complete the sentences with the new words.
  • 10. Algorithm VS Recipe • An algorithm specifies a series of steps that perform a particular computation. Algorithms are similar to recipes. Recipes tell you how to cook food by completing a number of steps. For example, to make a cake the steps are: • 1. preheat the oven; • 2. mix flour, sugar, and eggs; • 3. pour into a baking pan; • 4. etc. • But “algorithm” is a technical term and it is more specific than “recipe”.
  • 11. • If you call something “an algorithm”, it means that these characteristics are all true: • 1. An algorithm is an unambiguous description that makes clear what to implement. In a computational algorithm, a step such as “Select a large number” is not clear: what is “large”? 1 million, 1 billion, or 100? • 2. An algorithm expects a defined set of inputs. • 3. An algorithm produces a defined set of outputs. • 4. An algorithm is guaranteed to terminate and produce a result. If an algorithm could potentially be eternal and run forever, it wouldn’t be very useful because you might never get a result. • 5. The majority of algorithms are guaranteed to produce the correct result. Characteristics of an algorithm
  • 12. Problem: From a list of positive numbers, return the largest number on the list. Inputs: A list L of positive numbers. This list must contain at least one number. Outputs: A number n, which will be the largest number of the list. Algorithm: ❑ Set max to 0. ❑ For each number x in the list L, compare it to max. If x is larger, set max to x. ❑ max is now set to the largest number in the list. An Example Algorithm find_max()
  • 13. Does this meet the criteria for being an algorithm? • 1. Is it unambiguous? Yes. Each step of the algorithm consists of primitive operations, and translating each step into Python code is very easy. • 2. Does it have defined inputs and outputs? Yes. • 3. Is it guaranteed to terminate? Yes. The list L is not infinite, so after looking at every element of the list the algorithm will stop. • 4. Does it produce the correct result? Yes. Adapted from: https://fiftyexamples.readthedocs.io/en/latest/algorithms.html An implementation in Python:
  • 14. Complete this multiple-choice exercise: 1. The objective of an algorithm is to: a. Perform a computation b. Perform a recipe 2. … is more specific. a. Recipe b. Algorithm 3. The instruction “Select a large number” is: a. Ambiguous b. Unambiguous 4. An eternal algorithm is: a. Useful b. Useless 5. The objective of “find_max” is: a. To find many numbers b. To find the largest number WRAP-UP
  • 15. SELF-EVALUATION 1. Entiendo cómo utilizar la estrategia de previsualizar y predecir con un texto. Yes No Maybe 2. La estrategia de previsualizar y predecir me ayuda a tener una idea general de qué se va a tratar el texto. Yes No Maybe 3. La estrategia de previsualizar y predecir me ayuda a concentrarme más mientras leo. Yes No Maybe 4. Cuando previsualicé y predije el texto de esta clase, pude adivinar unos detalles correctamente. Yes No Maybe