In a(n) ____ sort, items in a list are compared with each other in pairs, and when an item is out of order, it swaps values with the item below it.
A. bubble
B. selection
C. insertion
D. linear
Answer: A
You might also like to view...
In one approach to anomaly detection, objects are represented as points in a multidimensional space, and the points are grouped into successive shells, where each shell represents a layer around a grouping of points, such as a convex hull. An object is an anomaly if it lies in one of the outer shells.
(a) To which of the definitions of an anomaly in Section 10.1.2 is this defi- nition most closely related? (b) Name two problems with this definition of an anomaly.
In an open Word document, the ____ indicates where the next typed text will appear.
A. insertion point B. tab C. status bar D. mouse
An I-P-O chart is a diagram that represents the Input, Processing and Output steps required to perform a task.
Answer the following statement true (T) or false (F)
Which statement is false?
a) Counter-controlled repetion is sometimes called definite iteration. b) Sentinel-controlled iteration is sometimes called indefinite itera-tion. c) The sentinel value typically indicates “end of data.” d) In counter-controlled iteration, the control variable is always in-cremented by 1 each time the group of instructions is performed.