Dr. Chuck C. Liang
Professor of Computer Science, Hofstra University .
102 Adams Hall
Hempstead, NY 11550
Office Phone: (516 463) 5559
Email: email@example.com (<- click to send me mail)
Official Office Hours: MTu 1-2pm, Wed 6-7pm
lab 1, lab 2, lab 3, lab 4, lab 5, lab 6, lab 6b, lab 7, lab 8, lab 9, lab 10, lab 11
Lab 11 support files: lambda_shell.zip (for uploading to AWS Lambda, memorytest.json (client side JSON specs to use in Amazon developer's console).
warshall0.py, for use with lab 9.
DNA files for lab 7: dozer gene, drooler gene, sample 1, sample 2, sample 3, sample 4
Supporting file for lab 6: a few known primes (the first number is the number of primes that follow).
Support files for lab 5: hrskeleton.py, racer.gif
Optional Lab 5 Addendum
Submit all programming assignments on blackboard (csc15L)
Notes on Statements and Expressions, with Exercises
Notes on if-else and while loops.
Notes on Tuples, Strings and Arrays
Notes on Functions
Extra practice problems on Functions, arrays, loops and sample solutions
Python association arrays
Notes on pointers and 2D arrays
Notes and examples of object-oriented programming
... continued .... Another example of classes and objects
More advanced OOP example, including inheritance
Program that draws a diamond. (for lab 2)
Sample program to add minutes and seconds: timeadd.py
Number guessing game version 1 (humans guess)
Binary factorization, using loops, arrays and strings. NOW WITH MORE SAMPLE APPLICATIONS
From one circle to many. Use animation template: only need to look at mydraw function.
Football simulation from 10/8 class, enhanced with sorting procedure
More functions and loops, logic loops (from 10/10 class)
Functions concerning prime numbers from 10/17 class
String match functions for dna lab (preparation). from nov 5th class
Sample gui program illustrating event handling
Sample Alexa skill (hofstra facts)
Alexa version of number guessing game: BAD WAY TO CODE and BETTER WAY TO CODE, with json specs.
Examples of Recursion: simple but bad examples, generate all permutations, mergesort, and recursive array ops, with exercise
Final Exam Wednesday 12/19, 1:30-3:30pm in regular classroom. Use the Study Guide with practice problems and sample solutions. Review Session Wednesday 12/12 at regular classtime in regular classroom. Come with questions.
Expect Quizzes on Mondays.