PHP String Handling Multiple Choice Questions and Answers 1 PDF Book Download

Php string handling MCQs, php string handling quiz answers to learn php quiz 1 for web design online courses. Learn strings in php multiple choice questions (MCQs), php string handling quiz questions and answers. Free e-learning tutorial on strings in php, string replacement, comparison and searching test prep for computer science certification exams.

Practice php string handling career test with multiple choice question: a sequence of characters that is treated as a unit is called, to learn web design degree with options functions, arrays, methods, strings for information systems careers. Professional skills assessment test with online learning strings in php quiz questions with php MCQs for professional online certifications.

MCQ on PHP String Handling Test 1Quiz Book Download

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

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

D

MCQ: Ltrim ( ) returns its string argument with

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

A

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

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

B

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

B

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

D