Failed questions

Cards (4)

  • What is the relationship between function calls and function declaration?
    Function name must be same in both
    Order of parameters must be the same
    Data type of parameters must be same as arguments
    Returned value must be assigned to a variable of the correct type
  • Two validation techniques?
    Presence check, which ensures there are no empty field when user enters data
    Range check, which ensures that data is within a range
  • Robust is making code that can handle invalid inputs. This prevents unexpected program stopping
  • Reliable is ensuring code acts as documented each time it as ran.