turnin. There is very little work to do, but successfully executing it will assure you and us that the mechanics will not interfere with the more challenging homeworks to come. Please follow all steps carefully, and consult via Piazza to see if there are comments, clarifications, or corrections.
You are going to install a piece of software that contains a giant network with a million edges in it. With that software you will display a selected node along with its neighbors and all the edges between those nodes. You will answer a couple of simple questions about the sub network displayed. Then you will repeat the investigation for another selected node.
First, you must get yourself to a machine that runs Eclipse.
All the lab machines have it installed.
(If you prefer to use your personal computer, you will have to install it yourself without our help. Follow the download-and-install instructions at http://eclipse.org and it shouldn't be hard.)
Second, download the zip file at hw0.zip.
Now open Eclipse. If it asks you for a workspace, use whatever you like (the default is fine)
but remember where it is!
Under the File menu select Import. A panel pops up; click the triangle beside General to open its sublist and highlight Existing Projects into Workspace; click Next. Another panel pops up; click the radio button beside Select archive file; then hit the Browse button and navigate to the file you just downloaded (hw0.zip); press Open; make sure that mkse is checked; and hit Finish.
Edit the line in HelloFriends.java to change the favorite node number to 13.
Now go and repeat the previous paragraph to compile and run it again; count the neighbors. Answer questions 2abc in answers.txt. Save.
Finally, it's time to turn in your work.
(Skip this step if you are working on a lab machine.)
Move these two files to eniac.seas.upenn.edu :
[your eclipse workspace]
[your eclipse workspace]
If you need to find out what [your eclipse workspace] is, pull down the menu File-->Switch Workspace-->Other... and you will find the current workspace listed prominently (and you can easily copy it). Then be SURE to hit Cancel to get out of there!
If you need a refresher of how to copy files to remote machines, type
Now log in to
eniac.seas.upenn.edu and type
turnin -c mkse150 HelloFriends.java answers.txt
Of course, what is meant by "HelloFriends.java" is the whole path to that file relative to your current working directory. If you need it, here is some extra help with the turnin command.
If you mess something up, just type the command again. Only your last submission is saved.
All done. But you are welcome to browse around in those .java files under src/ ... you will be seeing more of them.