c++ 1. True/False: Classes and structures can both have other class objects or s
ID: 3728038 • Letter: C
Question
c++
1. True/False: Classes and structures can both have other class objects or structure variables as members.
True
False
2. In an ADT the implementation details are ________ the interface through which a program uses it.
a part of
kept separate from
used by
determined by
None of the above
3. To locate a value in an ordered array of 100 items, binary search must examine at most ________ values.
7
10
50
100
101
4. True/False: Bubble sort and selection sort can also be used with STL vectors.
True
False
5.
The linear search is adequate for searching through ________ arrays, but not through ________ ones.
small, large
int, double
ascending, descending
char, string
any regular, vector
a part of
kept separate from
used by
determined by
None of the above
3. To locate a value in an ordered array of 100 items, binary search must examine at most ________ values.
7
10
50
100
101
4. True/False: Bubble sort and selection sort can also be used with STL vectors.
True
False
5.
The linear search is adequate for searching through ________ arrays, but not through ________ ones.
small, large
int, double
ascending, descending
char, string
any regular, vector
Explanation / Answer
1. True/False: Classes and structures can both have other class objects or structure variables as members.
Answer:
True
2. In an ADT the implementation details are ________ the interface through which a program uses it.
Answer:
kept separate from
3. To locate a value in an ordered array of 100 items, binary search must examine at most ________ values.
Answer:
50
4. True/False: Bubble sort and selection sort can also be used with STL vectors.
Answer:
True
5.
The linear search is adequate for searching through ________ arrays, but not through ________ ones.
Answer:
small, large
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.