Quiz 2
1. Which statement is used to check if a condition is true?
2. How do you write an 'if' statement that also handles a 'false' result?
3. Which operator is used to check if two values are equal?
4. What is the correct way to create an array in PHP?
5. What is the index of the first element in a PHP array?
6. Which function is used to get the length of an array?
7. Which function is used to get the length of a string?
8. Which loop executes as long as a condition is true?
9. Which loop is best suited for looping through an array?
10. How do you start a function definition in PHP?
Previous Next