Module name and code Object-Oriented Programming, 5cosc018C


Download 377.28 Kb.
Sana14.12.2022
Hajmi377.28 Kb.
#1001257
Bog'liq
FinalExamStudentsVersion - 2ver




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):

  1. Create all necessary classes, abstract class, interface class along with its properties and methods.

  2. 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.

  3. 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:

  1. There are two types of TVs: Smart and Regular

  2. Each type has a brand, model, and customer ratings

  3. A TV has an id, model, price, screen size, and resolution

Task 2(total 30 points):

  1. 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:

  1. Classes

  2. Abstract Class/Interface

  3. Attributes

  4. Properties and Methods

  5. Constructors where needed

  6. Appropriate Access Modifiers

  7. 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.
Download 377.28 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling