Tag Archives: CIS122

Python learning – Sieve of Eratosthenes

Get all the information about ‘Sieve of Eratosthenes’ on wikipedia (http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes). This algorithm does tell us there should be some algorithms with better time complexcity or space complexcity. Fun! (pic took from Wikipedia) [daveti@aimlab python]$ cat sea.py #!/bin/env python # … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Python learning – Caesar Cipher

Get all the information about the old, famous and interesing Caesar Cipher (http://en.wikipedia.org/wiki/Caeser_cipher). In this post we will implement the Caeser Cipher Encoder (cce.py), Caeser Cipher Decoder (ccd.py) and Caeser Cipher Brute Force Decipher (ccbfd.py). Have FUN:) (BTW, I have … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Python learning – regular expression

Right now, I am a teaching assistent in University of Oregon (UO) for CIS-122 (Introduction to Programming and Algorithms Using Python). We would like our students to make full use of CScircles of CS department at University of Waterloo (http://cscircles.cemc.uwaterloo.ca/), … Continue reading

Posted in Programming | Tagged , , , | Leave a comment