Project 5
USFlix final
Due Thursday, May 11 11:55pm. Submission through SVN.
Please submit your work in an SVN directory
https://www.cs.usfca.edu/svn/< your username >/cs112/proj5
Requirements
- All the requirements from project 4.
- Calculate and display recommended movies correctly. We will test how the recommendation changes after user adds a new rating.
- Sample input files for MovieDatabase and UserDatabase.
- Submit README. Your README should answer two questions below.
- How you have incorporated the lab 7 code into project 4. Specifically, how you have generated the input to lab 7 code and how you used the output from lab 7 code to generate movie recommendations.
- How your program works. Specifically, how the movie recommendations change when user adds new ratings.
Example Run
Welcome to USFlix! Select an option from the menu.
1 to load users and their ratings from a file
2 to to login
3 to create a new account
0 to quit
Enter your choice: 2
Enter the username: ejung
Enter the password: gnuje112
Welcome, EJ! Select an option from the menu.
1 to search movies by titlee
2 to see the list of movies you have seen before and their ratings
3 to see the recommended movies
0 to logout and go back to the main menu
Enter your choice: 3
1. Lost in Translation: 5.0 (expected)
2. 12 Monkeys: 5.0 (expected)
3. Eternal Sunshine of the Spotless Mind: 5.0 (expected)
4. Argo: 4.8 (expected)
5. Django Unchained: 4.4 (expected)
6. Sabrina: 4.0 (expected)
7. True Grit: 4.0 (expected)
8. Something's Gotta Give: 3.0 (expected)
Select the movie number to rate or watch
0 to go back to previous menu
Enter your choice: 0
1 to search movies by titlee
2 to see the list of movies you have seen before and their ratings
3 to see the recommended movies
0 to logout and go back to the main menu
Enter your choice: 0
Bye, ejung!
Welcome to USFlix! Select an option from the menu.
1 to load movies from a file
2 to load users and their ratings from a file
3 to login
0 to quit
Enter your choice: 0
Bye!