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 function to compute average temperature for the month

Write the function, print_temps(), with same two parameters plus count of hot days. Print neat table of temperatures. At same time, compute average temperature for the month.

  Write application to count number of both odd-even integers

Write application to count number of both odd and even integers of several positive integers. Fisrt value entered specifies number of values to input from user.

  Write program to accept data for each student

Write a program that accepts data for each student in the school - Student ID, classroom number, and score on the achievement test. Design a program that lists the total points scored for each of the 30 classrooms.

  Design application that gets customer account data

Design an application that gets customer account data that includes an account number, customer name, and balance due.

  Write css rule to gives all h elements padding

Write down CSS rule which gives all h1 and h2 elements padding of 0.5 ems, grooved border style and margin of 0.5ems. Prepare a layout template which contains header and two columns.

  Definition of function quadratic receives double parameters

Write down definition of function named quadratic which receives 3 double parameters a , b , c . If value of a is 0 then function prints the message "no solution for a=0"

  Write and test code to create window with green background

Use Processing to write and test code that meets the requirements below. Create a 600x400 window with a green background (using 64 as the "amount" of green to draw).

  Design program which models worms behavior

Design a program that models the worms behavior in the following scenario: A worm is moving toward an apple. Each time it moves, the worm cuts the distance between itself and the apple.

  Expression whose value is distance between two point

a structured type with two fields, x and y, both of type double-- write an expression whose value is the distance between the two point represented by p1 and p2.

  Create application to read file containing same product id

Create the application which reads the file of inventory information comprising product ID and quantity. File can contain numerous entries for same Product ID.

  Arguments for and against allowing mixed-mode arithmetic exp

1). State your own arguments for and against allowing mixed-mode arithmetic expressions.

  Describe how to create users for sales organization unit

Describe how you would create users for sales organization unit and how you can set up user groups in this particular situation (global, universal, domain local).

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