Chat with our AI personalities
An array is a computer science equivalent of a vector in mathematics. Both contain a list of data.
In a matrix, the array 5 x 46 would give the matrix 5 rows and 46 columns, each filled in with a number.
An array is a set of numbers that form some sort of regular arrangement. A linear array is a 1-dimensional array consisting of a row or a column of a set of numbers. A 2-dimensional array is a rectangular arrangement of numbers. And there are arrays with higher dimensions. The elements of an array need not be numbers: they could be variables, functions or expressions. In other words, it's a picture to describe a multiplication problem.
I asked the same darn thing when I was in 3rd grade.An array is a arrangement of objects in rows and columns!!!
An array is a 2-dimensional rectangle with length and width. An array also has area and perimeter.