Outline for November 4, 2024

Reading: text sect;11
Due: Homework 3, due November 13, 2024


  1. Writing a recursive permutation program [perm.py]

  2. Character/integer conversions [chr.py, ord.py]
    1. C\ae{}sar cipher (shift cipher) [caesarenc.py, caesardec.py]

  3. Pattern matching
    1. Regular expressions
    2. Atoms: letters, digits
    3. Match any character except newline: .
    4. Match any of a set of characters: [0123456789], [^0123456789], [0-9]
    5. Repetition: * (repeat previous regular expression 0 or more times)

UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
ECS 235A, Computer and Information Security
Version of November 4, 2024 at 9:25AM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh