Arrays - Reading Assignment

1 O array permite armazenas diversos valores dentro de uma unica variável, servindo como um banco de dados. Existem diversos métodos de Array, esses métodos servem para organizar, editar, o array, além de consultar e chamar funções.

1 The array allows you to store several values within a single variable, serving as a database. There are several array methods, these methods are useful for organizing or editing the array, in addition to querying and calling functions.

2 indexOf(0)

1 Like

What do arrays allow us to do?

Arrays are data structures that allow us to represent lists of items.


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

[0]

1 Like
  1. Arrays let you store multiple values inside of one variable.

  2. You should use the index [0] to tap the first element inside of an array.

1 Like
  1. An array allows us to store multiple data points of the same type.
  2. Variable [0] will allow you to access the first element in an array.
1 Like
  1. What do arrays allow us to do?
    Allow you to assign/hold multiple values within a single variable.

  2. What index should you use in order to access the first element in an array?
    First array element would indexed by using “0”.

1 Like
  1. What do arrays allow us to do?

Array is an object that allows storing a collection of data or multiple values in a single variable

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

An array is a zero-based indexing system that uses zero (0) to access the first element

1 Like
  1. Helps assign storing multiple values in a single variable. Or can be called as collection of variables of same type.
  2. [0]
1 Like
  1. What do arrays allow us to do?

Allow us to store multiple values in a single variable, it is used to store a collection of data.

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

An array uses 0 for the first element, index 0

1 Like
  1. Arrays allows us to store a list of values/strings to a single object.
  2. The first element is stores in the index 0. Hence arrayname[0];
1 Like

What do arrays allow us to do?
An Array object lets us store multiple values in a single variable.

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

1 Like
  1. Arrays allow us to store multiple values in a single variable. It stores a fixed size sequential collection of elements…

  2. Index for arrays begins at 0, so the second value would be indexed as 1.

1 Like
  1. Arrays allow us to hold more than one value on one variable
  2. 0
1 Like
  1. Arrays allow for the collection/storage of same type elements within a single variable.
  2. [0]
1 Like
1. What do arrays allow us to do?

Arrays allow the storage of a collection of sequentially stored items in a single variable. Arrays are of fixed size, though the javascript implementation allows arbitrary sized arrays by not specifying the size. Internally it copies the existing array into a larger fixed sized array as needed.

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

By standard convention arrays are indexed starting at zero for the first element.

1 Like

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.

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

1 Like
  1. Arrays allow us to store and work with a list of strings or integers.

  2. array[0] would be the location of the first value in the array.

1 Like
  1. Arrays allows us to store multiple values in a single variable.
  2. Array indexes start from zero.
1 Like
  1. Arrays let us store more than one value in a variable.
  2. 0
1 Like
  1. arrays let us stores a fixed-size sequential of elements of the same type is a single variable
  2. zero
1 Like

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

lets think of fresh made coffee

var coffee = [ " espresso ", "cappucino" , "black coffee no sugar involved" ]

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

1 Like