100%(1)1 out of 1 people found this document helpful
This preview shows page 1 - 3 out of 37 pages.
School of Engineering and Information TechnologyASSIGNMENT COVER SHEETPlease complete and insert this form as the first page of EACH electronic assignment.Submit the assignment with attached coversheet electronically as per the instructions in the AssignmentQuestion sheet.Please make sure you keep a copy of the assignment.Student DetailsSurnameStojilkovicGiven nameJovanStudent Number33409492Email[email protected]uAssignment detailsUnit namePrinciples of ComputerScience Unit CodeICT167Unit CoordinatorKevin WongTutor/Tutorial timeWednesday 1:30-3:30Due date/time13thSeptember 2019Submission dateAssignment titleOther informationAll forms of plagiarism, cheating and unauthorized collusion are regarded seriously by the University andcould result in penalties including failure in the unit and possible exclusion from the University. If in doubt,please contact the Unit Coordinator.Student’s DeclarationPlease double click on all the check boxes.Except where I have indicated, the work I am submitting in this assignment is my own work and has not beensubmitted for assessment in another unit.This submission complies with Murdoch University policies regarding plagiarism, cheating and collusion.I have retained a copy of this assignment for my own records.QUESTION 1:
Title:a paragraph clearly stating title, author, date, file names, and one-line statement of purpose.-The title of the program is Book Review Program, the author of the program is Jovan Stojilkovic and the date started was August 14thof 2019 and the date finished was August 15th, 2019. The file name which holds the Book class with all the methods to complete the tasks is BookReview.java. The file name for the main method that executes BookReview.java is called BookDemo.java. This programs purpose is to display a summary of two different books with their average rating and how many ratings were received.Requirements/Specification:a paragraph giving a brief account of what the program is supposed to do. State any assumptions or conditions on the form of input and expected output. -What this program is supposed to do is to ask the user for details about two books such as the title, author, publication year and then get the user to enter in a rating from 1 (terrible) to 5 (great) for each book and then the program will calculate the average rating and display a book summary for book 1 and book 2 including the average rating and the information provided by the user at the start of the program. Some assumptions that could be made is that the user entering the details for the books such as the titles, authors and year of publication for each book should be the correct data type. I assume that the user will know to enter in the title how it is supposed to be entered, the author names shouldn’t have numbers in it but if it’s entered it’ll still accept it as a valid input and won’t get the user to re-enter it. I also assume that the user will enter the publication year correctly because if the user enters in character(s) then the program will crash.