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 test for online dhtml courses distance learning.

Free php number handling quiz online, study guide has multiple choice question: numerical type in php is integer and with choices unsigned short integer, strings, single-precisions and double for students, scholars and online tutors' study resource for classroom interactive questions with answers. Study to learn numerical types quiz questions with online learning MCQs for competitive exam preparation test.

MCQ on PHP Number Handling Test 1 Quiz PDF Download

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