Unit 20 advanced programming assignment

Assignment Help Other Subject
Reference no: EM132444771

Unit 20: Advanced Programming - Pearson Higher National in Computing

Assignment - Object Oriented Programming Paradigm

Learning Outcomes:

LO1 Examine the key components related to the object-oriented programming paradigm, analyzing design pattern types

Assignment Brief and Guidance:

You are recently hired by NetSolace as Trainee Developer under the Mentorship program. You are deployed with Team Echo as your start.

Team Echo is currently working on a Project that involves Object Oriented Programming skills, hence, the team leader has assigned you the task to develop a report comprising of the following:

• Examine the object-oriented programming paradigm characteristics and develop a professionally formatted report that would include these characteristics (i.e. Encapsulation, polymorphism, constructors/destructors, sub objects, abstract/concrete, interface, method, redefinition, generics/templates, containers etc. Also include the information about class relationships like generalisation/Inheritance, realization, dependency, aggregation, composition etc. (P1)

• Determine the design patterns from each of the creational, structural and behavioral pattern types (M1)

• Analyse the relationship between OOP paradigm and the design patterns (D1)

Assignment - UML Documentation

LO2 Design a series of UML class diagrams

Assignment Brief and Guidance:

You are working in NetSolace to help improve their documentation for their in-houses software libraries which were developed with very poor documentation. As a result it has been very difficult for the company to utilise their code in multiple projects due to poor documentation. Your role is to alleviate this situation by developing a series of UML diagrams to reflect the existing code and to develop new diagrams for future implementation.

You will be required to analyse the existing code and then build accurate UML class diagrams based on the existing code. Once completed you will also need to identify possible situations where design patterns would be beneficial and then develop the UML diagrams reflecting the design patterns.(P2)

Develop the UML diagrams and compile them into a PDF reference guide, with each set of diagrams paired with the respective code (M2) and include a relationship between the actual OOP paradigm and its corresponding design pattern in this report (D2)

LO3 Implement code by applying design patterns.

Assignment Brief and Guidance:

You are required to implement design patterns using an IDE such as Eclipse. Tasks related to LO3 are following:
• Setup of a project with version control in bitbucket. Use an IDE (Eclipse) to develop a small application that implements few examples of creational, structural and behavioral design patterns. (P3)
• Develop code based on the solution you proposed as UML diagrams in D2. (M3)
• Evaluate the use of design patterns for the given purpose specified in M3. Discuss trade- offs / consequences by applying design patterns. (D3)

LO4 Investigate scenarios with respect to design patterns code by applying design patterns.

Assignment Brief and Guidance:
You are given here several scenarios. You are required to analyze them and suggest a suitable pattern for them.
Scenarios:
1. You are a member of a programming team, and have been asked to design the class structure for a custom aircraft design system in a computer game. An aircraft will have two basic properties: its name and capacity. Each aircraft can then be customised with various additions. An aircraft may optionally have one or all of a first-class cabin, a viewing area, a communications system and/or a booster rocket. A first-class cabin means the aircraft can have first-class passengers, a viewing area is a place where passengers can watch the scenery below, a communications system is so passengers can talk to people on the ground, and a booster rocket enables the aircraft to move twice as fast. For example, the aircraft GoodCruiser has a capacity of 100 passengers, a first-class cabin and a booster rocket. The aircraft RuthlessRogue has a capacity of 20 passengers, a viewing area and a communications system. One member of your team quickly begins outlining a set of classes on the whiteboard:
// The generic aircraft
class Aircraft { private int capacity; private String name; }
// An aircraft with an added first-class cabin
class FirstClassCabinAircraft extends Aircraft { }
// An aircraft with an added viewing area
class ViewingAreaAircraft extends Aircraft { }
// An aircraft with an added communications system
class CommunicationsSystemAircraft extends Aircraft { }
// An aircraft with an added first-class cabin and communications system class FirstClassCabinCommunicationsSystemAircraft extends Aircraft { }
What is wrong with the design? Which design pattern would be suitable to remove deficiencies in the design.

2. Consider a scenario of a database server. We want to efficiently manage and restrict the number of connections to databases. Which design pattern would be suitable in this case?

3. Consider a scenario of database transactions. There are different types of database transactions, e.g. add record, update record and delete record etc. If transaction fails, then there is an option of rollback transaction. Which design pattern is suitable to handle these types of transactions and also provides the ability to encapsulate these processes?

4. Consider a scenario of house building. There are two options to build house i.e. Wooden House and Glass House. However, the processes / steps for building any two of them are same which include operations such as build foundation, build pillars, build walls and build windows etc. Although, the processes / steps are same but implementation is different for wooden and glass houses. Which design pattern would be suitable to implement this scenario?

5. Consider an example of online taxi services (i.e. Cream). The company has list of customers and drivers. When a customer requests for a cab, then a driver accepts and visits customer for a ride. Which pattern can be used to implement this scenario. Explain with UML diagram
and also explain list of classes and methods involved in this pattern.

LO4 Tasks:

Following are the tasks related to LO4.

• Discuss a range of design patterns with relevant examples of creational, structural and behavioral pattern types. (P4)

• Reconcile the most appropriate design pattern from a range with a series of given scenarios above. Apply the pattern using UML diagram for each scenario. (M4)

• Critically evaluate a range of design patterns against the range of given scenarios with justification of your choices. (D4)

Attachment:- Advanced Programming.rar

Reference no: EM132444771

Questions Cloud

Assignment on portfolio theory : Imagine that one (1) of your clients has $100,000 to invest. Propose the manner in which you would apply portfolio theory to this scenario. Justify your respons
Discuss the constant growth model of stock valuation : Discuss the Constant Growth Model of stock valuation. Include in your discussion the advantages, disadvantages and assumptionsof the model.
What is the new return on equity of the company : a. How will the return on equity be affected by this change? What is the new return on equity of the company?
Unit 20 advanced programming assignment : Unit 20 Advanced Programming Assignment Help and Solution, Pearson Higher National in Computing Assessment Writing Service
What is the new return on equity of the company : a. How will the return on equity be affected by this change? What is the new return on equity of the company?
What is the new return on equity of the company : a. How will the return on equity be affected by this change? What is the new return on equity of the company?
Importance of advising children : Identify personal characteristics required by a professional working with this population of children and adolescents, and explain why these characteristics
BUSM4305 - Entrepreneurship and Delivering Change Assignment : BUSM4305 - Innovation, Entrepreneurship and Delivering Change Assignment Help and Solution, University of Worcester, UK. Identify intrapreneurial organisation

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd