State the process of rearranging classes and operations, Database Management System

Assignment Help:

State the process of Rearranging Classes and Operations

The various, yet similar operation of different classes can be slightly modified thus that they can be covered by a single inherited operation. The chances of inheritance can be increased by following types of adjustments:

i) Some operations require fewer arguments than other similar operations, such as drawing an object, e.g. circle, triangle, etc. with or without colour fill. So, the attribute colour can be accepted or ignored for consistency with colour displays.

ii) Some operations require less argument than other, as they are special case of general arguments. So, varied newer operation can be implemented by calling general operation and new argument values. For instance, insertion in the beginning or in the end of the list are special cases of insertion in the list.

iii) Different classes can have similar attributes, but dissimilar names. Therefore, they can be combined and placed in base class so that operation to access attribute may match in different classes.

 iv) Sometimes an operation is needed by a subset of classes. In this case, declare operation in base class and all those derived classes which do not need it can be declared as no-operation.

 


Related Discussions:- State the process of rearranging classes and operations

Determine the subsystem design issue, Determine the Other System Design Iss...

Determine the Other System Design Issue How to realise subsystems; through hardware or software? How is object model mapped on chosen hardware software? Mapping

Back up files, what is the importance of back up files

what is the importance of back up files

Super keys, A super key is an attribute or set of attributes used to recogn...

A super key is an attribute or set of attributes used to recognize the records uniquely in a relation. For instance, in the Relation PERSON defines earlier PERSON_ID is a super

Self-join, Self-Join:   In a self join a table is joined with itself.  Let ...

Self-Join:   In a self join a table is joined with itself.  Let consider the following sample partial data of EMP table EMPNO ENAME MGRID

Security-drawbacks of data distribution, Security: In a centralised system...

Security: In a centralised system, access to the data can be simply controlled. Though, in a distributed DBMS not only does access to replicated data have to be controlled in many

Naïve bayesian approach-id3 algorithm, You are working for the ABC Telecom ...

You are working for the ABC Telecom and are given some customer records for data mining. You are asked to discover, from the data, patterns that characterize low-, medium- and high

Authorisation, Authorisation Authorisation is the culmination of the ad...

Authorisation Authorisation is the culmination of the administrative policies of the organisation.  As the name shows, authorisation is a set of rules that can be used to verif

Database management issues, You are required to write a report which evalua...

You are required to write a report which evaluates two of the following issues in relation to your case study database: a. Security issues b. Performance issues c. Backup

Define query processing, Define Query Processing Query processing is th...

Define Query Processing Query processing is the process of selecting the best plan or strategy to be employed in responding to a database request. The plan is then executed to

What is the purpose of storage manager, What is the purpose of storage mana...

What is the purpose of storage manager? The storage manager is responsible for the following a) Interaction with the file manager b) Translation of DML commands in to low

Write Your Message!

Captcha
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