Dr. Chuck C. Liang
Associate Professor of Computer Science,
Hofstra University .
Office Address:
201A Adams Hall
Hofstra University
Hempstead, NY 11550
Office Phone: (516 463) 5559
Email: cscccl@hofstra.edu (<- click to send me mail)
Official Office Hours: Monday through Thursday 1:30-2:30pm
Course Syllabus
Documents on goals and objectives:
1,
2,
3
lab 1, lab 2, lab 3, lab 4, lab 5, lab 6, lab 7, lab 8, lab 9, lab 10
lab 7 files: SAMPLE SOLUTION!.
Encryption key: use this key.
DNA files for lab 6 dozer gene,
drooler gene,
sample 1,
sample 2,
sample 3,
sample 4
Support files for lab 5: hroutline.py,
racer.gif, additional
hints
Skeleton program for lab 2, part II: fig.py
lab 2 part II option: animation template.
Sample program to add minutes and seconds: timeadd.py
Some examples of loops and functions: sep22.py from 9/22 class.
Number guessing game where the human does the guessing (includes example of how to generate random numbers)
Code similar to class lecture on 9/24: loops2.py
Summary of some technical material you're required
to know up to this point
some examples of nested loops
Class exercise for 10/15 class
EXTRA PRACTICE ASSIGNMENT. Now with sample solutions
Monstertron Game and associated gifs:
professor, goblin,
treasure, explosion
Notes and examples of object-oriented programming
... continued ...
More oop examples: circles.py,
moreoop.py (metrocard, time)
Object Oriented bouncing circles
Inheritance
Sample graphical user interface program
another gui program. Updated with double-click detection
Python hash tables
Recursion examples.
Sorting algorithms (sorts.py). (includes quicksort).
Quiz Thursday 11/11
Read Python tutorial section on File IO
Instructions for installing Python on Windows: Download and install this file. If you've already installed Python, it's best to uninstall it first. You should be able to run both text and graphical programs with this installation.