Dr. Chuck C. Liang
Professor of Computer Science, Hofstra University .
102 Adams Hall
Hempstead, NY 11550
Office Phone: (516 463) 5559
Email: firstname.lastname@example.org (<- click to send me mail)
Official Office Hours: TuTh 4-5pm, Wed 3:30-4:30pm
lab 1, lab 2, lab 3, lab 4
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)
Notes on Statements and Expressions
Sample program to add minutes and seconds: timeadd.py
Sample program with nested if-else: jersey.py
Notes on if-else and while loops
Binary Factorization as another example of while loops.
Notes on Tuples and Arrays
Number guessing game where human does the guessing
Notes on Functions
Prime numbers program
More examples of loops and functions, including nested loops
Color spheres, with arrays and nested loops
Quiz Tuesday 9/27 on if-else, while loops and Linux shell commands
Tutoring Schedule for Fall 2016. The recommended tutors for this calss are Matt Gavin and Kendra Campbell McCalla.
Please note that the version of Python that we are using for this class is Python 2 (2.7 to be exact), and NOT Python 3. Python 2 is still standard on Linux, Macs and is used by most applications programmers. Program examples will not work with Python 3 without adjustments. Make sure you install and use Python 2 (default on Macs and Linux, use above links for Windows).