A(n) ____ involves comparing adjacent elements and swapping them, if needed, until all elements are in their correct positions.

A. selection sort
B. bubble sort
C. insertion sort
D. merge sort


Answer: B

Computer Science & Information Technology

You might also like to view...

When a LAN switch is used, the resulting topology is

a. star network b. mesh network c. bus network d. ring network

Computer Science & Information Technology

Only paying LinkedIn member can create a group

Indicate whether the statement is true or false

Computer Science & Information Technology

Simple non-array variables are usually passed to methods by ____.

A. value B. reference C. type D. class

Computer Science & Information Technology

When all three RGB values are 0, the color ________ is displayed

Fill in the blank(s) with correct word

Computer Science & Information Technology