CISC 181
Introduction to Computer Science
Fall 2004

Labs Assignments Help Links

TA: Emily Gibson

Office: 115B Pearson Hall
Hours: Mon  4:00 PM - 5:00 PM
              Tues 3:00 PM - 4:00 PM
E-mail: gibson@udel.edu

Quick Links

 

Announcements

  • Grading
    I will no longer be printing out submissions for you. If you don't physically give me your lab, it will not be graded. You may hand in paper copies either in lab or in my mailbox in Smith 214.

  • Shell Scripting and Makefile help

  • Why I lost points for style: An Illustrative Guide

  • File Stream Practices
    • When opening a file stream, be sure to do error checking.
    • Always remember to close your file streams once you are finished.

 

Labs
Wednesdays in Willard Hall 009B
10 9:05AM - 9:55AM
11 10:10AM - 11:00AM
12 11:15AM - 12:05PM

Lab attendance is mandatory. I will be taking attendance during each lab.

Lab Attendance Reminder
You may only skip lab if you have completed the lab assignment that was assigned that day (not due!). For example, if Lab05 is due, you may skip lab if you have submitted Lab06.

 

Assignments

  • Grading Rubrics

  • If you turn in your lab on WebCT after lab (i.e. you couldn't physically hand me the copies or you submitted it late), please turn in the print outs the following week in lab. Otherwise you will lose 5 points!

  • Put your name and section on everything you submit! Otherwise you will lose 5 points!

  • When turning in your lab on paper, be sure to:
    • Staple it in the upper left corner.

    • Include your name, UD E-mail, and Section # (these should be prominently displayed on the first sheet).

    • Do not include any blue sheets (except for the first page, that is acceptable).

  • When turning in your lab on WebCT, be sure to:
    • Include your name on all C++ files

    • Follow file naming conventions exactly (if the lab calls a file lab10b.cc, do not name your file mylab10.cpp)

    • Upload your script file (.txt)

    • Upload all C++ and associated data files

    • Do not upload a.out!

  • Lab Assignments are due by midnight the week after they are assigned. Late labs are penalized by a power of 2 for each day late:
    Days LatePenalty
    12 points
    24 points
    38 points
    416 points
    532 points
    664 points

    Labs are not accepted more than 6 days late.

  • Pencil/Paper Pre-Lab Homework may only be turned in the day of the lab, with no make-ups (except for official excused absences).

  • Please make your script files as neat as possible. You should never use the delete or backspace keys when creating a script file. If you make a mistake, please exit the script and try again.

    Examples
    Acceptable Script File:

    Bad Script File:

    In the good script file, it is clear that the student entered CC lab00.cc, despite the extra characters. However, in the bad example it is impossible to read what commands were entered.
    If you are unsure, it's best to create the script file again.

 

Help

  • How to NOT go about a programming assignment pdf html

  • Emacs quick reference

  • Drawing stars help

  • C++ help: cplusplus.com

  • Customizing Your Environment
    Save this .Xdefaults file in your home directory. To customize your Emacs foreground and background, change the colors on the appropriate line. To update your Xsession you can type xrdb .Xdefaults.

  • Development tip: use syntax highlighting
    Having trouble reading all your code in a single, boring color? Download a sample .emacs file and put it in your home directory. Open your favorite C++ program in emacs and look at the difference!

    You may choose from the following sample .emacs files:

  • Development tip: use &
    When programming, you will find it useful to have your program (.cc) file open in emacs and simultaneously be able to type at the UNIX prompt. To do this all from one strauss terminal window, type the following command:
    emacs file.cc &
    and hit enter. This will open emacs (or xemacs/vi if you prefer) in a separate window, and you will still be able to use your original strauss terminal window to compile and run your programs.

    Just be sure to save your changes before trying to recompile!

  • The power of the middle mouse click
    For a quick and easy way to copy and paste text in UNIX:
    1. Highlight the text you would like to copy in any application (browser, terminal window, etc.). You can highlight text by holding down the left mouse button while dragging the mouse.
    2. Point your mouse to the place where you would like the pasted text to appear.
    3. Press the middle mouse button
    Voila! Cutting and pasting is only a click away.

  • UNIX help

 

Links