Oo modelling, Computer Engineering

We might model such a scenario using three types of object: one for Customers, one for BankAccounts and another for Transactions. In terms of data required, for Customers assume we need a name, an address and a savings account. An array of Customers should be used. For the savings account assume we require an account number, a balance (amount) and an interest rate. For transactions  assume we need an account number the transaction applies to, an amount being transacted and a transaction type (such as Deposit, Withdrawal or Interest ). Details of the transactions are held in a file called "trans.dat". Below is a suggested UML type diagram representing the object types (classes):

928_oo modling.png

Posted Date: 3/11/2013 5:54:56 AM | Location : United States







Related Discussions:- Oo modelling, Assignment Help, Ask Question on Oo modelling, Get Answer, Expert's Help, Oo modelling Discussions

Write discussion on Oo modelling
Your posts are moderated
Related Questions
Minimum possibility -minimax algorithm: Finally, we want to put the scores on the top edges in the tree. So there is over again a choice. Whenever, in this case, we have to r

What is Optical character recognition (OCR)  Information on paper is automatically read by a scanner and is then processed/analysed by OCR software and stored in an electronic

In computer science, garbage collection (GC) is a form of automatic memory management. The garbage collector, or just collector, attempts to reclaim garbage, or memory occupied by

Q. Explain about Interrupt Cycle? On completion of execute cycle the current instruction execution gets completed. At this point a test is made to conclude whether any enabled

How can you pass a struct by reference in e?   The question is phrased in a tricky way because passing by reference is the default and only possible way to pass structs in e. I

What is socket inheritance? Explain. Socket Inheritance: In a socket inheritance a reference count mechanism is utilized. Whenever a socket is first created, the system set

1. What factors should be considered when selecting a digital encoder (line codes)? Briefly mention five of those factors. Use sketches and additional text to describe the followin

Equivalences: In this following miscellaneous equivalence rules are often useful during rewriting sessions. So there the first two allow us to completely get rid of implicatio

Define port? Give types of port available? Ans: An I/O interface consists of circuitry needed to connect an I/O device to computer bus. One side consists of a data path contain

Explain the Design Procedure for Flip Flop? The design procedure as follows. 1) Acquire the clear description of the desired flip flop X. 2) Acquire the present state- next