Assignment 1, due Aug 28Solutions
Part of
the homework for CS:2820, Fall 2015
|
function f( i ) if i < 3 return i else return f( i - 1 ) + f( i - 2 ) + f( i - 3 )
A Question: Give the values of f(0) through f(9). (1.0 point)
The answer: 0 1 2 3 6 11 20 37 68 125
Use your account to sign in to linux.cs.uiowa.edu using
either an SSH client or NoMachine (configuring NoMachine is a bit
harder, we'll get there later). To make an SSH connections from a Mac
or Linux system, open a terminal window (terminal is an
application, a system utility), then type the command
ssh linux.cs.uiowa.edu -l HawkID
with your HawkID substituted for HawkID in the command.
It is almost as easy from a PC, where you must
launch either the PuTTY or SecureCRT application
and then fill in a form
with the system name and HawkID. For details, see:
--
http://www.divms.uiowa.edu/clas_linux/help/start/remote.html
A question:
Use a shell window on the CS Linux machine. Type the following
command:
[HawkID@serv16 ~]$ ~dwjones/object
(Boldface in the above is the command you type, non-bold is the prompt
from the system.) Report the output you got.
If you did not make it all the way to the point where you could do the above, report how far you got. (1 point)
The answer cannot be given.
A question: What is the URL that you get by following the final link above. Don't include the quotes.
The answer: http://www.mindviewinc.com/TIJ4/CodeInstructions.html