Arrays - Reading Assignment

#41
  1. What do arrays allow us to do?
    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?
    Index 0

0 Likes

#42

1.An array allows to store multible values within the same structure.
2.The first index of an array is by default index 0.

0 Likes

#43
  1. Maintain an ordered collection of object references or primitives.
  2. 0
0 Likes

#44

1. What do arrays allow us to do?

Arrays allow us to store a collection of data.

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

You should use index of 0 in order to access the first element in an array.

0 Likes

#45

What do arrays allow us to do?

  • Store multiple values in a single variable

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

  • 0
0 Likes

#46
  1. What do arrays allow us to do?
    Store/organize collections of data- not just single values.
  2. What index should you use in order to access the first element in an array?
    0
0 Likes

#47

1 - Arrays are data “containers”. They allow us to store multiple values in a single array object.
2 - 0

0 Likes

#48
  1. An Array allows us to collect a bunch of values into a single variable. It is very useful.
  2. All elements in an Array start with an index number of 0.
0 Likes

#49

What do arrays allow us to do?
They allow us to store and group many values together.

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

0 Likes

#50
  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.

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

You will use ordinal numbers to access and to set values inside an array as follows.
[0] is the first element

0 Likes

#51
  1. Arrays allow us to store more than one variable of the same type or it can be used to store objects.
  2. The first element is at index 0.
0 Likes

#52

1. What do arrays allow us to do ?
It is used to store a collection of data, variables of the same type.
2. What index should you use in order to access the first element in an array ?
The zero (0).

0 Likes

#53

1. An array is an object in which multiple values (elements) of the same type can be stored.

An array is like holding one physical wallet, where you can store multiple cash notes from the same national currency within it and pick which notes you want to use at a given point in time to spend at the store. This is more efficient than having separate wallets for different cash note denominations.

2. The first array listed is in position no. “0”.

So in order to access the first element use: name [0]

Example.

var firstname = [“Ivan”, “Filip”, “Frieda”]
names [0];
// --> “Ivan”

0 Likes

#54

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

2. What index should you use in order to access the first element in an array?
To access the first element in an array I need use the index 0, something like this:

let names = array('Ivan', 'Daniel');
console.log(names[0]);
0 Likes

#55
  1. Arrays allow us to hold more than one value in a variable.
  2. 0
0 Likes

#56
  1. An array is group of values that lets us store multiple values in a variable
  2. index = 0
0 Likes

#57

How many arrays you can put in another array. what if you loop it deeper and deeper?
Is it just a matter of memory? i rememberd matrixes long time ago. but forgot a lot

0 Likes

#58

Probably a matter of memory… also, from our text, “The maximum length allowed for an array is 4,294,967,295”

0 Likes

#59

//Post must be twenty characters long


tnx m8 😉

0 Likes

#60
  1. Arrays store more than one value in a variable
  2. index 0
0 Likes