1. | How many functions are used by PHP to convert between arrays and variables? |
Answer: (b).2
|
2. | Which of them is an abstract data structure (ADT)? |
Answer: (d).Both a and c
|
3. | What does explode ( ) function do? |
Answer: (b).Converts a string into arrays
|
4. | Functions that returns a new array without disturbing their old arguments might be called as |
Answer: (d).Both a and c
|
5. | Compact ( ) function is used to create an array from |
Answer: (d).Both a and b
|
6. | For changing arrays into strings, which function is used? |
Answer: (c).implode ( )
|
7. | Array_flip ( ) function changes keys of an array into |
Answer: (d).Values
|
8. | Shuffle ( ) function operates directly on its array arguments and changes it, that's why it is called |
Answer: (b).Destructive function
|
9. | LIFO stands for |
Answer: (c).First in Last Out
|
10. | Array_splice function is same as array_slice but it starts taking arguments from |
Answer: (d).Fourth argument
|