Professional Documents
Culture Documents
OBJECTIVE:
To Develop a C program that implements Bubble Sorting by printing the List after every pass and
printing the List after Bubble sort using Functions.
2. Personal Computer with 2GB RAM, 320GB HDD and Pentium2 processor or above
TASK ANALYSIS:
A. KNOWLEDGE
B. SKILL
2.5.TEACHING
SCHEME OFPOINTS
EVALUATION
B. Safety precautions:
A. Writing the logic of bubble Sort A B C D E T
program.
Don’t eat or drink at the workplace.
25
3.Precise
B. Identifying
Don’t carry inflammables and
at the Correcting
work place.
operations/Activities syntactical errors 8 5 5 4 3 25
3. NEED AND SCOPE OF EXPERIMENT
C. Debugging logical errors
This experiment is D.
to create a C program.
Checking whether Bubble Sort
algorithm is properly implemented
It is used to effectively sort the given unordered list of elements to display ordered sorted
list. E. Observing the result whether the
list is sorted
4. PLANNING AND ORGANISATION
4.Values D. Ethics
E. Leadership
50
Total
1. How many comparisons does it take to perform a bubble sort on a list of n elements?
3. What is the best case scenario when using a bubble sort algorithm?
5. In what order should the input data be given to a bubble sort algorithm for it to work correctly?