Study the scenario and complete the question(s) that follow: Pearson Institute of Higher Education Library Books The Pearson Institute Library is comprised of many books covering various subjects. Students borrow these books to aid them in their studies. The Pearson Library team would like to know the ten most borrowed books by students. They have approached you as a Java Developer to help them to develop an app that will provide them with these statistics. They keep records of the borrowed books and the number of times they have been borrowed. Below is sample data from the Books.txt file that you have been provided with: Sample data – Books.txt Introduction to Java programming; Daniel Liang; 25 The C# Programming Yellow Book; Robert Miles; 12 Learning Python; David Ascher; 10 The C++ Programming Language; Bjarne Stroustrup; 21 Programming PHP; Rasmus Lerdorf; 15 Create a Java application for the Pearson Library. The application must consist of a Book class that is composed of the book properties mentioned in the above scenario. The program must parse through the file and read all the properties (Book name, Author and number of times book has been borrowed) and add them to an ArrayList. The program should then find the top 10 most borrowed books and write these books in a file called MyBookList.txt in the following format: “Book Name – Book Artist”. The books should be written line by line. Ensure that the application handles basic exceptions. (30 Marks)

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Study the scenario and complete the question(s) that follow:

Pearson Institute of Higher Education Library Books
The Pearson Institute Library is comprised of many books covering various subjects. Students borrow these books to aid them in their studies. The Pearson Library team would like to know the ten most borrowed books by students. They have approached you as a Java Developer to help them to develop an app that will provide them with these statistics. They keep records of the borrowed books and the number of times they have been borrowed. Below is sample data from the Books.txt file that you have been provided with:


Sample data – Books.txt
Introduction to Java programming; Daniel Liang; 25
The C# Programming Yellow Book; Robert Miles; 12
Learning Python; David Ascher; 10
The C++ Programming Language; Bjarne Stroustrup; 21
Programming PHP; Rasmus Lerdorf; 15

Create a Java application for the Pearson Library. The application must consist of a Book class that is composed of the book properties mentioned in the above scenario. The program must parse through the file and read all the properties (Book name, Author and number of times book has been borrowed) and add them to an ArrayList. The program should then find the top 10 most borrowed books and write these books in a file called MyBookList.txt in the following format: “Book Name – Book Artist”. The books should be written line by line. Ensure that the application handles basic exceptions. (30 Marks)

 

Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY