NAME

Question types


Start with


Question limit

of 38 available terms

Advertisement Upgrade to remove ads
Print test

5 Written questions

5 Matching questions

  1. ucwords()
  2. str_replace()
  3. foreach($array as $key => $value)
  4. strlen()
  5. explode()
  1. a returns length of string
  2. b takes 2 arguments: string, replacement string
  3. c capitalizes the first letter of each word
  4. d a loop with 3 args: array, $key, $value
  5. e 2 args: delimiter, array. creates an array using the delimiter to distinguish elements

5 Multiple choice questions

  1. converts an integer or float into a string
  2. accepts 2 args: value, array -> true or false. Value is case sensitive for strings.
  3. makes letters uppercase in a string
  4. returns formatted string, % is replaced by an item to print
  5. inverse of asort()

5 True/False questions

  1. abs()a loop that takes 3 expressions: initialization, test, and iteration

          

  2. strcmp()returns a string trimmed of leading and trailing whitespace

          

  3. implode()2 args: delimiter, array. prints out elements of an array separated by the delimiter

          

  4. while()repeating if()

          

  5. preg_match()2 args: regex, string -> 0 pattern didn't match or 1 pattern matched once

          

Create Set