Answer : True
Explanation: Vectors can hold, data of the same type and can automatically expand accordingly and change it’s size. The date stored in vectors should be linear.
- The syntax for vector is vector<int>v;
- Mostly this is used in C++ as an alternative to arrays
- If you want to use vector in your program then define it in the header first i.e.
#include <vector>
- Push back is a function, that is used to insert an element into the vector
- Pop back removes the element from the vector
<h3>Sorting</h3>
The term “sorting” is used to refer to the process of arranging the data in <u>ascending or descending order</u>.
Example: Statistical data collected can be sorted alphabetically or numerically based on the value of the data.
<h3>Filtering</h3>
The process of data filtering involves selecting a <u>smaller part of your data set to view or analyze</u>. This is done by using that subset to view or analyze your data set as a whole.
Example: A complete set of data is kept, but only a portion of that set is used in the calculation, so the whole set is not used.
<em>Hope this helps :)</em>
Search engines. (I'm Misty btw if you want to know)
I would imagine car would still be the best means , it's tough to define without knowing where he lives and how much he travels