Respuesta :
Answer:
The answer to this question is given below in the explanation section.
Explanation:
A variable is used for storing numbers, character, and string. In short, variables are containers that store values.
While the array is a collection of elements of the same data types. For example, if the array is an integer data type, then all its elements are integers.
As asked in this question, a variable of data type arrays is a storing 10 quantities, what is true about these quantities.
First, we know that this array is storing 10 quantities, it means that it is storing some 10 quantities that are in number. So, this array is storing integer number in it. In this scenario, the options D and B are correct. That is, for this array, all quantities must be integers and have the same characteristics.
Why other options are not correct?
A. The quantities all have different characteristics.
This option is not true according to the definition of an array that is the elements in the array have the same characteristics, meaning that, all elements should be of the same data type.
C. Five quantities have the same and five have different characteristics.
It is true according to the definition of an array as described above in option A.
E. It is necessary for all quantities to be characters.
This option is not true according to the context of the question. Because the array is storing quantitative values. While quantitative values cannot be considered to store characters. Because you are not allowed to store character values into integer data types. If you can do it by program, then it will generate an error if you want to perform some mathematical operation on these values.