[ Prepared by Mustafa
Kirac ]
Problem 0.0 [30 points]
- (a) No
information for OS or CPU (-2), together (-5)
- You
don’t prompt with directions (-0)
- (c)
Using wrong input (-1), using loops instead of “print .. x ...” (-0)
- (c-f)
Giving no ouput (-2)
- (d)
Choosing array starting point as 0 instead of 1 (-1)
- (e)
You didn’t have “Total of @Fred” part (-1)
- (f)
Giving unsorted output (-1), hashing both files together (-0)
Please give your source code and
output adjacently in your other programming homeworks.
Problem 0.1 [10 points]
- (d) set
of even integers and integers divisible by 3 means {2,3,4,6} not
{6,12,18..} (-2)
- (e) {x|x=x+1}
does not increment a variable's value in set formation. It is logical
equality. (-2)
Problem 0.2 [10 points]
- Please
use correct empty set notation. Empty set is either {} or Æ.
e,
{e},
{Æ},
{empty} are not correct.
- Many
used {n|n=10m with m in Z+}. This omits 1 from the
set because Z+ = {1,2,3...} (-1 point)
- (e):
It is just the empty set. No need to form different type of empty sets (0
points)
Problem 0.3 [10 points]
- Please
use correct empty set notation. Empty set is either {} or Æ.
e,
{e},
{Æ},
{empty} are not correct.
- (d)
Please give ordered pairs like {(x, y), (x2, y2)..}. {xy}, xy are not
correct (-2)
Problem 0.4 [10 points]
- {1, 2,
3} is not a 3D point. They are 3 different points in the same dimension.
(-2) per wrong drawing
Problem 0.5 [10 points]
- The
result is exactly m.n, “maximum m.n” or “smaller than m.n” are wrong
answers. (-2).
- (b)
Missing/Wrong domain or range (-1)
- (d) m1.m2.
m3.mn.... is not equal to m! unless mi =
i.
Problem 0.6 [10 points]
Problem 0.7 [10 points]
- (a)
Forgetting arrowheads (-3)
- (b)
Most people didn’t have this part (-5)
Problem 0.8 [15 points]
- Please
show that you proved for n+1. Don’t leave the result for me to understand
that your formula is equal to the formula in hypothesis for n+1 (-1). If
you couldn’t prove at the end (-2)
- (a-b)
You are proving for positive integers. So basis is 1, not 0 (-1).
- (c) Please
give explanation how you think your calculations are related to the
question so that I must understand that you didn’t copy the answer from
somewhere else (0).
- (c) At the inductive step, some couldn’t
show how we could increment the value (-2).
Problem 0.9 [25 points]
- +2 points for showing A*
is reflexive.
- +3 points for showing A*
contains A. Most forgot this step.
- +10 points for showing A*
is transitive.
- +10 points for proving it
is smallest.