Explain encapsulation of data and methods

Assignment Help Programming Languages
Reference no: EM13302941

1) Explain the following three key concepts of object-oriented technology. Illustrate each one using examples.

a) Encapsulation of data and methods
b) Support for polymorphism
c) Inheritance within class hierarchies.

2) Explain the main practices in the following agile development methods:

a) Scrum
b) Extreme Programming (XP)
c) Crystal Clear

3) Write a use case for each of the following:

a) A borrower renews a book from an online library.
b) A buyer bids for an item on Ebay.
c) A seller wants to auction an item on Ebay.

4) This case study is based on The Pet Connection website at https://www.thepetconnection.com/index.htm. It will be used to discuss the questions related to the Inception Phase in the Unified Process (UP).

The Pet Connection was formed under a very simple premise: "To assist pet breeders and pet buyers in the process of finding the perfect pet." (https://www.thepetconnection.com/breeder/breeder_home.htm.)

The Pet Breeder service is designed to:
• Enable buyers to learn about specific breeds via our online pet knowledge base.
• Enable buyers to learn more about specific pet breeders.
• Allow buyers to obtain complete information about additional services provided by breeders.
• Allow buyers to view pet pictures along with other pertinent data on available pets.
• Determine pet availability on a local, regional and national basis.
• Provide a "pet search matching" service for pet buyers.

a) List down the initial use cases for the Pet Breeder service, and give a brief description for each use case identified.

b) The following list contains the artifacts the UP specifies for the inception phase:

Vision and business case
Use case model
Supplementary specification
Glossary
Risk list and risk management plan
Prototypes and proof-of-concepts
Iteration plan
Phase plan and software development plan
Development case

Based on the Pet Breeder case study, briefly describes the contents of each artifact with some examples. You may include diagrams in your discussion.

5) The questions below are based on the following scenario:

We wish to build a university module registration system. We want students to be able to browse and select among the entire undergraduate module offered in a semester. A student's selections are entered into his or her permanent record (transcript); each module is updated with an outcome at the close of the semester.

In registering for modules, each student fills out a schedule, with minimum and maximum number of modules determined by student category (e.g., part-time, honours, ordinary). Students considering a module can browse information about its teacher and a module abstract, as well as determine what prerequisites it has, when it meets and how many credits it is worth. A module selection is accepted if its prerequisites have been met, if it does not exceed the total allowed hours, and if its meeting time does not conflict with other modules on the student's schedule.

Tutors can use the system to monitor the registration process for the modules they have been assigned, to see how many students are currently registered for a module and who they are.

a) Draw a System Sequence Diagram for the Register Module use case.
b) Identify the conceptual classes.
c) Using the appropriate UML notation, draw the complete domain model showing the associations and attributes.

Reference no: EM13302941

Questions Cloud

What is the maximum mass for a climber : climbers attempting to cross a stream place a 345 kg log against a vertical frictionless ice on the opposite side the log log is inclined at 27 degree, what is the maximum mass for a climber and pack to cross without the log slipping
Determine the compositions and quantities of gas and liquid : Determine the compositions and quantities of gas and liquid when 1 lb mole of a mixture of 30 mole percent methane and 70 mole percent ethanol is brought to equilibrium at 0 F and 500 psia.
Strategy for a hot-and-spicy flavored chewing gum : You can choose only one distribution strategy for a hot-and-spicy flavored chewing gum.
Determine which method of extraction should be used : Ocean water contains 0.9 ounce of gold per ton. Method A costs $220 per ton of water processed and will recover 85% of the metal. Method B costs $160 per ton of water processed and will recover e of the metal.
Explain encapsulation of data and methods : Explain the following three key concepts of object-oriented technology. Illustrate each one using examples. a) Encapsulation of data and methods b) Support for polymorphism c) Inheritance within class hierarchies.
What is the new market value of the company : Again, Inc. is proposing a rights offering. Presently, there are 450,000 shares outstanding at $90 each. There will be 80,000 new shares offered at $84 each.
What is the angle for the third-order maximum : The first-order principal maximum produced by a grating is located at an angle of ? = 15.0 degrees. What is the angle for the third-order maximum
Estimate critical pressure of mixture of methane nd n-hexane : Estimate the critical pressure of a mixture of methane and n-hexane if the critical temperature of the mixture is known to be 200 F. Compare your answer with the critical pressures of pure methane and pure n-hexane.
Find the ratio of the filament areas of the bulbs : Light bulb 1 operates with a filament temperature of 2400 K, whereas light bulb 2 has a filament temperature of 1600 K. Find the ratio A1/A2 of the filament areas of the bulbs

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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