PHP Number Handling Multiple Choice Questions 1 PDF Download

Learn php number handling multiple choice questions (MCQs), php test 1 for online course prep exams. Practice numerical types MCQs questions and answers on numerical types, simple mathematical functions, mathematical operator, randomness for online information technology degree test prep.

Free php number handling quiz online, study guide has multiple choice question on numerical type in php is integer and with options unsigned short integer, strings, single-precisions and double to test online e-learning skills for viva exam prep and job's interview questions with answers key. Study to learn numerical types quiz questions with online learning 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