PHP Number Handling Multiple Choice Questions Test 1 Tests pdf Download

Practice php number handling multiple choice questions (MCQs), php test 1 online to learn. 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 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. Study to learn numerical types quiz questions to practice MCQ based online 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

D

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

MCQ. Which operators have higher precedence?

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

A

MCQ. How many numerical types are allowed in PHP?

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

B

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

D