Written assignment():
Answer the questions on the Assignment 1 handout. You may use more paper, if
you need it. Put the completed assignment in the envelope on the door of
1827 East Hall.
Programming assignment():
The purpose of this assignment is to help you remember the stuff you learned
earlier.
Write an applet that reads a file of data and allows the user to search for items in the data. The first line of the file is the title of the database. The second line will contain the names of the data fields separated by #. Subsequent lines contain data records, with data fields separated by a #. Your applet will read in the title and display it with animation. Then your applet will read in the data and put up a GUI that allows the user to search for information. All fields will be treated as Strings. You decide the topic of the database. ( Example of how to handle searching the data)
Hand in:
Programming assignment(Due. Tues. Sept. 29 in class):
The purpose of this assignment is to get you to think about writing code
for extensibility and flexibility.
Add a text field where the user can enter the URL of the data file they want to access. Get the URLs of several of your classmate's data files and run your applet with their files. (You may or may not need to make other changes to your applet.)
Hand in:
Sep 22 - Read Security in JDK 1.1 and Security in JDK 1.2
Sep 25 - Read Chapter 16.1 and 16.2
Sep 29 - For 10 points extra credit, write code for the insertAfter() method by the beginning of the next class. Add code to the LinkedListDemo class that shows that the insertAfter() method works.
Oct. 2
Oct. 9 - Find some information about Binary Search Trees from these Data Structures and Algorithms links or on your own. Write a BST class for your database applet and use it to store and retrieve the data instead of the vector class. Write a paragraph or 2 describing how appropriate this data structure is for the task. Think up another way to use BSTs that might work better or worse.
Oct 13 - Read Chapter 12
Oct. 16 - Read Chapter 16.3 and 16.4 Write a subclass of the LinkedList class that implements a stack. Use it in an applet or an application to test if a string is a palindrome.
Last Updated by S.L Bartlett : Thursday, April 16, 1998, at 00:20:12 EDT