For All Human Beings.......

Showing posts with label 2D Array. Show all posts
Showing posts with label 2D Array. Show all posts

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 ..........

Monday, April 7, 2008

Assignment : 1D Array & 2D Array



Posting the assignment covering 1D and 2D Arrays. The functions are to be written in assignment register. This assignment will help in attempting questions in theory paper also.

Date Of Submission : 15th April, 2008
(Class XII C)