[SOLVED] data structure algorithm Java Assignment 2 Learning Outcomes

$25

File Name: data_structure_algorithm_Java_Assignment_2_Learning_Outcomes.zip
File Size: 565.2 KB

5/5 - (1 vote)

Assignment 2 Learning Outcomes
On successful completion of this assignment, students are expected to:
understand and be able to apply a variety of data structures together with their internal representation and algorithms;
be able to select, with justification, appropriate data structures to ensure efficient implementation of an algorithm.
2
:
algorithms;
select, justification, ,algorithm
To Do
Design and implement a JAVA program called Library.
Data
Your system should store books information. A book in your library should contain:
ISBN: ISBN is the acronym for International Standard Book Number. It is a 10 or 13-digit number used to identify a specific book.
Title: each book has one title, but different books can have the same title.
Author: each book has one author, but different books can have the same author.
Category: each book belongs to one of these 6 categories: Arts, Business, Comics, IT,
Cooking, Sports.
How many copies in total of this book: no more than 20 copies per book.
How many copies available for lending.
Note: Different books with the same title cannot share the same author.

libraryJAVA
1
:
ISBN: ISBNInternational Standard Book Number.1013
Title: title, title
Author: author, author
Category: 6 categories: Arts, Business, Comics, IT, Cooking, Sports.
: 20

:
Functionality
Your system should provide at least 5 types of functions including: input, update, delete, display and search book information:
Add:
a) Add a new book by providing all the information required.
Delete:a) Delete a book by providing
The books ISBNOr by providing the title together with the author name.Note: When some copies of the book have been lent out, this book
cannot be deleted.
Search:a) Search a book by providing an input of any kind, you method should display
everything that matches the input. Information of results books should be displayed in a table format and displayed in a descending order based on the total copy number of the books.
Update:a) Find the book by ISBN and then update any information of the book (except ISBN).
Display:a) Display all books information in table format. Allowing user to choose group by:
Category: display books by category.
Or author: display books by author.
Note: All your methods should provide console display of the results.
2
5::
add:

delete:

ISBN
Orname.
:
search:

update:
ISBN(ISBN)
display:
:
category
author
:

3

Notes
Capitalization makes no difference. For example Add and add can be considered as the same.
The above scenario is just an example. It is not the standard format for your system.
Above scenario did not consider input validation, however in your system, you should
validate the inputs.
Your system must provide hints for user to understand what info to input during the interaction.
It is up to you to decide what algorithms and data structures to use to keep track of books info in the system, and where to find such info.
3.
1AddAdd
2
3

4
5

4.
1NetbeansZIP
2(UML)/()(4)

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] data structure algorithm Java Assignment 2 Learning Outcomes
$25