CIS 5050: Homework assignments


Homework 0: Using the Virtual Machine Image

This very simple assignment will show you how to use the virtual machine image we have prepared for you. You will need the following:

VMware Workstation has been installed on Windows machines in Moore 100B, Moore 100C, Towne M62 and Towne M70. CETS is working on installing it on Linux machines in Moore 100A as soon. Additionally, you can remotely access the VMware Workstation on the labs’ Windows machines via the Virtual PC Lab.

If you would like to code outside the VM, our SSH guide may be useful.

Please keep in mind that any code you save in the virtual machine is lost if you delete the VM image itself, unless you check it into your git repository (which we provide; please see the handout for details). The VM will be the official environment for grading all the assignments.

Homework 1: Processes and Threads

This assignment – a simple parallel sorting program – will give you some hands-on experience with concurrency and its impact on application performance, as well as with several basic UNIX primitives. You will need the HW1 handout, as well as some framework code to get to started, as described in the handout. You should continue using the virtual machine image you installed for Homework 0.

Homework 2: Email servers

For this assignment, you will build a pair of simple email servers (SMTP and POP3) that can be used with a real email client. The assignment involves socket programming, server design, as well as working with RFC-style protocol specifications. You will need the following:

You should continue using the virtual machine image you installed for Homework 0.

Homework 3: Chat server

For this assignment, you will build a replicated chat server that uses multicast to distribute the chat messages. The server should support three different ordering modes: unordered, FIFO, and total multicast. You will need the HW3 handout, as well as some testing tools, which have already been checked into your Git repository. You should continue using the virtual machine image you installed for Homework 0.

Final project: PennCloud

For the final project, you will build a small cloud platform in groups of four. The cloud platform should support a webmail service and a storage service, and it should be based on a distributed key-value store. You will need the project handout, and you should maintain your code in a shared GitHub repository that we will create for each team.

More details will be available soon. Stay tuned!

Return to the main page

Web site contact: Linh Thi Xuan Phan