Skip to main content

Non-primitive data structures

Array-

An array is defined as a set of finite number of homogeneous elements or data items.

It means on array can contain one type data only, either all integer all following point number all character, declaration of array is as follows-

int a[6]
where int specified the data types or type of element array shows-

A 'a' is the name of Array and the number specified inside the bracket is the number of element an array can store.

Following a some of the concept to be remember about array -

The number of element that can be in an array that is the size of an array its name is given by the following equation.

[(upper bound - lower bound) + 1]

Array can always be read or written through loop -

a) for reading an array
     for(i=0; i<=9; i++0
{ scanf( "%d" , &a[i]); }

b) for writing an array
 for (i=0; i,=9; i++)
{ printf("%d" , a[i]); }

List - 


A list (Linear Linked List) can be defined as a collection of a variable name of data item. An element of list must contain at least two field, one for sorting data or information and other for sorting address of next element.


LIST is divided into two parts-

A) Linear List.
B) Linear List.

A) Linear list is divided into two parts -

1. STACK
2. QUEUE

B) Non Linear list is divided into two parts.

1. Graph
2. Tree.

STACK -


A stack has a special feature that deletion and insertion of element can be done only from one end, called the top of stack due to this property it is also called as last in first out(LIFO). Type of data structure.


Queue


Queue are FIFO type of data structure. In a queue new element are added to the queue from one end called. Rear and the element are always remove from other end called the Front end.


TREE - 


A tree can be define as finite set of data items(nodes). Tree is non linear type of data structure in which data items are arrange or stored in a sorttest sequence. Tree represents the hierarchical relationship between various element.


GRAPH

A graph (VE) is set of vertice(V) and set of edges (E).


Comments

Popular posts from this blog

Marble Inlaid Work - The most beautiful Artwork

Marble Inlay Artwork - One of the most beautiful artwork . It is the same work that adorns the Taj Mahal, Akbar Tomb, Etmad-ud Daula, and other Mughal monuments. It is a carefully Protected traditional Art and simplest a Few Expert Exponents are Available Today. Marble Inlaid Work "The delicate system involves reducing and engraving marble shapes manually. To begin with, a predefined pattern e.G., floral design or geometrical design is engraved on the marble slab. Small pieces of marble of various sunglasses are cut delicately to healthy in these grooves precisely. These small pieces are then slipped inside the grooves. Apart from marble, many other materials also can be used. Process of Marble Inlay work - The sequence of processes that culminates within the realization of a masterpiece of marble inlay was formed by the Mughal artisans in the seventeenth century, and has remained mostly unchanged for over four hundred years. though the art still makes use of tools & techniq

Adorn Your Home With Marble Inlay Table Tops

Marble inlay work is among the most beautiful works of art made from marble. The Taj Mahal and other Mughal structures bear the same artwork. Only a few knowledgeable practitioners are available today because it is a traditionally protected art form. Marble shapes are painstakingly carved and engraved during the delicate procedure. The marble slab is first inscribed with a predetermined pattern, like a floral or geometrical design. Small marble chunks in various tones are painstakingly carved to fit in these slots precisely. Then, these tiny parts are inserted into the grooves. In addition to marble, a variety of different materials can be employed. Around the turn of the 16th century, artisans in Florence, Italy, started inlaying fine precious stone. It was referred to as PIETRA DURA. Stone is pietra, and hard is dura. A traditional type of art was invented by the Italians, who also had exclusive control over it. Pietra dura started to appear on portable, tiny objects in the 1630s as

Marble Inlay vs. Other Art Techniques: Mastering Artistry

In the world of artistic expression, Marble Inlay stands as a unique and cherished craft. This article delves into the intricacies of Marble Inlay, its art methods, and how it compares to other art techniques. We will explore the creative processes, intricacies, and unique qualities that set Marble Inlay apart from the rest. Marble Inlay: A Masterpiece in Stone Marble Inlay, a centuries-old art form, involves embedding intricately designed patterns into marble surfaces. Artisans use specialized tools and techniques to create stunning works of art. The combination of aesthetics and precision is what makes Marble Inlay truly extraordinary. The Art Methods of Marble Inlay Marble Inlay relies on a set of intricate methods that set it apart from other art techniques. This process involves: Design Planning: Meticulous planning of the design, ensuring each element fits seamlessly. Material Selection: The choice of high-quality marble and semi-precious stones. Inlay Work: Delicate cutting and