Senin, 18 Februari 2013

PENGERTIAN SORTING

Sorting merupakan suatu proses untuk menyusun kembali humpunan obyek menggunakan aturan tertentu. Sorting disebut juga sebagai suatu algoritma untuk meletakkan kumpulan elemen data kedalam urutan tertentu berdasarkan satu atau beberapa kunci dalam tiap-tiap elemen. Pada dasarnya ada dua macam urutan yang biasa digunakan dalam suatu proses sorting:

1. Urut naik (ascending)
   Mengurutkan dari data yang mempunyai nilai paling kecil sampai paling besar

2. Urut turun (descending)
   Mengurutkan dari data yang mempunyai nilai paling besar sampai paling kecil.

Mengapa harus melakukan sorting data? Ada banyak alasan dan keuntungan dengan mengurutkan data. Data yang terurut mudah untuk dicari, mudah untuk diperiksa, dan mudah untuk dibetulkan jika terdapat kesalahan. Data yang terurut dengan baik juga mudah untuk dihapus jika sewaktu-waktu data tersebut tidak diperlukan lagi. Selain itu, dengan mengurutkan data maka kita semakin mudah untuk menyisipkan data atapun melakukan penggabungan data.
Metode-metode sorting meliputi:

1. Insertion Sort (Metode Penyisipan)
2. Selection Sort (Metode Seleksi)
3. Bubble sort(Metode Gelembung)
4. Shell Sort (Metode Shell)
5. Quick Sort (Metode Quick)
6. Merge Sort (Metode Penggabungan)

7 Responses so far.

  1. Netgear helpline number
    SBCGlobal technical support
    We have a helpful team of experts is available 24/7 to provide support for users. If you know more about Sbcglobal email you can contact Sbcglobal email support and get the best possible solutions.

  2. Just went through your blog.
    It's really amazing and helpful.
    Looking forward to more posts like this.
    keep sharing
    For any assistance regarding QuickBooks contact us.
    contact QuickBooks technical support

  3. The information shared by you is really worthy. Thanks for sharing .Keep on sharing similar posts in the future
    quickbooks phone number

  4. Nice post thanks for sharing with us.. instant fix SBCGlobal error just click on link..
    SBCGlobal contact number
    How to Fix SBCGlobal Email Not Working with MS Outlook

  5. Unknown says:

    Just dial the toll free number 1-844-249-4536 irrespective of your location across the country. It is the most popular and trusted Google Chrome tech support helpline in the country.

  6. This was amazing, and this can help me to work accordingly , Thanks for such Infomation, We are a Sage Accounting Software Tech Support, if you have any query regarding Sage so, you can contact our printer not activated error code 41.

Leave a Reply

 
 

Link List

Recent Comments

Followers