Assignment 1Due Jan 27 on line
Part of
the homework for CS:2820, Spring 2021
|
What is this function?
a)
f(i, j) = i + j
b)
f(i, j) = i × j
– the correct answer
c)
f(i, j) = i j
d)
f(i, j) = i ÷ j
e)
f(i, j) = i – j
Several students asked why not answer a) a digraph. The reason is that the phrase "a relationship between items" does not suggest directionality. Had the wording been "a relationship from one item to another" or had it been "the relationship can be either one way, the other way, or absent," then indeed, digraph would have been the best answer.
~dwjones/2820log xxxxWhere dwjones is Professor Jones's Hawkid because the 2820log command is one installed in his home directory, and xxxx is the section number of your discussion section. The 2820 command will tell you if it was successful and it will automatically log the fact that you completed this assignment. Repeating the exercise after you are successful is harmless but also pointless.
Some students have had real difficulty with the command line in the past and needed significant help, so the discussion section Monday will be spent, in significant part, in walking you through this exercise.
82 students successfully completed problem 5 by the deadline, as indicated by the contents of the log files.