CPSC 121 – 2013W T1 1
CPSC 121: Models of Computation
Module 11: Sets, Functions and DFAs.
CPSC 121 – 2013W T1 2
Module 11: Sets, Functions and DFAs
Announcements:
Final exam: Wednesday Dec 18th at 8:30 in SRC. Review Session:
Monday Dec 16th from 14:00 to 16:00 in MCML 166.
There will be additional office hours with me and the TAs; we are still working on the schedule.
CPSC 121 – 2013W T1 3
Module 11: Sets, Functions and DFAs
Final exam details:
2.5 hours Covers everything discussed in the course
includes labs, although you don't need to memorize all of the solutions.
Slightly more emphasis on later topics. The following will be provided if necessary
Logical equivalences, rules of inference, powers of 2, regular expression syntax
You can bring one 8.5 x 11in 2-sided sheet of paper.
CPSC 121 – 2013W T1 4
Module 11: Sets, Functions and DFAs
By the start of class, you should be able to:
Define the set operations union, intersection, complement and difference, and the logical
- perations subset and set equality in terms of
predicate logic and set membership. Translate between sets represented explicitly (possibly using ellipses, e.g., { 4, 6, 8, … }) and using "set builder" notation (e.g., { x in Z+ | x2 > 10 and x is even }). Execute set operations on sets expressed explicitly, using set builder notation, or a combination of these.