Functional Problem Solving (CSC 151 2015S) : EBoards

CSC151.01 2015S, Class 24: Recursion Basics


Overview

Preliminaries

Admin

Upcoming Work

Extra Credit Opportunities

Academic

Peer Support (Morning Section)

Other Good Things

Questions

When will we get grades on homework assignments?

By Sunday evening.

Background

Approximately seven things that we expect to see in algorithms

What kinds of repetition have we seen?

How do we do other kinds of repetition? In Scheme, with recursion.

The idea of recursion

Some sample recursive procedures

To count the number of items in a list

Heaviest item in the list

All the red items

Lab