Tuesday, April 26, 2011

Back from the Long Weekend

The class was split into two groups today: “Selection Sort” group and the “Panther Pantry” group. I began in the Panther Pantry group but in a few minutes, Mr. Arkin decided to transfer me to the “Selection Sort” group. The Selection Sort Algorithm is a very useful algorithm in computer programming and real life. To sort N items, you need to make N passes through them. We began with a simple problem of sorting an array of integers. Now came the challenge. The assignment was to sort an array of Simple Objects containing a string and an integer. The input is read from a file and the method of sorting was left for us to decide. It seems like a lot to do but if we break it into chunks, the work load seems lighter.

No comments:

Post a Comment