Question: How does a vector differ from a list?

  1. Vectors are used only for numeric data, while lists are useful for both numeric and string data.
  2. Vectors and lists are the same thing and can be used interchangeably.
  3. A vector contains items of a single data type, while a list can contain items of different data types.
  4. Vectors are like arrays, while lists are like data frames.

Answer: The correct answer of the above question is Option C:A vector contains items of a single data type, while a list can contain items of different data types.