Assignment 1: Avanced Programming, Assignments of Advanced Data Analysis

P2- The various class relationships + Design UML class diagrams

Typology: Assignments

2020/2021

Uploaded on 10/06/2021

unknown user
unknown user 🇻🇳

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ASSIGNMENT 1 FRONT SHEET
Qualification TEC Level 5 HND Diploma in Computing
Unit number and title Unit 20: Advanced Programming
Submission date Date Received 1st submission
Re-submission Date Date Received 2nd submission
Student Name Student ID BHAF
Class Assessor name
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I
understand that making a false declaration is a form of malpractice.
Student’s signature
Grading grid
P1 P2 M1 M2 D1 D2
~ 1 ~
pf3
pf4
pf5

Partial preview of the text

Download Assignment 1: Avanced Programming and more Assignments Advanced Data Analysis in PDF only on Docsity!

ASSIGNMENT 1 FRONT SHEET

Qualification TEC Level 5 HND Diploma in Computing Unit number and title Unit 20: Advanced Programming Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Student ID BHAF Class Assessor name Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Grading grid P1 P2 M1 M2 D1 D

❒ Summative Feedback: ❒ Resubmission Feedback:

Grade: Assessor Signature: Date: Internal Verifier’s Comments: Signature & Date:

between objects. It is also termed as a has-a relationship in Java. Like, inheritance represents the is-a relationship. It is another way to reuse objects. Composition Is a "partial" relationship type, and is a strong association type. In other words, composition occurs when one class owns & contains objects of another class. Inheritance Is an "is-a" type of relationship. It's a mechanism that permits a class to acquire the properties and behavior of an existing class (or sometimes more classes, if the language allows multiple inheritance).

II. Design UML class diagrams

1. What is UML class diagram?

UML class diagrams allow us to denote the static contents of — and the relationships between — classes. In a class diagram we can show the member variables, and member functions of a class. We can also show whether one class inherits from another, or whether it holds a reference to another. In short, we can depict all the source code dependencies between classes. Basic properties of class diagrams  Class name  Attribute (field, property)  Operation (method, function).

Figure below illustrates the UML class notation for the Asset class. To serve the project, I will choose Visual Paradigm tool to draw class diagram. Visual Paradigm is a software tool designed for software development teams to model business information systems and manage development processes. Visual Paradigm provides software developers the cutting-edge development platform to build quality applications faster, better and cheaper! Visual Paradigm supports major industry modeling languages and standards such as Unified Modeling Language (UML), BPMN, XMI, …

2. Design class diagram

I have just made a contract with FPT Academy international and are about to be appointed as a project leader for a group of programmers to develop its Product Management System. In this Product Management System, I am required to create an application to store list of products and list of products. Class diagrams for all objects identified as well as class relationships.