Functional Problem Solving (CSC 151 2014S) : EBoards

CSC151.02 2014S, Class 51: Project Assessment: Algorithms


Overview

Preliminaries

Admin

Upcoming Work

Extra Credit

Questions

Talk about the Moby Dick image.

Do you need to see tests for the turtle draw text thingy?

No. I can read code.

Do we need a helper for problem 6?

You should not need a helper for probem 6.

For problem 3, can we use a recursive helper?

Not if you want to receive credit for the problem.

You will need to use map or repeat or for-each.

What is the goal in problem 3?

See the whiteboard

Can I do extra work and prevent a swap in problem 3 from using the same location?

Sure. But it will be harder.

What's the difference between problem 2 and problem 3?

Problem 2 swaps one pair of elements with specified indices.

Problem 3 swaps n pairs of elements with random indices. It probably uses your solution to problem 2.

What should I do if I can't solve problem 2?

Write problem 3 pretending that you correctly solved problem 3. But you won't be able to test.

Should we document tree-balanced? in problem 6?

Yes. The rule is "document unless told otherwise".

Additional images

Debriefing from image analysis

Students discuss programming techniques

Programming challenges


Samuel A. Rebelsky, rebelsky@grinnell.edu

Copyright (c) 2007-2014 Janet Davis, Samuel A. Rebelsky, and Jerod Weinman. (Selected materials are copyright by John David Stone or Henry Walker and are used with permission.)

Creative Commons License

This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/3.0/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.