Arrays - Reading Assignment

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?
   Index 0, ia fruits[0] is the first element
  1. What do arrays allow us to do?
    Arrays allow us to store multiple values within a single variable.

  2. What index should you use in order to access the first element in an array?
    In order to access the first element within an array, the index 0 should be used.

1.What do arrays allow us to do?
Arrays gives us opportunity to store more than one variable in a single one.

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

  1. Hold a collection of information in one variable.
  2. array[0]
  • What do arrays allow us to do?

Lets you store multiple values in a single variable

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

0

  1. Arrays allow us to use multiple values in a single variable.
  2. You should write the index name and add [0] and it represent the first element in array
  1. Arrays allow us to reference a list of data and is stored as a single variable.
  2. The index to reference the first element of an array is 0.
  1. What do arrays allow us to do?

It allows us to collect several values of the same type inside one variable.

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

variable[0];

  1. What do arrays allow us to do?
    they allow us to store multiple values in a single variable

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

  • What do arrays allow us to do?
    Storing multiple values of the same type in a single, indexed, variable.
  • What index should you use in order to access the first element in an array?
    0
  1. What do arrays allow us to do?
    Allows us to store a collection of values within one variable and then access or set the values within the array.

We can then use the various array methods to re-order the array, call specific elements of the array, join the array together into a single string, reverse the array etc.

  1. What index should you use in order to access the first element in an array?
    var array = [“x”, “y”, “z”];
    array [0];

We can have multiple values stored in a variable.

0

1. What do arrays allow us to do?

Collect data of the same type together into one variable.

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

0 (zero)

  1. What do arrays allow us to do?
    It lets us store multiple values in a single variable.

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

Hello,

1.arrays allow us to assign values to a single variable. In the example, the variable var fruits = [“mango” , “banana”, “apple”].

  1. Counting starts from 0. so index 0.

Best,

Store multiple values in a single variable

First element in an array is “0”

  1. What do arrays allow us to do?
    Arrays allow us to store multiple values in a single variable.

  2. What index should you use in order to access the first element in an array?
    arrays start with a base of zero, so whenever calling the first value, you must use the number zero instead of one.

  1. Arrays allow you to store multiple values in a single variable.
  2. item[0]
  1. We can store multiple values of the same type into one variable.
  2. 0
  1. Array’s allow us to store multiple values in a single variable together regardless of datatype.

  2. to access first element in an array you would use index 0 ie. index[0]