Answer the following statements true (T) or false (F)
1. Using a linear search, you are more likely to find an item than if you use a binary search.
2. When searching for an item in an unordered set of data, binary search can find the item more quickly than linear search.
3. When sorting an array of objects or structures, one must decide which data item to sort on.
4. Bubble sort and selection sort can also be used with STL vectors.
5. If algorithm A requires 2n + 1 basic operations to process an input of size n, and Algorithm B requires 3n + 2 basic operations to process the same input, algorithm A is considered to be more efficient than Algorithm B.
1. FALSE
2. FALSE
3. TRUE
4. TRUE
5. FALSE
You might also like to view...
A network engineer is conducting an assessment for a customer that wants to implement an 802.11n wireless network. Before the engineer can estimate the number of WAPs needed, it is important to reference which of the following?
A. Network diagram B. Site survey C. Network topology D. PoE requirements
Answer the following statements true (T) or false (F)
1. XML elements can be nested, creating parent elements and child elements. 2. A content control can have text or several child elements. 3. A Grid is a type of layout container. 4. Every XAML document must define the presentation XAML namespace and the standard XAML namespace. 5. The StartupUri attribute defines which XAML document loads first.