Sail E0 Webinar

MCQs

Total Questions : 53 | Page 6 of 6 pages
Question 51. What function computes the difference of arrays?
  1.    array_diff
  2.    diff_array
  3.    arrays_diff
  4.    diff_arrays
 Discuss Question
Answer: Option A. -> array_diff
Question 52. What functions count elements in an array?
1. count
2. Sizeof
3. Array_Count
4. Count_array
  1.    Option 2 and 4
  2.    Option 1 and 2
  3.    Option 3 and 4
  4.    Option 1 and 4
 Discuss Question
Answer: Option B. -> Option 1 and 2
Question 53. What array will you get if you convert an object to an array?
  1.    An array with properties of that object as the array's elements
  2.    An array with properties of that array as the object's elements
  3.    An array with properties of that object as the Key elements
  4.    An array with keys of that object as the array's elements
 Discuss Question
Answer: Option A. -> An array with properties of that object as the array's elements

Latest Videos

Latest Test Papers