Sail E0 Webinar

MCQs

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

Latest Videos

Latest Test Papers