National Data on the relative frequency of given names in the population of
U.S. births where the individual has a Social Security Number
(Tabulated based on Social Security records as of March 6, 2016)
For each year of birth YYYY after 1879, we created a
A list is an ordered sequence of objects. The number of elements in a list is called its length.
A list of length 2 is also called an ordered pair. A list of length 0 is called the empty list.
Note that in a list an element might repe
10 Sets I: Introduction, Subsets
A set is a repetition-free, unordered collection of objects. An object that belongs to a set
is called an element of the set. The notation for membership in a set is . The notation
x A means that the object x i
To disprove if A then B, we just need to find an example where A is true but B is false.
(1) Disprove: If a, b, c are positive integers such that a | bc, then a | b or a | c.
(2) Disprove: if p is prime, then 2p 1 i
Definition (in mathematics) gives a precise meaning of a term.
Some typical definition forms:
An object X is called the term being defined provided it satisfies specific conditions.
We say X is the term being defined provided it
11 Quantifiers (Continued)
Negating Quantified Statements
(A and B) = (A) or (B)
(A or B) = (A) and (B)
(1) Disprove the following statement: x Z, y Z, such that x2 y 2 = x + y and
x3 y 3 = x y.
12 Set II: Ope
Net ID (the one in your email):
What is meant by the open source way?
How do open source licenses differ from proprietary licenses?
Open source software is important to everyone, even if you are not a programmer. Give
two examples that show how o
/DO NOT INCLUDE IN HOMEWORK!
/look how smart this is though.
public class ReadFile
private String info;
public ReadFile (String i)