For All Human Beings.......

Tuesday, April 15, 2008

Data Structures (1 D & 2 D Arrays)

Array

It is a static data structure. It is a homogeneous collection of data. The elements in the array are stored on consecutive memory locations. Array is also known as a subscripted variable, e.g., A[i] is ith element of the array A (i.e., i is the subscript with variable A). As we know that the elements of the array are stored on consecutive memory locations, it becomes convenient to find out the address of memory location of ith element, for given base address (address of first element) and W (i.e. the number of memory locations required by one element).

Different Operations on 1 D ARRAYS

  • Creation
  • Traversal
  • Insertion
  • Deletion
  • Searching
    • Linear
    • Binary Search
  • Sorting
    • Bubble Sorting
    • Selection Sorting
    • Insertion Sorting
  • Merging

Different Operations on 2 D ARRAYS

  • Creation
  • Printing (Traversal)
  • Addition of two Matrix
  • Difference Matrix
  • Multiplication of Matrix
  • Row / Col Sum
  • Diagonal Sum
  • Transpose Matrix
For Functions on ARRAYS Click Here ..........

4 comments:

Anonymous said...

Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the Dieta, I hope you enjoy. The address is http://dieta-brasil.blogspot.com. A hug.

ITMastersPro said...

ainvi

ITMastersPro said...

Dear Ma'am,

I liked your blog for its content as well as innovativeness, especially applying mind-map concepts for XII computer science.

I also own two blogs - one on C++ and another on Computer Science.
My idea is prepare best notes on the subject from multiple sources and put it on web so that many can benefit from it. I am trying to follow bullet-point approach. Just visit:

http://computer-science-notes.blogspot.com
http://cplusplus-naturally.blogspot.com

Your critical suggestions are most welcome.

DEEPAK AJMANI said...

thankyou very very much madam iam an xii class student and you really helped me.