dynamic
fixed
single dimension
double dimension
Answer is Right!
Answer is Wrong!
The correct answer is: A. dynamic
A dynamic array is an array whose size can be changed at run time. This is in contrast to a fixed array, whose size is determined at compile time. Dynamic arrays are often used in situations where the size of the data set is not known in advance, or where the data set may change frequently.
Here is a brief explanation of each option:
- A. dynamic – A dynamic array is an array whose size can be changed at run time. This is in contrast to a fixed array, whose size is determined at compile time. Dynamic arrays are often used in situations where the size of the data set is not known in advance, or where the data set may change frequently.
- B. fixed – A fixed array is an array whose size is determined at compile time. This means that the size of the array cannot be changed after the program has been compiled. Fixed arrays are often used in situations where the size of the data set is known in advance, and where the data set is not likely to change frequently.
- C. single dimension – A single-dimensional array is an array that has only one dimension. This means that the elements of the array are arranged in a single line. Single-dimensional arrays are the most common type of array.
- D. double dimension – A double-dimensional array is an array that has two dimensions. This means that the elements of the array are arranged in a two-dimensional grid. Double-dimensional arrays are often used to store data that is naturally organized in a two-dimensional format, such as a table of data.