Dr. Chuck C. Liang
Professor of Computer Science, Hofstra University .
201A Adams Hall
Hempstead, NY 11550
Office Phone: (516 463) 5559
Email: firstname.lastname@example.org (<- click to send me mail)
Official Office Hours: Tuesday through Thursday 1-2pm
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 8b, lab 9, lab 10, lab 11
lab 10 skeleton: triangle.py
lab 8/8b part 2 char-permutatation: lettermap.key
lab 8b server program, so you can test it yourself
Lab 8 SAMPLE SOLUTION!. permutation key: use this key.
DNA files for lab 7: dozer gene, drooler gene, sample 1, sample 2, sample 3, sample 4
Support files for lab 6: hroutline.py, racer.gif, additional hints
Skeleton program for lab 2, part II (stick figure): fig.py
lab 2 part II option: animation template.
Lab 1 addendum (optional)
Submit all programming assignments on blackboard (csc15L) (please heed the warning about saving versus submitting)
Notes on Statements and Expressions
Notes on if-else and while loops
Sample program to add minutes and seconds: timeadd.py
Euclid's algorithm as an example of while loops.
Notes on Tuples and Arrays
Number guessing game where human does the guessing
Notes on Functions
More examples of loops and functions
Color spheres, with arrays and nested loops
More sample programs, including binary search. (from 10/15 class)
EXTRA PRACTICE ASSIGNMENT. Now with sample solutions
Monstertron Game (optional assignment) and associated gifs: professor, goblin, treasure, explosion, skull, head, zerg
. For more difficult challenge, use the bare bones skeleton instead.
some code for strings, including RSA encryption example
some code related to prime numbers and encryption
code that does binary-decimal integer conversions. (also includes an alternative way to scramble using a permutation).
Python hash tables
Notes on Pointers
Notes and examples of object-oriented programming
... continued ...
More oop examples: circles.py, moreoop.py (metrocard, time)
Object Oriented bouncing circles
class of students with random grades. (posted by request)
non-object oriented and object oriented comparison
Simple Recursion examples.
mergesort (also contains bubblesort and timing comparisons)
Sample Graphical User Interface
More gui examples: gui3.py, servergui.py
Final Exam Tuesday 12/17, 4-6pm in Adams 207A. Prof. Kamberova will proctor. Study guide available, with sample solutions to the practice problems.
Advising document available: meet with your department advisor and complete form before 11/3, before registration begins.