String Replacement Quiz Questions and Answers 4 PDF Download

Learn string replacement quiz, online php test 4 for online courses, distance learning. Free php MCQs questions and answers to learn string replacement MCQs with answers. Practice MCQs to test knowledge on string replacement, simple mathematical functions, comparison and searching, including files, server side scripting for online computer engineering courses prep.

Free string replacement course worksheet has multiple choice quiz question as ltrim ( ) returns its string argument with with options Leading blankspace removed, Trailing blankspace removed, Numerical values and none of them with problems solving answer key to test study skills for online e-learning, viva help and jobs' interview preparation tips, study php string handling multiple choice questions based quiz question and answers.

Quiz on String Replacement Quiz PDF Download Worksheet 4

String Replacement Quiz

MCQ. Ltrim ( ) returns its string argument with

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

A

Simple Mathematical Functions Quiz

MCQ. A simple mathematical function in PHP that takes a single argument and returns nearest integer, is a

  1. round ( )
  2. abs ( )
  3. max ( )
  4. floor ( )

A

Comparison and Searching Quiz

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

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

B

Including Files Quiz

MCQ. Include ( ) and include_once ( ) will generate a warning message on failure, While require ( ) and require_once ( ) will cause

  1. A fatal error
  2. Termination of script
  3. No error
  4. Both A and B

D

Server Side Scripting Quiz

MCQ. Server side scripting websites consists of two main parts, one is scripting language and other is

  1. Scripting engine
  2. User interaction mode
  3. Server interaction mode
  4. None of them

A