This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CPSC 121 Lecture 33 April 1, 2009 Menu April 1, 2009 Topics: SIN Example Regular Expressions and DFAs (revisited) Reading: Today: Epp 12.1 Lab 8 prep Reminders: Assignment 4 due Friday, April 3 (by 17:00) Submit all remaining lab work by April 3 Teaching evaluation survey now available on-line deadline 23:00 April 12 Final exam Friday, April 17, 7:00pm, SRC A READ the WebCT Vista course announcements board Heres the URL, mentioned during Lecture 32, to information about John Demco, after whom the Demco Learning Centre (DLC) is named: http://www.uilo.ubc.ca/demco/ . Example: Social Insurance Number Canadas Social Insurance Number (SIN) was introduced in 1964 to serve as an account number for the newly created Canada Pension Plan and for other employment insurance programs. In 1967, Revenue Canada (now the Canada Revenue Agency) started using the SIN for tax reporting purposes. (See http://en.wikipedia.org/wiki/ Social_Insurance_Number ). Lets examine basic properties of the function used to assign social insurance numbers in Canada. Example 1: Canadas Social Insurance Number Consider the function used to assign social insurance numbers Question: What is the domain of this function? Answer: The set of all people (since 1967) required to report income for federal tax purposes Question: What is the co-domain of this function? Answer: The SIN is formatted as three groups of three digits (e.g., 123456789). Thus, the co-domain is the set of integers in the range 0 999,999,999 Question: Is the function 1to1?...
View Full Document
This note was uploaded on 01/09/2010 for the course CPSC 121 taught by Professor Belleville during the Spring '08 term at The University of British Columbia.
- Spring '08