11-recursion - ENG 1D04 Fall 2010 11 Recursion Dr. William...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ENG 1D04 Fall 2010 11 Recursion Dr. William M. Farmer and Dr. Spencer Smith Faculty of Engineering, McMaster University 22 November 2010 Outline 1. Administrative details. 2. Advice 3. Review 4. Recursion. 5. ENG 1D04. 6. Demo. 7. Work plan for weeks 10 and 11. W. M. Farmer and S. Smith ENG 1D04 Fall 2010: 11 Recursion 2/19 Administrative Details W. M. Farmer and S. Smith ENG 1D04 Fall 2010: 11 Recursion 3/19 Advice 1. Develop a study plan for the final exam! I See the work plan for the final exam session. I Schedule time during the exam period for the study plan. 2. Keep a portfolio! I A portfolio is a collection of your work that you can show to employers (as well as to your family and friends). I Put polished versions of your best work into your portfolio. W. M. Farmer and S. Smith ENG 1D04 Fall 2010: 11 Recursion 4/19 Review 1. Algorithms. 2. Euclids GCD algorithm. 3. Search Algorithms. 4. Sorting Algorithms. W. M. Farmer and S. Smith ENG 1D04 Fall 2010: 11 Recursion 5/19 What is Recursion? Recursion is a method of defining something (usually a function) in terms of itself. I One of the most fundamental ideas of computing. I An alternative to iteration (loops). I Can make some programs easier to describe, write, and prove correct. In Python and most other programming languages, functions can be defined by recursion....
View Full Document

This note was uploaded on 10/14/2011 for the course ENGINEER CHEM ENG 3 taught by Professor Ghosh during the Spring '11 term at McMaster University.

Page1 / 19

11-recursion - ENG 1D04 Fall 2010 11 Recursion Dr. William...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online