V22.0201 (sec. 1) - Computer Systems Organization (Honors)

Assignment 4

Write, in Jasmin, a JVM class IntVec for vectors of ints.  The class definition must include a constructor (with no arguments) and the following methods:
addElement(int e)
adds element e to end of vector;  returns void
elementAt(int i)
returns i-th element of vector (an int)
setElementAt(int e, int i)
sets i-th element of vector to e;  returns void
returns number of elements in vector (an int)

Be sure to include comments in your program, and in particular include a line with your name.

This assignment is due on November 28th.  There is a penalty of 1/2 point (out of a total of 8 points) for each day late.

Email your Jasmin file to our e-tutor, Aldo Nunez, at ajn203@omicron.acf.nyu.edu.  Include your name and "Asgn 4" in the subject line.

The final Quiz is being postponed.  It will be given on November 30th.

The final exam will be on Tuesday, December 19th from 2:00 pm to 3:50 pm in 109 WWH.