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, lab 5, lab 6, lab 6b, lab 7
DNA files for lab 7: dozer gene,
The FORGETFUL gene in binary. Constructed with binary packing routines .
Support files for lab 6: hroutline.py,
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
Examples of loops and functions on strings with more practice problems
More examples of loops and functions, including nested loops
Color spheres, with arrays and nested loops
operations on sets
Additional practice problems and sample solutions
Binary conversion routines for two's complement integers. Now with routines for hexidecimals
binary representation of DNA sequences, binary file IO. Program from 10/27 class.
Python hash tables
Quiz on binary numbers Tuesday 10/25
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).