Algorithms and OOD (CSC 207 2014S) : EBoards

CSC207.01 2014S, Class 05: Classes and Objects


Overview

Preliminaries

Admin

A Few Notes on Writeup 3

Questions on HW2

Are you okay with the seemingly inefficient looping (or recursive) solution to isOdd?

Yes.

But smart programmers who think in C can probably find a more efficient solution.

Can we use a loop for oddSumTo?

Yes, but you shouldn't need one.

A brief introduction to objects

An exercise: Modeling Ushahidi

Context:

Design Issues:

Objects

Time

Incidents

Copyright (c) 2013-14 Samuel A. Rebelsky.

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/3.0/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.