Homework 1

Due 9/4 at 1:00pm before class (worth 25 points)


Getting Ready

Welcome to the Networking class! The purpose of this homework is to get you used to the Linux server environment and some small bits of networking code useful for future assignments.

One of the more challenging parts of teaching this class is knowing that you all have different backgrounds. Some of you have used Linux before, and others have not. Because of this, I've made three short tutorial videos to help everyone get up to speed. Before starting homework 1, please watch the following 3 videos and follow along yourselves. You may have to install some programs on your personal laptop.


The Code

1. Start by downloading the sample Python, Java, or C code below. (Pick the language you are most comfortable with. I will be mostly demonstrating code examples in this class using Python, but feel free to use another language if you would like.)

2. Modify the code by filling in your name and the two code lines to get the hostname and IP address variables. Here are some links to programming references to help you with this task:

3. Move the code to the student.cs.uni.edu Linux server (if it wasn't there already), and run the code on the Linux server. (Look at Video 3 or the Linux commands cheat sheet for how to do this.)


Getting Credit for Homework 1

Please log into eLearning, go to this class, and click on the Homework link on the left. Select the homework1 link to begin the assessment. (You don't have to finish it all in one sitting, but once you press the submit button, the assignment will be finished.) Answer the handful of questions and submit your code by the due date for 25 points.