Arrays - Reading Assignment

#182
  1. Arrays allow us to collect variables of the same type.
  2. [0] is the first element.
0 Likes

#183
  1. What do arrays allow us to do?

Store a collection of variables of the same type in a single variable

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

Index 0 as arrays are zero-based

0 Likes

#184

1. What do arrays allow us to do?

Arrays let you store multiple values within a single variable

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

First Index is 0

0 Likes

#185
  1. What do arrays allow us to do?
    To join like data in lists. Where one var fruits = [β€œapple”, β€œorange”, etc

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

Base 0 index. Always counting up from 0 as bianarry first bit 0 is off 1 is on.

0 Likes

#186
  1. What do arrays allow us to do?
    Arrays allow us to define multiple values in a single variable
  2. What index should you use in order to access the first element in an array?
    arrayName[0]
0 Likes

#187
  1. Arrays allow to store more than one value in a single variable.
  2. According to the convention we use index β€œ0” in order to access first element in the array.
0 Likes

#188
  1. Arrays are used to store multiple values in a single variable.
  2. 0 index should be used to access first element of the array.
0 Likes

#189
  1. What do arrays allow us to do?
    Allow store collection of data in one variable.
  2. What index should you use in order to access the first element in an array?
    0
0 Likes

#190
  1. Arrays allow us to store multiple variables of the same type. We can thus operate on them simultaneously, using the specific methods for arrays.

  2. IndexOf

0 Likes

#191
  1. What do arrays allow us to do?
    Arrows 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?
    Since JavaScript uses 0 indexing the first element can be accesed through 0

0 Likes

#192
1. What do arrays allow us to do?

Arrays objects allow us to store multiple values in a single variable. It is a collection of variables of the same type.

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

The first element is accessed using index 0.

0 Likes

#193
  1. What do arrays allow us to do?

The Array object lets you store multiple values in a single variable.
It stores a fixed-size sequential collection of elements of the same type.
An array is used to store a collection of data, but it is often more useful
to think of an array as a collection of variables of the same type.

  1. What index should you use in order to access the first element in an array?
    Arrays start counting at 0 so when you want to call the first value of the array then you use 0
0 Likes

#194

1. What do arrays allow us to do?
Store multiple values in a single variable. Arrays are very useful for a programmer because unlike a defined variable Arrays have the benefit to continue to store additional variables when the variable amount is unknown. The second benefit of Arrays allows a programmer to increase the speed and efficiency of the application.

2. What index should you use in order to access the first element in an array?
There are 21 methods to manage Arrays, the most common being .indexOf(). To access the first element of an array start with the number 0. arrayName.indexOf(0);

0 Likes

#195
  1. What do arrays allow us to do?
    An array allows to store multiple values of the same type (strings for example) in a single variable.
  2. What index should you use in order to access the first element in an array?
    We can access it by using the name of the variable followed by [0]. For example, x[0] will return the first element of the array x.
0 Likes

#196
  1. Arrays allow us to store multiple values in one variable, they can be thought of as a collection of variables of the same type.

  2. In order to access the first element in an array, you need to reference the [0] element (ordinal numbering).

0 Likes

#197
  1. What do arrays allow us to do? Arrays allow to hold a collection of value in a single variable.
  2. What index should you use in order to access the first element in an array? To acsess the first element in an array it has to be used index 0.
0 Likes

#198
  1. It allows us to put more variables of the same type in memory.
  2. The first element is 0
0 Likes

#199

1.The Array object lets you store multiple values in a single variable.
2.humans count from1 but machines from β€œ0”
the first element has index vaule β€œ0”

0 Likes

#200
  1. What do arrays allow us to do?
  • Store multiple values within a variable.
  1. What index should you use in order to access the first element in an array?
  • First element will be in index 0, so you can find it at arrayName[0].
0 Likes

#201
  1. Arrays allow us to store multiple values in a single variable.
  2. You would use index 0 to access the first element in the array.
0 Likes