Arrays - Reading Assignment

  1. arrays allow us to store values of integers are strings into a single object group, generally relating to a specific topic or data type.
  2. 0, javascript arrays are 0 based.
1 Like
  1. An array allows you to store multiple values in a single variable.
  2. (insert index name here)[0]
1 Like
  1. What do arrays allow us to do?
  • Arrays allows you to set many values in one single variable
  1. What index should you use in order to access the first element in an array?
  • [0]
1 Like
  1. What do arrays allow us to do?
  2. What index should you use in order to access the first element in an array?

1). Arrays allow us store multiple values in a single variable.

2). Index 0 references the first element in an array.

1 Like
  1. Arrays allow us to store multiple values in a single variable and an array can be thought of as a collection of variables of the same type.

  2. Use the ordinal number 0 to access the first element in an array (Name of Array[0])

1 Like
  1. Arrays allow us to put multiple values in a varible
  2. 0
1 Like
  1. What do arrays allow us to do?
  • Collection of variables from the same source.
  1. What index should you use in order to access the first element in an array?
  • 0
1 Like
  1. What do arrays allow us to do?
    Arrays allows us to store multiple elements in a single variable.

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

1 Like
  1. What do arrays allow us to do?
    Arrays allow us to store a collection of data of the same type, i.e. multiple values in one variable.

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

1 Like
  1. The Array object allows you to store multiple values within a single variable.

  2. The first element within the index is 0.

1 Like
  1. An array lets you store multiple values in a single variable.
  2. You would use ordinal number “0” to access the first element in an array.
1 Like
  1. What do arrays allow us to do? An array (only somewhat like the word definition) is a multitude or collection of things that are of the same type or category. It allows us to create groupings or a collections of variables of the same type.

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

1 Like
  1. It let us store multiple values in a single variable. It stores a fixed-size sequential collection of elements of the same type.

  2. To specify the initial length of an array, we use the array constructor function to specify a single numeric parameter. It starts from 0.

2 Likes
  1. An array allow us to stores multiple values inside a variable.
  2. You can access the first element of an array through its index 0.
    Ex: let array = [“elem1”, “elem2”]
    let variable = array[0]
2 Likes
  1. An array lets you store multiple values in a single variable.
  2. The first element is accessed by using Index 0.
1 Like
  1. What do arrays allow us to do?
    An array is used to store a collection of data (strings, integers) but it is often more useful to think of an array as a collection of variables of the same type.
  2. What index should you use in order to access the first element in an array?
    0
1 Like

What do arrays allow us to do?
Arrays allow you to store multiple values in a single variable code. This gives us the ability to create a large collection of values and then use code to call upon each specific one individually.

What index should you use in order to access the first element in an array?
You use the number 0 as this is cataloged as the first number in the array.

2 Likes
  1. What do arrays allow us to do?
    Arrays allow you to store multiple values in a single variable.
  2. What index should you use in order to access the first element in an array?
    The index of the first element would be 0
1 Like
  1. an array is a collction of variables of the same type. var cars = [“BMW”, “Tesla”, “NIO”];
  2. cars[0] will give you the first variable in the list. In this case BMW
1 Like
  1. What do arrays allow us to do? Array object lets you store multiple values in a single variable. It stores a fixed-size sequential collection of elements of the same type.
  2. What index should you use in order to access the first element in an array? (0) ZERO
1 Like