Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help with this assingment. I have started working on it, and have tried l

ID: 3541316 • Letter: I

Question

I need help with this assingment. I have started working on it, and have tried lots of different things and in the end became more confused than when i started.. the pictures are in order, with the assingment first, then the books with authors and then the rating files in order. If someone could help me please, I'd really apreciate it!!! Thank yo

u..


Read data file and print the book title that is rated highest (highest average rating by members who rated book). Complete the requirement in this handout. A Book Recommendation Svstem ID arrays of compound data types modular design concepts read external file sorting algorithms algorithms processing 2D arrays So how might we write a program to make recommendations for books? Consider a user named How is it that the program should predict books might like? The simplest approach would be to make almost the same prediction for every customer. In this case the program would simply calculate the average rating for all the books in the database, sort the books by rating and then from that sorted list, suggest the top 5 books that j&fe; hasn't already rated. With this simple approach, the only information unique to used by the prediction algorithm was whether or not had read a specific book. Information Books (booklist.txt not more than 100 books) Your program must keep track of the following information about each book in the system: Author. Title: There may be multiple books with the same title. Ratings (bookrating.txt not more than 100 member ratings) Your program must keep track of book ratings. Each rating has two pieces of information:, the member, and the rating of the book in book list by this member. Each rating must be stored as an jpjt, with one of these values: -5, -3, 0,1,3, 5. They are to be interpreted as follows: Although the data on which you test your program will likely be somewhat small, in a real system there would be a great many books and a great many users, and no user would have rated a very large fraction of the books. If you picture the ratings data as a table (rows being members and columns being books, with rating values in the cells of the table), most of the table would be empty. We call this "sparse" data. Keep this fact in mind when designing your structure for storing ratings. User. Interface (Menu) Your program must use a UI for all input and output with the user. Your program must give feedback indicating the result of every operation the user performs. For example, if the user tries to login with a member name not in the system, it might display the message "Sorry - that account name is not valid. Try again." It will be up to you to decide how you want to handle all the situations that may arise, except in the few cases where I specify the behavior. Operations When it starts, your program must load all the existing data from data file. Your program must provide the operations (menu choices) below to the user. Log in. There are no passwords. Only member can log in using their name. Receive recommendation for books. Log out. Quit.

Explanation / Answer

Hi, its going to take time. How much time do I have