eg-259:review:webdb
Review Questions
Adapted from: Robert W. Sebasta, Programming the World-Wide Web, 3rd Edition, Addison Wesley, 2006. Supporting: Contact Hour 22.
- What is the purpose of a third tier in a client/server configuration for Web access to a database?
- Why are two-tier client/server configurations sometimes inadequate?
- At the end of this lecture you should be able to answer these questions:
- Explain how SQL database access can be provided by extending a programming language.
- What is the disadvantage of embedding SQL in a programming language?
- What is MySQL?
- What does the MySQL constraint
auto_increment
do? - What is the problem with quotes in a SQL command obtained from a form element in an XHTML document?
- What is the purpose of the PHP
mysql_select_db
function? - How can a PHP program determine the number of rows in a query result?
- What does the PHP function
mysql_fetch_array
do? - Explain the exact form of the value returned by
mysql_fetch_array
. - What is metadata?
- How is the collection of metadata extracted from a database?
- How can column labels can be obtained from an object of metadata?
eg-259/review/webdb.txt · Last modified: 2012/03/22 09:18 by eechris