Purchase Solution

User Interface; Software Reuse and Component-Based Software

Not what you're looking for?

Ask Custom Question

Sommerville suggested that objects manipulated by users should be drawn from their own domain rather that an computer domain. For the following computerized systems suggest objects for the following users and systems:
· a. auto mechanic with an automatic diagnostic system
· b. a retail associate on a department store
· c. a stock broker and the financial package
· d. a train engineer using an automated monitoring system.

Purchase this Solution

Solution Summary

Objects for the following computerized systems are suggested:
· a. auto mechanic with an automatic diagnostic system
· b. a retail associate on a department store
· c. a stock broker and the financial package
· d. a train engineer using an automated monitoring system.

Solution Preview

Common structures:

struct ADDRESS
{
string street ;
string city ;
string state;
string zcode ; // Zip code
} ;

struct DATE
{
int year ;
int month ;
int day;
} ;

a. auto mechanic with an automatic diagnostic system
===================================
class CAutoMechanic
{
public:
<Add functions to manipulate the objects of the class>
private:
unsigned int m_id ; // Unique ID
string m_fname; // First Name
string m_lname; // Last Name
string m_ssn ; // Social Security Number
string m_pnumber ; // Phone Number
ADDRESS m_addr ; // Address
string m_email ; // e-mail address of the Automechanic
string m_title ; // Title, i.e. senior, junior, lead etc.
DATE m_date ; // Employment Date of the automechanic
unsigned int m_id_ds ; // Automatic Diagnostic System (instance of CAutoDiagSys - see below) object ID with which the Automechanic is assigned to work
} ;

class CAutoDiagSys
{
public:
<Add functions to manipulate the objects of the class>
private:
unsigned int m_id ; // Unique ID
string m_descriptyion; // Description
string m_name; // Name
string m_model; // Model
DATE m_made; // Date ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.