Functional Problem Solving (CSC 151 2015F) : EBoards

CSC151.01 2015F, Class 37: Pairs and Pair Structures


Overview

Preliminaries

Admin

Upcoming Work

Extra Credit Opportunities

Academic

Peer Support

Regular Peer Support

Upcoming Peer Support

Questions

How do you check if your prologue is submitted properly?

Ask Sam.

Generally, you should write your prologue in a separate document and then copy and paste.

Make a bad joke and see if I respond.

What are the hardest (most time consuming) problems?

3 and 6. 5 is either easy or impossible. Think about them all early so that you can reflect on them while dancing at Blackout.

Can I make random numbers that are negative?

Yes. Do the reading and lab. Then ask me.

Quiz

Lab

Writeup: Problem 3 * You won't be able to do it well unless you do problems 1 and 2.

A list of one value looks like this:

+---+---+
| * | / |
+-|-+---+
  v
 val

A list of two values looks like this:

+---+---+    +---+---+
| * | *----> | * | / |
+-|-+---+    +-|-+---+
  v            v
 val          val

A list of three values looks like this

+---+---+    +---+---+    +---+---+
| * | *----> | * | *----> | * | / |
+-|-+---+    +-|-+---+    +-|-+---+
  v            v            v
 val          val          val