Lecture1 Computer Science
Lecture1 Computer Science
Dan Zingaro
January 2, 2017
Welcome!
I Welcome to CSC148
I Previous experience: CSC108 or equivalent experience
I Goals
I Designing programs using OO programming principles
I Thinking recursively and writing recursive functions
I Writing and using recursive, linked, and other data structures
I Reasoning about efficiency of code
I Reasoning about sorting algorithms
Evaluation
In brief:
I Never look at someone else’s assignment work (not even a
draft)
I Never show other students your assignment work (not even a
draft)
I Don’t post anything online (e.g. pastebin)
I Discuss how to solve an assignment only with your assignment
partner, the course TAs, and instructor
Academic Integrity...
Find the most important noun (good candidate for a class. . . ), its
most important attributes, and operations that this noun should
support.
Building Class Point (BAD!)
class Point:
"""Two dimensional point
"""
# and so on
Designing Another Class
class IndestructibleShip(Ship):
...