Skip to main content

Significance of Data Structure

To make or construct an abstract model or software model of a collection it is started by building the formal specification and the first component of this is the name known as data type - type of objects which belong to the collection class. In C programming, we use typedef to define a new type that is a pointer to a structure:
typedef struct collection_struct *collection;

We are showing a pointer to a structure only, we have not defined details of the attributes of the structure. We are deliberately deferring it and the details of the implementation are irrelevant at such stage. It is only concerned with the abstract behavior of the collection. In actuality, we want to be able to replacement different data structures for the real implementation of the collection, depending on needs.

The typedef declaration provides with a C type or class in OO design parlance, collection. We can state objects of type collection where needed. Although C forces us to expose that the handle for objects of the class is a pointer, This is better to take an abstract view, we look upon variables of type collection simply as handles to objects of the class & forget that the variables are actually C pointers.

Tags: Data Structure, Assignment Help, Homework Help

Comments

Popular posts from this blog

Earning And Investment Decisions By Financial Manager

The tasks of Financial Manager can usually be categorized into two:   Managerial Finance Functions:   Require skilful planning, control and execution of the financial behavior. It consists of noteworthy managerial finance tasks. These are as:   (a) Investment of Long-term asset-mix options:   Such decisions (also referred to as capital budgeting judgment) relates to the allotment of funds along with investment projects. They refer to the firm's option to commit current finances to the purchase of permanent assets in hope of future cash inflows from these projects. The investment applications are evaluated in terms of both risk and predictable arrival. (b) Financing decisions:   Financing decision means the decision on the sources of finances to invest on finance projects.  The finance manager ought to decide the proportion of justice and debt. The mix of debt & equity affect the firm's price of financing as well the financial risk....

Antibiotics: Hindering the augmentation of Micro-organisms

The search for antibiotics begin in late 1880’s, with the acceptance of the germ hypothesis of diseases. In the mid of 1800 the Hungarian physician Ignatz Semmelweis and the English physician Joseph Lister generated some of the primary microbial control practices. Whenever the body’s normal defenses can’t prevent or overcome a disease, it is frequently treated with chemotherapy. Antimicrobial drugs act by hindering with the augmentation of microorganisms. Furthermore, it has to act in the host. Hence, their effects on the cells and tissues of the host are significant.   The ideal antimicrobial drugs kill the injurious microorganisms without harming the host. The mechanism of inhibition is termed as antibiosis and from this term comes the word Antibiotic, a substance generated by certain microorganisms. Certain drugs have a narrow spectrum of microbial activity and certain affect a wide range of gram positive and gram negative bacteria and are termed as broad spectrum a...

Reactions Accompanied by Thermodynamic Processes

A thermodynamic property elucidates considerable characteristics of a substance. The knowledge of these properties is necessary to the understanding of the thermodynamics. The quantity which is either a feature of a whole system or is a function of place that is constant and does not differ rapidly over microscopic distances, apart from possibly for unexpected changes at boundaries among phases of the system; illustrations are pressure, temperature, volume, surface tension, concentration, and viscosity. This is also termed as macroscopic property. In order to bring through a program of finding the modifications in the different thermodynamic functions which accompany reactions—like enthalpy, entropy, and free energy—it is frequently helpful to know such quantities separately for each of the materials entering into the reaction. For illustration, when the entropies are known independently for the reactants and products, then the entropy alter for the reaction is merely the d...