Self-Test Questions in PHP Language For Beginners Part 10


1. What does the term FILO stand for with arrays, and what is this type of array more commonly known as?
2. What does the term FIFO stand for with arrays, and what is this type of array more commonly known as?
3. With which function can you push a value to the start of an array?
4. With which function can you pop a value from the start of an array?
5. How can you sort the array $Recipes[] alphabetically?
6. How can you numerically sort the array $Temps[]?
7. What should you do if you need to have access to the original order of an array after it has been sorted?
8. With what statement could you remove the elements at indexes 4 and 5 from the array $URLs[] (remember that array elements start at 0)?
9. With what statement could you insert the string google.com into the array $URLs[], starting at index 6?
10. With what statement could you store the string google.com in the array $URLs[], starting at index 3, overwriting the existing value?

Self-Test Questions in PHP Language For Beginners Part 10

No comments:

Post a Comment