Site hosted by Angelfire.com: Build your free website today!

1. A

2. C

3. You would use an escape character to tell that the word has a special purpose like adding an apostrophe to the word.

4. D

5. A

6. You would need to use complex string syntax if it was declared single and the word was pluralized like $Vegetable and then askes for Vegetables.

7. False

8. C

9. B,C

10. Strpos() is use-sensitive search and returns postions of first occurrence of one string in another string and strrpos() is case-insensitive search and returns postion of last occurrence of one string in another string.

11. Strpos() returns false of one argument and second argument character are not found.

12. C

13. You would use the strok() to break up a group of words listed together into separate groups which call strok() again to the next until you reach the end.

14. False

15. A

16. True

17. B

18. True

19. You would use a single script to display and process the form for simple data.

20. True