Game Preview

Unit 6 Review

  •  English    14     Public
    Unit 6 Review
  •   Study   Slideshow
  • var numList = [10,20,30]; console.log(numList[numList.length-1]
    30
  •  15
  • What does appendItem do?
    adds an item to the end of a list
  •  15
  • manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation
    data abstration
  •  15
  • an individual value in a list that is assigned a unique index
    Element
  •  15
  • a common method for referencing the elements in a list or string using numbers
    index
  •  15
  • an ordered collection of elements
    list
  •  15
  • occurs when the ending condition will never evaluate to true
    infinite loop
  •  15
  • a repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met
    iteration
  •  15
  • the process of accessing each item in a list one at a time
    traversal
  •  15
  • removeItem command (list, Index)
    removes an item from the list at the specified index
  •  15
  • insertItem (list, index, item)
    inserts an item into a list at the specified index spot
  •  15
  • the value passed to the parameter
    Argument
  •  15
  • a variable in a function definition. Used as a placeholder for values that will be passed through the function
    Parameter
  •  15
  • used to return the flow of control to the point where the procedure (also known as a function) was called and to return the value of expression
    Return
  •  15