PHP Number Handling Multiple Choice Questions and Answers 1 pdf eBooks Download

Learn php number handling multiple choice questions (MCQs), php test 1 online for exams. Practice numerical types MCQs questions and answers on numerical types, simple mathematical functions, mathematical operator, randomness with answers. Free php number handling quiz, online study guide has helping answer key with choices as unsigned short integer, strings, single-precisions and double of multiple choice questions (MCQ) as numerical type in php is integer and to test learning skills for viva exam preparation and job's interview questions. Study to learn numerical types quiz questions to practice online MCQs for competitive exam preparation test.

MCQ on PHP Number Handling Quiz pdf Download Test 1

MCQ. Numerical type in PHP is integer and

  1. Strings
  2. Unsigned short integer
  3. Single-precisions
  4. Double


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 ( )


MCQ. Which operators have higher precedence?

  1. Arithmetic operators
  2. Comparison operators
  3. Logical operators
  4. Boolean operators


MCQ. How many numerical types are allowed in PHP?

  1. 1
  2. 2
  3. 3
  4. 4


MCQ. Mt_rand ( ) function produces a better random value, and is 4 times faster than

  1. Assignment function
  2. Boolean function
  3. Comparison functions
  4. rand ( ) function