

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Application Programming for Information Systems; Subject: Information Studies; University: Syracuse University; Term: Fall 2000;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Assignment 4
Due December 8, 5:00pm in the iLMS ( Hard copy handed in Exam on December 9.) ( Accepted for late credit until December12.)
Write a program that reads and manipulates book information for a used book seller. The information must be manipulated as records and include the name of the book, author of the book, seller information (including company name, URL and approval rating), price, and book quality. A data file is provided for you.
A sample line:
Information Science Today, Daffy Duck, Disney Books, disney.com, .95, 20.00, Very Good
The user interface for the Used Book Seller will allow the user to query the book information for:
For each type of query in the user interface, be sure to give directions on how to do the searches. In your user interface, you can have a button that the user clicks first to read the book records from the file OR you may read the file from a Form_Load procedure. Note that you do NOT allow the user to type in the name of the file.
The program will keep the book information from the file in an array of book records. There will be one record for each book. This record must be hierarchical in that there should be a nested record for the book seller company name and information (name, URL and rating).
Each of the buttons will have a search through the array. The first button searches for author name and the second button has a wild card search for part of the book title. You should write a procedure that takes a book information record and assigns a (ByRef) string parameter to format the information in the book record. Each button can call this procedure to get the formatted string to add to its label output.
A suggestion for the second button is that when you search the books, copy each book record that matches the query to a second array of book records and sort that array, producing the display from the sorted books.
The program must have