NAME

Question types


Start with


Question limit

of 38 available terms

Advertisement
Print test

5 Written questions

5 Matching questions

  1. abs()
  2. printf()
  3. ksort()
  4. sort()
  5. krsort()
  1. a sorts an array by element value and reassigns the element keys in order of sorting: zero to last element
  2. b sorts an array by keys
  3. c inverse of ksort()
  4. d returns formatted string, % is replaced by an item to print
  5. e returns absolute value of an argument

5 Multiple choice questions

  1. a loop with 3 args: array, $key, $value
  2. accepts decimal number -> hexadecimal form
  3. 2 args: delimiter, array. prints out elements of an array separated by the delimiter
  4. removes html tags from a string
  5. 2 args: delimiter, array. creates an array using the delimiter to distinguish elements

5 True/False questions

  1. asort()sorts an array by keys

          

  2. if()returns absolute value of an argument

          

  3. while()repeating if()

          

  4. trim()returns true or false

          

  5. strcasecmp()returns 0 if two strings are equal, ignoring case