Homework 2: Discrete Mathematics Fall 2017 (Section 1, 2)
Topic 1: Logic
Question 1
Which of the following statements are propositions:
1. 3+1=5
2. Dogs are mammals.
3. New York is the most beautiful
Homework 03: Discrete Mathematics Fall 2017 (Section 1, 2)
Proofs (direct, contrapositive, IFF, cases, contradiction)
September 28, 2017
Instructions
HW03 is on proofs and aims to get you practice wit
COMS 3203  Fall 2017 Sections 1,2
Midterm 1 (70 minutes)
October 10, 2017
Name and section:
UNI:
1. (10 points) Consider the following sentence:
If the water is deep and not polluted, then fish will
Homework 06: Discrete Mathematics Fall 2017
(Section 1, 2) More Proofs
Instructions
HW06 is on relations and aims to get you practice the concepts seen in class. Please note that HW06 has
two parts. T
Homework 04: Discrete Mathematics Fall 2017 (Section 1, 2)
Sets/Collections
October 4, 2017
Instructions
HW04 is on sets and aims to get you practice the concepts seen in class. Please note that HW04
Homework 05: Discrete Mathematics Fall 2017 (Section 1, 2)
Relations
November 5, 2017
Instructions
HW05 is on relations and aims to get you practice the concepts seen in class. Please note that HW05 h
Homework 07: Discrete Mathematics Fall 2017
(Section 1, 2) Counting
Instructions
HW07 is on counting and aims to get you practice the concepts seen in class.
HW07 is due on Friday 11/03 at 11:59pm.
En
Week Four
Tuesday, September 26, 2017
11:35 AM
int a[10] = cfw_100. 101, . 109;
int *p = &a[0];
*(p+i) = a[i]
int * q = p + 2;
*(q+3)
sizeof(a) = 40
sizeof(a+1) = 8
In almost all other contexts
Lectur
COMS 3203  Fall 2017 Sections 1,2 Practice questions (70 minutes)
October 7, 2017
Name and section:
UNI:
1. Sets. Let:
A = cfw_3, 6, cfw_, cfw_2, cfw_4, 5
B = cfw_1, 7, cfw_2, cfw_4, 5
C = cfw_0,
Discrete Mathematics
Topic 1  Logic
Ansaf SallebAouissi
Columbia University
COMS W3203 Discrete Mathematics
Outline
Note: The slides posted in the course are a high level summary of the book/course.
Discrete Mathematics
Topic 2  Proofs
Ansaf SallebAouissi
Columbia University
COMS W3203 Discrete Mathematics
Outline
Reading: Appendix D, Chapter 1. in Sheinerman.
1. Whats a proof?
2. Proving an im
COMS W3157 Advanced Programming, Lab #1
(100 points total)
Please read this assignment carefully and follow the instructions
EXACTLY.
Submission
Please refer to the lab retrieval and submission inst
COMS W3157 Advanced Programming, Lab #1 (100 points total)

Please read this assignment carefully and follow the instructions
EXACTLY.
Submission

Please refer to the lab retrieval and submission i
COMS 3203  Fall 2017 Sections 1,2 Practice questions (70 minutes)
October 7, 2017
Name and section:
UNI:
1. Sets. Let:
A = cfw_3, 6, cfw_, cfw_2, cfw_4, 5
B = cfw_1, 7, cfw_2, cfw_4, 5
C = cfw_0,
Prepared by Linan Qiu <[email protected]>
Inheritance and Interface
Recall the first principle. This is our first encounter. Inheritance and Interfaces have to sole purpose of
making your life easy
Prepared by Linan Qiu <[email protected]>
Stuff You Probably Know
Java Language
Lets start with the basics.
Java is a programming language. You (mainly) write source code in files with the extension
Introduction to Database HW 1a
Yipeng Zhou UNI: yz3169
Processing structured data orders.csv and customers.csv
I designed four functions to find and insert the two csv files.
For the two find f
Introduction to Database HW 1b
Yipeng Zhou UNI: yz3169
Redo the 1a examples in SQL Workbench:
1. Download the MySQL Server and MySQL Workbench from the ocial website of MySQL.
2. Install them an
30.
An ice cream vendor can sell 500 ice cream cones at a price of 2 per ice cream cone.
For each 0.01 increase in the price per ice cream cone, the vendor will sell 5 fewer
ice cream cones. For each
39.
An insurance company insures a large number of homes. The insured value, X, of a
randomly selected home is assumed to follow a distribution with density function
3 x 4
f ( x) =
0
for x > 1
otherw
32.
A company has two electric generators. The time until failure for each generator follows
an exponential distribution with mean 10. The company will begin using the second
generator immediately aft
36.
A town in the shape of a square with each side measuring 4 has an industrial plant at its
center. The industrial plant is polluting the air such that the concentration of pollutants
at each locati
29.
A large pool of adults earning their first drivers license includes 50% lowrisk drivers,
30% moderaterisk drivers, and 20% highrisk drivers. Because these drivers have no
prior driving record,
40.
A public health researcher examines the medical records of a group of 937 men who died
in 1999 and discovers that 210 of the men died from causes related to heart disease.
Moreover, 312 of the 937
Course 1
May 2001
Answer Key
Course 1
1
2
3
4
5
E
C
C
E
C
21
22
23
24
25
E
C
A
E
B
6
7
8
9
10
D
B
A
C
E
26
27
28
29
30
B
A
C
D
B
11
12
13
14
15
D
D
E
A
D
31
32
33
34
35
C
E
D
A
C
16
17
18
19
20
A
B
D
37.
A tour operator has a bus that can accommodate 20 tourists. The operator knows that
tourists may not show up, so he sells 21 tickets. The probability that an individual tourist
will not show up is
31.
An insurer offers a health plan to the employees of a large company. As part of this
plan, the individual employees may choose exactly two of the supplementary coverages
A, B, and C, or they may c