Chapter 8 Functions 1 Overview 2 Function Definition 3 The Return Statement 4 Arguments---Call By value 5 Function Invocation 6 Nested invocation and Recursion 7 Arrays as parameters 8 Storage classes of variables
Department of Electrical Engineering and Computer Science 6.001- Structure and Interpretation of Computer Programs Spring semester 2005 Project O Issued: Tuesday, February 1 o Be Completed By: Friday, February 4 6:
6.001 Structure and Interpretation of Computer Programs. Copyright o 2004 by Massachusetts Institute of Technology 6.001 Notes: Section 4.1 Slide 4.1.1 Today ' s topics In this lecture, we are going to take a careful look at the kinds
Quicksort Proposed by C. A.R. Hoare in 1962 Divide-and-conquer algorithm Sorts“ in place”( like insertion sort, but not like merge sort Very practical(with tuning)