Earn Higher Grades With Instant Assignment Help.Ask Question!

Python Programming
(5/5)

Create a library management application on the Command Line which will follow the following protocol.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Create a library management application on the Command Line which will follow the following protocol.

User is first presented the following options:

MAIN:

Welcome to the GCIT Library Management System. Which category of a user are you

  • Librarian
  • Administrator
  • Borrower

<take input>

Based on what the user selects, the following prompts will appear to fit his role:

LIBRARIAN

LIB1:

  • Enter Branch you manage
  • Quite to previous (should take you menu MAIN)

 

<take input>

For Option 1, Give a list of Library branches using the names or locations like this:

LIB2:

  • University Library, Boston
  • State Library, New York
  • Federal Library, Washington DC
  • County Library, McLean VA
  • Quit to previous (should take you menu LIB1)

<take input>

The user will only pick the number in the above list and you should figure out which branch he is referring.

Based on the selection, the next list would be:

LIB3:

  • Update the details of the Library
  • Add copies of Book to the Branch
  • Quit to previous (should take you menu LIB2)

<take input>

Option 1 should update library_branch table for the branch he had picked before. This should be like:

You have chosen to update the Branch with Branch Id: X and Branch Name: ABCD. Enter ‘quit’ at any prompt to cancel operation.

Please enter new branch name or enter N/A for no change:

<take input>

Please enter new branch address or enter N/A for no change:

<take input>

Then update the values for this branch and say successfully updated. Then go back to menu LIB3, to start over again.

Option 2 should give further options like this:

Pick the Book you want to add copies of, to your branch:

  • Lost Tribe by Sidney Sheldon
  • The Haunting by Stepehen King
  • Microtrends by Mark Penn
  • Quit to cancel operation

<take input>

Existing number of copies: N (if none show zero)

Enter new number of copies:

<take input>

Then you should update the book_copies table with the new values. Then take the user back to LIB3.

BORROWER

Enter the your Card Number:

<take input>

Don’t let borrower to proceed until he gives valid card number.

BORR1:

  • Check out a book
  • Return a Book
  • Quit to Previous (should take you menu MAIN)

 

Option 1 should show the following options

 

Pick the Branch you want to check out from:

  • University Library, Boston
  • State Library, New York
  • Federal Library, Washington DC
  • County Library, McLean VA
  • Quit to previous (should take you menu BORR1)

 Pick the Book you want to check out (make sure you only show books that have atleast one copy in BOOK_COPIES in the branch picked)

 

  • Lost Tribe by Sidney Sheldon
  • The Haunting by Stepehen King
  • Microtrends by Mark Penn
  • Quit to cancel operation (should take you menu BORR1)

 Then add entry into book_loans, date out should be today’s date, due date should be one week from today’s date.

 Implement the return book functionality the same way as above

 

Also implement the following ADMINISTRATOR functions:

  • Add/Update/Delete Book and Author
  • Add/Update/Delete Publishers
  • Add/Update/Delete Library Branches
  • Add/Update/Delete Borrowers
  • Over-ride Due Date for a Book Loan

 

Attachments:
(5/5)

Related Questions

CSI 1420 Introduction to C Programming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two majorconstructs of the C programming language – Fu

The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Assignment To Be Done By Our ExpertsGet A+ Grade Solution Guaranteed

expert
joyComputer science
(4/5)
12 Answers Hire Me
expert
Robert DLaw
(4.8/5)
778 Answers Hire Me
expert
Dr Samuel BarberaStatistics
(5/5)
865 Answers Hire Me
expert
Tutor For YouEconomics
(5/5)
715 Answers Hire Me