CS 102 Lab 11: C++ arrays.


Explanation of lab assignments and grading

Lab assignments are always pair assignments, and are turned in via "turnin" command.  The grading criteria for lab assignments is:

0 point

Did not turn in or amount of work was insufficient

1 point

Made a reasonable attempt for most of the required exercises.

2 points

Clearly understood and correctly completed most of the required exercises.

3 points

Clearly understood and correctly completed all of the required exercises, and correctly answered all the required questions.

 

1. Quiz:

The quiz questions will be shown on the projector in class during the first 5 minutes of the lab. They will not be posted on the internet.
Create a text file and write your answers in the text file.
Write your name and UIN at the beginning of the text file and turn it in.

The turnin command for this quiz is turnin -c cs102 -p quiz8 textFileName .

2. Lab Assignment:

Click here to read today's lab assignment.

The turnin command for this assignment is turnin -c cs102 -p lab11 lab11.cpp

You *MUST* turn in the files by the end of the lab session.

3. Submit your file(s) for grading.

Turning in your Java program using the turnin command.

  1. Using “ls” command to see what directories and files under current directory.
  2. Make sure your working directory contains what you want to submitUse “cd DirectoryName” to change current working directory.
    For example, if you previously created a directory called cs102 and have been putting your files there, then before you can successfully execute the turnin command you must first change into the cs102 directory by using the command:
      
    cd cs102
  3. In your command window, type the following and press ENTER:
    turnin -c cs102 -p lab11 lab11.cpp
     
  4. To check that your program really was successfully turned in, type the following and press ENTER:
    turnin -c cs102 -p lab11 -v