User Tools

Site Tools


eg-259:review:php1

Introduction to PHP (Part 1)

Adapted from: Robert W. Sebasta, Programming the World-Wide Web, 3rd Edition, Addison Wesley, 2006. Supporting: Contact Hour 19.

  1. How Does a Web server determine whether a requested document includes PHP code
  2. What are the two modes of the PHP processor?
  3. What are the syntax and semantics of the include construct?
  4. Which parts of PHP are case sensitive and which are not?
  5. What are the four scalar types of PHP?
  6. How can a variable be tested to determine whether it is bound
  7. How can you specify to the PHP processor that you want uses of unbound variables to be reported
  8. How many bytes are used to store a character in PHP?
  9. What are the differences between single- and double-quoted literal strings
  10. If an integer expression appears in Boolean context, how is its Boolean value determined?
  11. What happens when an integer arithmetic operation results in a value that cannot be represented as an integer?
  12. If a variable stores a string, how can the character at a specific position in that string be referenced?
  13. What does the chop function do?
  14. What is a coercion?
  15. What are the three ways the value of a variable can be explicitly coerced to a specific type
  16. How can the type of a variable be determined?
  17. If a string is compared with a number, what happens?
  18. What is the advantage of using the unique closing reserved words such as endwhile?

More Review Questions

eg-259/review/php1.txt · Last modified: 2012/03/13 19:25 by eechris