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

Karteikarten

Computer Science Flash Cards IS

callum alwa` Englisch 9 Karten

Karten in diesem Stapel (9)

  1. 1What is an array?An array is a data structure consisting of a collection of elements
  2. 2What is an element?an array data structure, or simply an array, is a data structure consisting of a collection of elements
  3. 3How is the data storedTo store a data item in an array, the element that the data will be stored in needs to be referenced.
  4. 4Why are arrays usedA variable holds a single item of data. There may be a situation where lots of variables are needed to hold similar and related data.
  5. 5Naming arraysArrays are named like variables. The number in brackets determines how many data items the array can hold.
  6. 6StackA stack is a basic data structure that can be logically thought as linear structure represented by a real physical stack or pile
  7. 7Search in an arrayYou can search for an element in an array by using the statement combined with the command word in.
  8. 8PositionYou can find the position of an element in an array by using the index command word and enclosing the element you are looking for in brackets
  9. 9Add an elementYou can add an element to an array in Python with the command word append, followed by the value you want to add in brackets.

Informationen

Beschreibung
Karteikarten am Computer Science Flash Cards IS, erstellt von callum alwa` am 08/12/2020.
Erstellt von
callum alwa`
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck