CS504 Fundamentals of Research
Assignment #3

Due: Tuesday, February 6th.

1) Write Python code to create a 10x10 multiplication table - the kind a student would use for studying multiplication facts. Something roughly like:
   1 2 3 4 5 6 8 9 10
1 1 2 3 4 5 6 ...
2 2 4 6 8 ...
3 3 6 9 ...
...
Turn in both the code and sample output showing that program runs.

2) By using Python or the web figure out the answers to the following questions:

Turn in you don't need to turn in anything for this problem.

3) Write a Python function that accepts a two-dimensional array as an argument and prints the two dimensional array as a table with each row of the data on it's own line. Turn in both the code and sample output showing that program runs.

4) Write a Python function that accepts a two-dimensional array as an argument, calculates the average of each row, and appends the average on to the end of the row. Turn in both the code and sample output showing that program runs. Note that the function from the previous problem may be helpful in generating "pretty" output for this problem.

5) Read for Wednesday "Graph Structure in the Web", Andrei Brodera, Ravi Kumarb, Farzin Maghoula, Prabhakar Raghavanb, Sridhar Rajagopalanb, Raymie Statac, Andrew Tomkinsb and Janet Wienerc, Computer Networks Volume 33, Issues 1-6, June 2000. Turn in: a completed copy of this review form for the article.