The ________ sorting algorithm repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
- Binary
- Bubble
- Merge
- Quick
The 'Bubble' sorting algorithm repeatedly steps through the list, comparing adjacent elements, and swapping them if they are in the wrong order. It is a simple sorting algorithm but not very efficient for large datasets.
Loading...
Related Quiz
- You're debugging a segmentation fault in a program and find that a pointer is being accessed after it has been freed. What is this type of pointer error called?
- Which function is used to close a file that has been opened for reading or writing?
- A function in C returns a value to the calling function using the ________ keyword.
- What is the role of the 'continue' statement in a loop?
- Which function is used to close a file that has been opened using fopen?