Arrays - Reading Assignment

#122

What do arrays allow us to do?

  • store values in the same box and let us easy to call the value by index or amend them
    What index should you use in order to access the first element in an array?
  • [0]
1 Like

#123

1. What do arrays allow us to do? It allows us to store multiple values in a single variable through a sequential collection of elements or variables of the same type.

2. What index should you use in order to access the first element in an array? JavaScript uses a zero-based index, so you should use index 0 to access the first element.

myArray[0]

1 Like

#124
  1. Arrays allow us to store multiple values in a single variable.
  2. Array index starts from zero by default. So first element is indexed as 0, second as 2 etc
1 Like

#125
  1. store multiple values in a single variable
  2. indexOF
1 Like

#126
  1. What do arrays allow us to do?
    Arrays allow us to store a number of values in it.
  2. What index should you use in order to access the first element in an array?
    0
1 Like

#127
  1. What do arrays allow us to do?
    The Array object lets you store multiple values in a single variable.

  2. What index should you use in order to access the first element in an array?
    Array[0] is the first element.

1 Like

#128
  1. What do arrays allow us to do?
    Arrays allows us store multiple variables in one variable, like a table of variables. There are also included different functions in a template, so we could manage the array without making all these functions ourselves.
  2. What index should you use in order to access the first element in an array?
    The first element is given the number 0. So the first element could be accessed by doing testArray[0], thereby accessing the first element in this example array.
1 Like

#129
  1. What do arrays allow us to do?
    Put multiple values into a single variable.

2.What index should you use in order to access the first element in an array?
0

1 Like

#130
What do arrays allow us to do?
  • store multiple values (of the same type) in a single construct.
    What index should you use in order to access the first element in an array?
  • the first element is an array is index 0.
1 Like

#131

1 What do arrays allow us to do ?

An array is a special variable, which can hold more than one value at a time and you can access the values by referring to an index number.

2 What index should you use in order to access the first element in an array ?

Array[0] index must be used in order to access the first element in an array.

1 Like

#132

1. What do arrays allow us to do?
Arrays allow us to hold more than one value in a variable. They allow us to store more than one value of the same kind.

2. What index should you use in order to access the first element in an array?
You should use index 0 as the first element in the array.

1 Like

#133
  1. Arrays allow us to store values of the same type in a contiguous block of memory, doing this allows for simple methods to perform operations on an entire collection of values.

  2. The indexing of arrays begins at 0 and increases from there ending at the length of the array - 1.

1 Like

#134
  1. They allow us to store a lot of content in a one variable
  2. Index 0
1 Like

#135

What do arrays allow us to do?
Arrays allow us to group together, efficiently and into a single value, an assortment of values that are related in some relevant way.

What index should you use in order to access the first element in an array?
Index starts at number zero, so the first element of an array is index [0].

1 Like

#136
  • Arrays is a more convenient way to save and return multiple variables.
  • If no name has been defined for the first element of an array, by default it will be given the number 0.
1 Like

#137

Thank you for taking time to write such a long answer.

1 Like

#138
  1. The Array variable allows us to store multiple variables in a single variable.

  2. index 0

1 Like

#139
  1. Allows us to store more than one data / collection of variables
  2. Index 0 - by default
1 Like

#140

What do arrays allow us to do? : Separate and index strings and other data elements
What index should you use in order to access the first element in an array? : [0]

0 Likes

#141
  1. Arrays allow us to store multiple values in one variable.
  2. we use 0 a the first index.
1 Like