Module name and code
|
Object-Oriented Programming, 5COSC018C
|
CW weighting
|
50%
|
Lecturer setting the task with contact details and office hours
|
Avaz Khalikov
akhalikov@wiut.uz
|
In Class Test
|
19 Nov 2021, duration: 2 hours
|
Results date and type of feedback
|
2 weeks after test
|
The In Class Test checks the following learning outcomes:
|
3. Recommend an extendable and maintainable system architecture based on Object Oriented Programming principles.
4. Identify common cases for Design Patterns in software design. Show ability to apply Design Patterns and justify their use.
.
|
The aim of the Assessment is to evaluate:
1. Demonstrate your gained knowledge of OOP principles (Encapsulation, Inheritance, Abstraction and Polymorphism) in practice by completing the e-commerce project module.
2. Ability to apply design patterns in this project. Sample patterns are given in APPENDIX D.
The overall module that you are going to create should aim the further reusability of it.
Scenario:
You are required to create the “Search the right TV” module/feature for the TV selling e-commerce site.
User Input:
Ouput:
Task 1 (total 70 points):
Create all necessary classes, abstract class, interface class along with its properties and methods.
Your module (set of methods) must allow the user to select Brand/Model/By Budget of a Smart or Regular TV-set and return to a user matched TV list with its brand, price, screen size, resolution or based on customer ratings.
Create a list of test-data (list of 3-5 TVs are enough) to test your methods by using the Console App.
TV object requirements:
There are two types of TVs: Smart and Regular
Each type has a brand, model, and customer ratings
A TV has an id, model, price, screen size, and resolution
Task 2(total 30 points):
From the APPENDIX D apply one or more design patterns to your project.
Note that you do not need to build the GUI (Graphical User Interface) application in your project, only back-end classes and CONSOLE Application for user input/output are enough. Overall, the following pieces of code are expected in your solution:
Classes
Abstract Class/Interface
Attributes
Properties and Methods
Constructors where needed
Appropriate Access Modifiers
Console app
Submission instructions
All as a bundle of one Console app Project zipped and submitted into WLB assessment/Intranet.
APPENDIX D:
Please, use the attached Design Patterns Visual Studio Project as a reference. It contains sample, code for multiple design patterns.
Do'stlaringiz bilan baham: |