Lab Information


[Homepage] | [Lab Info] | [TA's & Tutors] | [FAQ's] | [Supplements] [Programming Projects] | [Sample Program Solutions] | [Exams]

Note: For lab times goto [TA's & Tutors] page.

Evaluation:

Lab Schedule

The following is subject to change up to 7 calendar days prior to any particular lab exercise.
  1. (Sept. 28th)Basic unix commands (About half of the class didn't get the word to attend lab on the 23rd so we will try again. If you already completed the lab on the 23rd, use this time to explore a bit more of Unix or to begin work on programming assignment 1. (See the next item.)
  2. (on your own) Optional warm-up for programming assignment 1. For this lab your preparation is reading programming assignment 1. You will complete a program to print one sentence variation.
  3. (Sept. 30th) AFS
  4. (Oct. 5) The editor "emacs". What to do in lab.
  5. (Oct. 7) The editor "vi"
  6. (Oct. 12)Debuggging
  7. (Oct. 14) Work on programming project - For this lab you must have read programming assignment 2. Complete the pre-lab review questions to show you understand the programmming assignment. During lab (if you haven't already done it) you will need to complete at least the simple shift encoder (click here for more info). Submit the simple encoder program using WebCT.
  8. (Oct. 19) Program Testing
  9. (Oct. 21) Lab quiz 1
  10. (Oct. 26) An Integrated Development Environment. We will work with the Eclipse IDE. You can download it for your own machine from eclipse.org. There is no prep. I will bring hardcopies of the in lab directions to the lab.
  11. (Oct. 28) Work on programming project - For this lab you must have read programming assignment 3. Complete the pre-lab review questions to show you understand the programmming assignment. During lab (if you haven't already done it) you will need to complete at least the "warmup 1.1." program described in the dicussion group posting. Submit the warmup 1.1 program (ar any WORKING program) with MORE parts of the program completed than those from the warmup.
  12. (Nov. 2) Understanding a simple C program - For this lab you must read pages 1-20 of "On to C". (A pdf version of "On to C" can be found in the WebCT materials for this class, under "Course Content/Lab Materials".) There are also some review questions for you to answer in WebCT. During lab you will be required to translate a small program written in C into Java. The C program you will translate is guess.c and can be found in /afs/cats/courses/cmps012a-cm/lab12.
  13. (Nov. 4) Writing a simple C program - For this lab you should re-read pages 1-20 of "On to C". (A pdf version of "On to C" can be found in the WebCT materials for this class, under "Course Content/Lab Materials".) During lab you will be required to translate a small program written in Java into C.
  14. (Nov. 9) Lab quiz 2 - For this quiz you will be expected to write a very small C program. You will have to do this on your own (without your partner). You are welcome to refer to either "Java by Dissection" or "On to C". You are not allowed to use other notes.
  15. (Nov. 11) Holiday
  16. (Nov. 16) Arrays in C
  17. (Nov. 18) Lab quiz 3
  18. (Nov. 23) Work on programming assignment 5. Answer the prelab questions (they will be available by 5pm on November 22).
  19. (Nov. 25) Thanksgiving - find time on you own to work on the programming project
  20. (Nov. 30) A simple Graphical User Interface (GUI) using Java.
    1. Read the "Applet Exercise" starting on page 91 of JBD,
    2. look over the non-gui program InBetween.java
    3. and the starter GUI for InBetween in /afs/cats/courses/cmps012a-cm/lab18,
    4. then answer the pre-lab review questions/quiz.
    You can run a complete GUI solution by copying /afs/cats/courses/cmps012a-cm/lab18/inBetween.jar to your computer/directory and then typing "java -jar inBetween.jar". You CANNOT do this using ssh to connect to a cats machine. You need to run the program on your computer (either at home or in the lab). You should be able to in fact just "double click" the inBetween.jar file and have it run.

    You can find a specification for the InBetween program at: http://www.cse.ucsc.edu/classes/cmps012a/Spring04/hw/prog3.html.

  21. (Dec. 2) Lab quiz 4

[Homepage] | [Lab Info] | [TA's & Tutors] | [FAQ's] | [Supplements] [Programming Projects] | [Sample Program Solutions] | [Exams]

This page maintained by Charlie McDowell. Email regarding this site.