Schedule
Warning! This schedule, like much of the course, is under development and may change significantly.
Skip to schedule Week 1  Week 2  Week 3  Week 4  Week 5  Week 6  Week 7  Week 8  Week 9  Week 10  Week 11  Week 12  Week 13  Week 14
Week 1  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
1  M  1/22 
An introduction to algorithms
We begin the class by exploring the definition of computer science and by trying to write some basic algorithms. 




2  W  1/24 
Getting started with Linux and Scheme
We begin to consider the content and structure of the course. We also prepare ourselves to use our laboratory environment (that is, the Linux workstations and the DrRacket Programming Environment). 


3  F  1/26 
Basic types
We explore some of the basic types in Scheme and the operations available for those types. 


Week 2  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
4  M  1/29 
Introducing lists
We start to explore Scheme’s list data structure and some ways to use lists to work with collections of data. 


5  W  1/31 
Writing your own procedures
We consider new ways to write your own procedures and why you might do so. 


6  F  2/2 
Pair programming
We explore the whys and hows of working with others. We also catch up on any confusing issues from the first few days of class. 



Week 3  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
7  M  2/5 
Documenting programs and procedures
We consider documentation for your programs: Why to write documention, when to write documentation, how to write documentation. We also explore the 6P style of documentation that we use in this course. 



8  W  2/7 
Testing your procedures
We consider testing: When, why, and how you might test the proceduresand programs that you write. 


9  F  2/9 
Debugging
We explore techniques for undersatnding and correcting flaws in our programs 


Week 4  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
10  M  2/12 
Tables and compound data
We consider how to deal with compound data, such as the title, lattitude, longitude, time, and date of an event. 


11  W  2/14 
Reading lists and tables from files
We consider a variety of techniques for gathering lists and tables of data from files. 


12  F  2/16 
Boolean values, predicate procedures, and list filters
We consider a new type and its use in selecting elements from lists. 


Week 5  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
13  M  2/19 
Discussion of exam 1
We consider your work on exam 1. 




14  W  2/21 
Local bindings
We consider how and why to name values within procedures. 


15  F  2/23 
Conditionals
We consider one of the central components of algorithms. 


Week 6  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
16  M  2/26 
Displaying data
We explore techniques for displaying simple kinds of data, such as coordinate pairs or counts of categorical data. 


17  W  2/28 
Preconditions, revisited
We revisit preconditions. We then consider programming techniques for ensuring that preconditions are met. 


18  F  3/2 
Recursion basics
We begin our exploration of recursion, the most general form of repetition available in Scheme. You can use recursion to both build and iterate over different kinds of values. 



Week 7  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
19  M  3/5 
Recursion basics lab
We continue our exploration of recursion basics. 


20  W  3/7 
Recursion with helper procedures
We consider a different form of recursion, one based on the construction of recursive helper procedures that take additional parameters. Along the way, we consider the idea of tail recursion. We also explore how careless design of recursive procedures can inadvertently lead to slow execution. 


21  F  3/9 
Other forms of list recursion
We conclude our initial forays into list recursion by looking for some common patterns in the design of recursive procedures. 


Week 8  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
22  M  3/12 
Numeric recursion
We consider a slightly different kind of recursion, numeric recursion. In this technique, we once again have procedures call themselves. However, the parameter that we “simplify” at every step is a number, rather than a list. 


23  W  3/14 
Naming local procedures
We explore how and why one writes local recursive procedures. 


24  F  3/16 
Randomness and simulation
We consider Scheme’s random procedure and how one might use that procedure in writing simple simulations



Spring Break  
Week 9  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
25  M  4/2 
Pairs and pair structures
We consider pairs, the basic data type used to build lists and other structures in Scheme. We also consider why it is useful to understand about pairs. 


26  W  4/4 
Vectors
We consider vectors, an alternative to lists for storing collections of data. 


27  F  4/6 
Trees
We consider trees, structures built from pairs. Trees are somewhat like twodimensional lists. 


Week 10  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
28  M  4/9 
Higherorder procedures, revisited
We revisit the topic of higherorder procedures, one of the most important techniques in languages like Scheme. Higherorder procedures are procedures – like map , leftsection , or compose – that take other procedures as parameters, return other procedures as values, or both.



29  W  4/11 
Files in Scheme
We revisit files, considering the lowerlevel operations for working with files, a technique for structuring information that permits the information to persist across invocations of Scheme. Files also let our Scheme programs share information with other programs. 


30  F  4/13 
Analyzing procedures
We explore techniques for analyzing the number of calls made in evaluating procedures, particularly recursive procedures. We consider why such analysis is useful. 


Week 11  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
31  M  4/16 
Project introduction
We introduce the project. 




32  W  4/18 
Association lists
We consider association lists, a simple, but useful, technique for organizing tables of information. 


33  F  4/20 
Project work day 1
We provide time for groups to work on their projects. 




Week 12  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
34  M  4/23 
Binary search
We consider the general problem of searching. We explore binary search, one of the most efficient algorithms for searching. 


35  W  4/25 
An introduction to sorting
We explore the problem of sorting. When you sort a list, vector, or other collection, you put the elements in order. The order of the elements usually corresponds to the type of the elements. We might sort strings alphabetically, grades numerically, colors by brightness, and so on and so forth. 




36  F  4/27 
Project work day 2
We provide additional time for groups to work on their projects. 




Week 13  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
37  M  4/30 
Insertion Sort
We move from our general exploration of sorting to the implementation of a particular sorting algorithm, insertion sort. We also explore how the running time for that algorithm varies based on the number of values we are sorting. 


38  W  5/2 
Merge Sort
We continue our exploration of sorting by considering the applicability of the divideandconquer approach to the problem of sorting. We look at one particular divideandconquer algorithm, merge sort. We explore how the running time for that algorithm varies based on the number of values we are sorting. 


39  F  5/4 
Presentation prep
Groups work on preparing their presentations 




Week 14  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
40  M  5/7 
Project presentations
We explore some of your projects. 




41  W  5/9 
Wrap Up
We conclude the course. 




42  F  5/11 
Course evaluation and Review for final
We evaluate the class and prepare for the final. 




Finals Week  
#  Day  Date  Topic  Reading(s)  Lab  Work Due  
43  M  5/14 
Final Exam (Thursday afternoon)


