CMP1903M Object Oriented Programming, University of Lincoln

Post New Homework

Object Oriented Programming

Assessment Task and Purpose:

This assignment looks at part of the process in implementing a problem - a code review. A code review is a review of your code by another developer or developers. Code reviews can help with:
Motivation
Sharing best practice
Also, they can highlight:
Accidental/structural errors Legibility
Even short, informal code reviews can have a great impact on code quality and error frequency.

Learning Outcome 1: Demonstrate the use of version control tools in a software development project
Learning Outcome 2: Apply object-oriented principles to the implementation of software programs

You should also create:
a. Create a 5 minute YouTube video reflecting on the code review process, and Object-Oriented features within your code. Details of how to do this are below.
Creating a YouTube video for submission:
Create your video. Use screen capture applications such as ScreenPal, OBS, etc.
Use voice over the video to reflect on the code review process and OO programming. In particular:
Point out object instantiation and method use in your code.
Explain how encapsulation is used in your code.
Upload to YouTube, setting the video as ‘unlisted' - this ensures it doesn't appear in
any search listings.

Additional Information for Completion of Assessment:
The coding task:
For an interview for a coding job, you have been asked to prepare a simple application with
three classes:
A Die class.
A Game class. A Testing class.

The Die class should contain one property to hold the die current value, and one method that returns an integer and takes no parameters:
int Roll()

The Game class should:
Create three dice objects. Roll all three.
Sum and report the total of the three dice rolls.

Extras: Dice rolls can be done continuously, individual die rolls are reported.

The Testing class should: Create a Game object.
Use debug.assert() to verify:
Die rolls are between 1 and 6 (inclusive)
The sum of the three values are as you expect

Attachment:- Object Oriented Programming.rar

Post New Homework
Captcha

Looking tutor’s service for getting help in UK studies or college assignments? Order Now