Algorithms

Spring 2017
course
navigation

Jan 24

Standard beginning : any questions about anything so far?
Today's main topic : review of the art of programming ...
Please do interrupt and/or put your thoughts in anywhere along the way.

class nuts'n'bolts

First : expectations : 'welcome to my classroom' - Rob Jenkins, chronicle of higher ed (Essentially I expect you to act like responsible adults.)
Our mechanism for turning in homework is through this website. I'll do a demo for folks who haven't worked with me before. Email or other methods are OK ... but more work for me.
Dylan (dylanm@marlboro.edu) is the CS tutor this term. Tutoring will be Monday evenings and by appointment.
You can also email me (mahoney@marlboro.edu) with questions or setup times to work individually as needed.
This term's homework policy :
Semester grade is
Projects will be graded on

coding Q & A

Python - a quick tour and/or review
Python gotchas :
Good practice (at least, according to Jim)
How do you go about coding something?

homework for Thursday

textbook readings

Any questions from the reading?
The text I think is pretty good but has some issues:
Be aware that they're using python 3. You can use python 2 or python 3 as you choose ... but do be clear which you're running.

coding assignment

What & why :
First, the Fraction class (an "object") is an example of an implementation of a "data structure", i.e. something with
Second, we're reviewing coding practice.
And third, it's a chance to draw a graph of something

graph example

There are many software tools to draw plots of points and curves : if you're already used to one (from some other course or your own past experience), then you're welcome to use that.
If you don't have one on hand, I suggest the Jupyter numerical python environment. Here's an example, which I will discuss:
This thing has lots of other bells and whistles and is used by lots of folks doing cool numerical stuff:
_Now_ we're having fun ...

practice

Discussion / in class coding practice:

depending on time

Start talking about material in the next chapter:
http://cs.marlboro.edu/ courses/ spring2017/algorithms/ notes/ Jan_24
last modified Monday January 23 2017 11:39 pm EST