Use advanced data structures and support sorting

Assignment Help Data Structure & Algorithms
Reference no: EM131103948

Project 2 -

Extend Project 1 to use advanced data structures and support sorting on various keys. The project will be graded according the criteria for the final project - see below.

Elaboration:

  1. Use the Map class to support efficient searching on book and author indices.
  2. Implement comparators to support sorting by title, genre, price and index
  3. Extend the GUI from Project 1 to allow the user to: sort by title, genre, price and index
  4. Again, the GUI elements should be distinct from the other classes in the program.

Project 3 -

Implement a GUI interface using advanced Java Swing classes.

The project will be graded according the criteria for the final project - see below.

Elaboration:

  1. Extend Project 2 to use the Swing class JTable and JTree effectively to display the contents of the Library. See Liang, Chapter 36.
  2. As before, the GUI elements should be distinct from the other classes in the program

Final Project -

Implement a program to query and update the text database for a library using a client/server model allowing multiple clients safe access to the database, and using a producer-consumer model to control the inventory of each item.

The project will be graded according the criteria for the final project - see below.

Elaboration:

  1. Multiple instances of a client class should be supported.
  2. Use threads and locks to provide safe access to the database.
  3. Add a field to each record in the database representing the maximum number of that book the library will hold. This number should be given a default value if the field is not present in the text file.
  4. Functions should include:
    • Returning a book to the library, blocking if the maximum number of that book is reached until a book is borrowed.
    • Borrowing a book, blocking if the desired book is not in the library until a book is returned.
    • Allow a client to cancel a request that has been blocked.

Reference no: EM131103948

Questions Cloud

Economic market models : Disney World has doubled their ticket prices at their amusement parks over the last 10 years, which of the economic market models we covered explains this behavior?  Be sure to take into account that competitor parks are nearby.  Be sure to detail..
Dynamic pricing model : Ride hailing services utilize a dynamic pricing model. Using supply and demand tools (you don't have to actually show the graphs... but they may help you on scratch paper) illustrate how microeconomics explains the shifts in pricing and how it de..
Compute the speed of the car : You are in charge of calibrating the radar guns for a local police department. One such device emits microwaves at a frequency of 2.03 GHz. Calculate the speed of the car.
Calculate the expected value per customer : Calculate the expected value per customer of the new A/C service. Round your answer to one decimal place.
Use advanced data structures and support sorting : Extend Project 1 to use advanced data structures and support sorting on various keys. The project will be graded according the criteria for the final project - see below.
What happens to profits if it accepts the contract : An HMO guarantees at least 10 patients per week. It proposes a fee of $55. Should the clinic accept the contract? What happens to profits if it accepts the contract?
Compute the future value of the annuity : What is the future value of this annuity, the minimum basis for a possible settlement with the relatives of the victim if a fair settlement were indeed on the table?
Determine the magnitude and coordinate direction angles : If F1 = 100 lb and F2 = 200 lb, determine the magnitude and coordinate direction angles of the resultant couple moment.
Legal and regulatory requirements : Choose an organization you are familiar with, and choose one of the legal and regulatory requirements that was mentioned in this unit. Briefly explain the requirement. Why is it of specific importance to the organization you chose? What are the ris..

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd