CS1027b Computer Science Fundamentals II
Assignments
All assignments are due at 11:55pm on the due date.
Submission instructions for assignments:
- You need to submit all your .java files.
- Do not submit your .class files.
- Do not submit a compressed (.zip, .tar, .gzip, ...) file.
- Do not put your classes in a package (no line starting
"package" ... at the top of your java files).
- You can submit an assignment more than once. If you submit an
assignment more than once, we assume that the latest submission is the
one you want us to mark.
- Assignment 4
Updated SortedListADT.java class.
Files that you will need: filesAsmt4.zip.
Output for each one of the sample maps provided:
map1, map2,
map3, map4,
map5, map6,
map7, map8.
This assignment is similar to assignment 2, except that now you need to compute a
shortest path and you must use an ordered list implemented with a circular array.
Note that among the files provided there is program to test your implementation
of the ordered list.
- Assignment 3
Files that you will need: filesAsmt3.zip.
Program to test your implementation: TestAsmt3.java; input file for the testing program: testboard.txt.
- Assignment 2
Files that you will need: filesAsmt2.zip.
Output for each one of the sample maps provided:
map1, map2,
map3, map4,
map5, map6,
map7, map8.
Program to test your implementation of class ArrayStack: TestStack.java.
- Assignment 1
Program to test your implementation: TestAsmt1.java; input file for the testing program: testboard.txt.
Files that you will need: filesAsmt1.zip.
To decompress the file in Windows, right click on the .zip file and select
"Extract files"; on a Mac just double click the .zip file.
The following Java class MyFileReader.java
simplifies the task of reading information from a text file. Please
carefully read this class to learn how to use it. We also provided
a program TestMyFileReader.java
which uses this class to read a text file. Study this program also to learn
how to use the methods from MyClassRreader. A test file
test_input is provided so you can run
TestMyFileReader.