Multiple Choice Questions on PHP String Handling Quiz PDF Download

PHP String Handling Multiple Choice Questions and Answers (MCQs), php string handling quiz answers PDF, php test 1 to study online certification courses. Learn strings in php MCQs, "PHP String Handling Quiz" questions and answers for admission and merit scholarships test. Learn strings in php, string replacement, comparison and searching career test for associates in computer science.

"A sequence of characters that is treated as a unit is called" Multiple Choice Questions (MCQ) on php string handling with choices functions, arrays, methods, and strings for top computer science schools. Practice jobs' assessment test, online learning strings in php quiz questions for online degrees.

MCQs on PHP String Handling Quiz 1 PDF Download

MCQ: A sequence of characters that is treated as a unit is called

  1. Arrays
  2. Functions
  3. Methods
  4. Strings


MCQ: The ltrim ( ) returns its string argument with

  1. Leading blankspace removed
  2. Trailing blankspace removed
  3. Numerical values
  4. None of them


MCQ: When two strings are exactly equivalent Strcmp ( ) returns what?

  1. Returns a string
  2. Returns 0
  3. Returns 1
  4. Returns nothing


MCQ: For finding out one string is equal to another string which function we can use?

  1. strpid ( )
  2. strpos ( )
  3. str ( )
  4. All of them


MCQ: Returns a string arguments with trilling blank space removed, is a behavior of

  1. starts ( ) function
  2. chop ( ) function
  3. rtrim ( ) function
  4. Both B and C