Computer Systems -- CS 105


LABS Fall 2012

Introduction

All labs are done with pair programming. Much of the learning takes place in the labs. SO BE SURE TO DO YOUR FAIR SHARE OF WORK IN THE LABS. Slacking is unfair to your partner, and we can guarantee that if you let your partner do all the thinking, you will do poorly on the exams and in the course.

Unless otherwise specified, each lab has a writeup (available in PDF format) and a tar file. The tar file includes the writeup so it's sufficient to download that. Alternatively, you may wish to download the writeup first so you can look it over.

Labs are due as specified in the course calendar.

Some labs have their own submission system others use submit. Grades will be stored in the latest version of the CS 5 grading system, i.e., we are using that system as a recording mechanism that allows you to view your grades. (where you each have an account - 1stInitialLastname).

Many of the labs make heavy use of the debugger. A Debugger cheat sheet is available to help you with it. A downloadable and printable reference card is also available from the University of Texas.

I am tired of people missing the obvious in many labs. Here is a list of Commands that you should learn, know, and love.

Submission

Submission of the labs has changed. See Submission Instructions

LABS

Lab 1: 50 Points Data manipulation (assignment 1)
  • Submit via cs105submit bits.c as assignment #1

Lab 2: 45 Points Debugger (assignment 2)
  • Submit via cs105submit problem1.c as assignment #2, problem #1
  • Submit via cs105submit problem2.s as assignment #2, problem #2
  • Submit via cs105submit problem3.c as assignment #2, problem #3

Lab 3: 60 Points Bomb (assignment 3)
  • No file to submit

Lab 4: 100 Points Bufbomb (assignment 4)
  • No file to submit

Lab 5: 100 Points Performance Optimization (assignment 5)
  • Submit kernels.c via cs105submit as assignment #5, problem #1

Lab 6: 70 Points Ring Buffer (assignment 6)
  • Submit ringbuf.c via cs105submit as assignment #6, problem #1

Lab 7: 75 Points Sockets (assignment 7)
  • Submit echoserver.c via cs105submit as assignment #7, problem #1
  • Submit echoclient.c via cs105submit as assignment #7, problem #2
  • Submit dnsaccess.c via cs105submit as assignment #7, problem #3
  • Submit exchange.h via cs105submit as assignment #7, problem #4, note the tag on the text file exchange.

Extra Credit

  • There are extra credit labs. You can do the extra credit labs instead of the final. This is an either/or choice, i.e., do either the extra credit labs or take the final.
  • You are free to choose a new partner for the extra credit labs.
  • There will be a demo period at the end of the semester in which you need to demo your extra credit labs to me or to a grutor.
  • Be sure to look at: Shared Memory and Semaphore mgmt

    Extra Credit 2: 25 Points Wireshark
    • Submit TCPServer.c via cs105submit as assignment #8, problem #1
    • Submit TCPClient.c via cs105submit as assignment #8, problem #2
    • Submit UDPServer.c via cs105submit as assignment #8, problem #3
    • Submit UDPClient.c via cs105submit as assignment #8, problem #4

    Extra Credit 1: 50 Points Fork Buffer
    • Submit forkbuf.c via cs105submit as assignment #9, problem #1

    Extra Credit 3: 50 Points Sockets and Threads/Processes
    • Submit Techoserver.c via cs105submit as assignment #10, problem #1
    • Submit Pechoserver.c via cs105submit as assignment #10, problem #2
    • Submit TPechoclient.c via cs105submit as assignment #10, problem #3

    Extra Credit 4: 100 Points Shell Lab
    • Submit tsh.c via cs105submit as assignment #11, problem #1

    Extra Credit 5: 75 Points Malloc Lab
    • Submit mm.c via cs105submit as assignment #12, problem #1

    Extra Credit 6: 50 Points Dining Philosophers Lab
    • Submit diningphils.c via cs105submit as assignment #13, problem #1
    • Submit output.h via cs105submit as assignment #13, problem #2

    Everything above is up to date

  • Mike Erlinger

    Last Modified Thursday, 13-Dec-2012 12:28:58 PST