1/12
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress

List
An ordered collection of elements

Element
An individual value in a list that is assigned a unique index
Index
A common method for referencing the elements in a list or string using numbers
Iteration
a repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met.
Infinite loop
occurs when the needing condition will never evaluate to true
Traversal
The process of accessing each item in a list one at a time
Data abstraction
manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation.
List.length
gives the length of the list
List.length-1
Gives the index of the list
list[index]
Returns an item from the list at the specific index
insertItem(list, index, item)
Inserts an item into the list at a specific index, shifts other elements to the right.
removeItem(list, index)
remove item from the list making it smaller, shifts other elements to the left
appendItem(list, item)
adds a new element to the end of the end