School of Engineering and Information Technology
ASSIGNMENT COVER SHEET
Please 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 Assignment
Question sheet.
Please make sure you keep a copy of the assignment.
Student Details
Surname
Stojilkovic
Given name
Jovan
Student Number
33409492
Email
[email protected]
u
Assignment details
Unit name
Principles of Computer
Science
Unit Code
ICT167
Unit Coordinator
Kevin Wong
Tutor/Tutorial time
Wednesday 1:30-3:30
Due date/time
13
th
September 2019
Submission date
Assignment title
Other information
All forms of plagiarism, cheating and unauthorized collusion are regarded seriously by the University and
could result in penalties including failure in the unit and possible exclusion from the University. If in doubt,
please contact the Unit Coordinator.
Student’s Declaration
Please 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 been
submitted 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 14
th
of 2019 and the date finished was August
15
th
, 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.
