Web Data Management

45 Questions | Total Attempts: 495

SettingsSettingsSettings
Please wait...
Data Management Quizzes & Trivia

Chapters 1-3


Questions and Answers
  • 1. 
    1. In a web application, the client uses a ___ to interact with a web server.
  • 2. 
    A __ makes web sites available to other computers over a network.
  • 3. 
    A web application starts when a client sends a/an __ to a server.
  • 4. 
    A __ web page is one that has .html or .htm as its extension.
  • 5. 
    5. In a PHP application, dynamic web pages are generated by PHP scripts that are running on the    __.
  • 6. 
    Firefox is a __.
  • 7. 
    __ is the web server that is commonly used for web applications that are written in PHP.
  • 8. 
    8. To deploy a PHP application on your own server, you copy or move its __ to    the document root directory of the Apache server.
  • 9. 
    9. In an HTTP URL, the __ is coded immediately after the protocol but before the    path.
  • 10. 
    10. If you omit the filename from a URL, the Apache web server displays a list of files and    directories if the specified directory doesn’t contain a __ such as index.php.
  • 11. 
    11. A web application is a type of
    • A. 

      Client/server application

    • B. 

      Client-side application

    • C. 

      Database application

    • D. 

      Server-side application

  • 12. 
    12. When the web server recieves an HTTP request for a PHP page, the web server calls the
    • A. 

      Database server

    • B. 

      Static web page

    • C. 

      Web browser

    • D. 

      PHP interpreter

  • 13. 
    The HTTP response for a dynamic web page is passed
    • A. 

      From PHP to the browser

    • B. 

      From the web server to the browser

    • C. 

      From the database server to the web server

    • D. 

      From the web server to PHP

  • 14. 
    14. Which of the following software components generates the HTML that is returned in an HTTP    response?
    • A. 

      Apache

    • B. 

      MySQL

    • C. 

      Firefox

    • D. 

      PHP

  • 15. 
    15. To deploy a PHP application on your own computer, you copy the application root directory to
    • A. 

      The htdocs directory of the Apache server

    • B. 

      The htdocs directory of the MySQL server

    • C. 

      The xampp directory of the Apache server

    • D. 

      The xampp directory of the MySQL server

  • 16. 
    1. To embed PHP within a file, you start a tag with __, you code the embedded PHP    statements, and you end the tag with ?>.
  • 17. 
    The __ in a block of PHP code are ignored.
  • 18. 
    The __ data type is used to store a true or false value.
  • 19. 
    The variables in PHP are easy to spot because they always start with __.
  • 20. 
    5. A variable name in PHP can only contain letters, numbers, and __.
  • 21. 
    In a simple assignment statement, you code the variable name followed by the __   operator.
  • 22. 
    7. To get the data that is submitted with an HTTP GET request, you use PHP to get the data from    the built-in __ array.
  • 23. 
    To use PHP to send data to the browser, you use the __ statement.
  • 24. 
    9. In an arithmetic expression, division is done before multiplication, but you can override that by    using __.
  • 25. 
    10. When you call a function like the number_format function that returns a value, you usually    __ the result of the function to a variable.