Search This Blog

COMPUTER SCIENCE CLASS XII

COMPUTER SCIENCE

  1. INTRODUCTION  TO C++
  2. ARRAYS
  3. SORTING   : Sorting tec
    Sorting is arranging the data elements in a particular order. The values in an array or list can either be arranged in ascending or descending order.
    Consider following list of integers as the marks obtained by 7 students in a test:
       3, 12, 6, 8, 5, 9, 15
    After sorting the list elements appear as :
       3, 5, 6, 8, 9, 12, 15
    we may easily find the highest marks and the range of marks in the above list. There are a number of ways to sort a given list of elements. Various algorithms have been devised to sort list of elements . Each sorting technique has its own effective approach depending on situation.
    1. SELECTION SORT 
    2. INSERTION SORT
  4. STACKS
  5. QUEUES

No comments:

Post a Comment