JUST TO REMIND THAT THE NUMBER ONE ONLY NEED 150 WORDS AND NUMBER TWO FOR 1100 WORDS KINDLY MAKE SURE THAT THE NUMBER TWO HAS ABSTRACT AND USING INTEXT CITATION, THE NUMBER 1, I WILL BE USING IT IN...

1 answer below »

JUST TO REMIND THAT THE NUMBER ONE ONLY NEED 150 WORDS AND NUMBER TWO FOR 1100 WORDS KINDLY MAKE SURE THAT THE NUMBER TWO HAS ABSTRACT AND USING INTEXT CITATION, THE NUMBER 1, I WILL BE USING IT IN THE DISCUSSION BOARD AND THE NUMBER TWO FOR INDIVIDUAL PROJECT. THANKS A LOT


(1)


Answer each of the following questions:



  1. Explain and provide an example of polymorphism. Do not use the same examples featured in the learning materials.

  2. Explain and provide an example of encapsulation. Do not use the same examples featured in the learning materials.

  3. What is the utility, benefits, and challenges of creating and using UML Class Diagrams? Who creates them and who uses them?



(2)


You have been requested to design a software application for a large toy company that provides an online product catalog for ordering all types of toys and games. There are four types of users:



  • Guests

  • Members (credentials and history saved)

  • Titanium Members (achieved after spending $10,000 in one calendar year)

  • Administrators


Products will have typical information stored on them to include name, category, description, age group, price, weight, and much more. There will also be a rating system for products that members and titanium members can contribute to. Guests can review the rating information, but not contribute to it.


The software application should have a reporting function, so sales information needs to be retained.


Review the requirements above and, using Visio or any other diagramming software, create Class diagrams for User, Product, Rating System, and Sales. Explain each diagram and how the classes interrelate.



Note: Templates can be found in Visio by accessing the UML System template.


Clickhereto refer to a Visio tutorial to learn Visio basics.


Once you have completed your diagrams, copy them into a Word document.

Answered 1 days AfterMay 12, 2022

Answer To: JUST TO REMIND THAT THE NUMBER ONE ONLY NEED 150 WORDS AND NUMBER TWO FOR 1100 WORDS KINDLY MAKE...

Amit answered on May 14 2022
84 Votes
Title of the assignment:
Student’s name:
Student ID:
Professor’s name:
Course title:
Date: 5/14/2022
Table of Contents
1.    Part 1    3
2.    Part 2    4
1.    Abstract    4
2.    Introduction    5
3.    Class diagram for toy company    6
4.    Conclusion    8
5.    References:    9
1
. Part 1
1.
The OOPs capability which allows the users for defining a single interface which is maintaining different implementations is known as polymorphism. In other words we can say many forms of single object. For example,
class polyExample
{
public:
    void polyFunction(int variable1)
    {
        cout << "value of variable1 is " << x << endl;
    }
    void polyFunction(double variable1)
    {
        cout << "value of variable1 is " << x << endl;
    }
    void polyFunction(int variable1, int variable2)
    {
        cout << "value of variable1and variable 2 is " <<             variable1<< ", " << variable2<< endl;
    }
};
2.
The process which is used for wrapping the collected data and developed code as single unit is known as encapsulation. For example,
class EncapsulationExample
{
    private:
         int variable1;
     public:
    void set(int variable2)
{
variable1 = variable2;
}
int get()
{
return variable1;
}
};
int main()
{
Encapsulation object1;
object1.set(5);
cout< return 0;
}
3.
The static structural implementation which is developed for defining classes, attributes, functions and relationship between the defined objects is known as UML class diagram. The main utility and benefits of using this diagram are:
· The implemented classes and their attributes can be defined in advance.
· The flexible implementation of software design can be developed.
· The communication architecture among the classes can be defined.
The main faced challenges with development of UML class diagram are:
· The requirement of formal notations is reduced with UML class diagram, so, it create issues to developers.
· Maintaining low complexity is big challenge with this diagram.
The designers of the application develops class diagrams and developers of the application makes use of them.
2. Part 2
1. Abstract
The requirement of online applications has grown in modern time and most of the organizations which are doing their business globally maintains their online platforms for their end users. The toy company is also looking for an online application which will maintain the catalog of their products. The complete details of toys and other games will be available on this online application. The development...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here