GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

ARRAYS

a St George GCSE Unit 4 GCSE Englisch

Inhalt der Mindmap

ARRAYS

  1. A data structure which holds a set (list) of data items of the same data type.

  2. It is assigned a name, a size (no. of data items to be stored) and a data type.

    • Example: An integer type array called quizScores of size 6 is declared and initialised below:
      • Declaration only:
        • int[] quizScores
      • Declared,, Created & Initialised:
        • int[] quizScores = {23, 29, 18, 24, 16}
      • Declaration & Creation
        • int[] quizScores = new int[6]
  3. Positions in an array always start at 0.

    • An array of 10 items will have positions from 0 to 9
  4. The computer reserves a set of memory locations for each element of an array. They will be next to each other (contiguous)

Informationen

Beschreibung
GCSE GCSE Unit 4 Mindmap am ARRAYS, erstellt von a St George am 07/05/2022.
Erstellt von
a St George
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck