Test your basic knowledge |

Java Web Programming

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. This Java class is used in JDBC pages to execute SQL statements and and provides protection against SQL scripting attacks






2. Your computer sends a ______ for some file (e.g. "Get me the file 'home.html'") and the web server sends back a response ("Here's the file" - followed by the file itself).






3. Specifies that the child elements must appear in an order






4. The exclusive address of a web page. The official term is Uniform Resource Locator.






5. JavaScript library that emphasizes interaction between JavaScript and HTML.






6. A GET request results from a normal request for a URL or from an HTML form that has no METHOD specified and it should be handled by this method.






7. This component of the MVC architecture directs client requests to the appropriate resource






8. Prints a message and exits the current script






9. a class with a default constructor that exposes properties through its (get) and (set) methods - Generic name for a Java class that manages data on behalf of a JSP page






10. Single piece of info; record is one complete set of these






11. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character






12. A set of assertion methods useful for writing tests. Only failed assertions are recorded.






13. Tells a Browser how and where to display text and images on a web page.






14. Marks successful completion of one or more tasks - what you are trying to get to.






15. Relational database driver used in PHP programming language to provide an interface with MYSQL databases






16. Enables a subclass to call the methods and fields of its superclass






17. Servlet configuration descriptor to use WEB-INF/web.xml; required most of the time in WAR task






18. Your computer sends a ______ for some file (e.g. "Get me the file 'home.html'") and the web server sends back a response ("Here's the file" - followed by the file itself).






19. The GET and HEAD are ____ methods and SHOULD NOT have the significance of taking an action other than retrieval.






20. allows you to create and bind objects to a session. is often used for managing security credentials and for managing state among multiple pages (such as in a Web-based wizard). Lasts for life of request






21. Objects of any type that are explicitly placed on the request object via a call to the setAttribute() method






22. allows client software to communicate with database server software






23. Object associated with a visitor; similar to a Hashtable; different set of data kept for each visitor to the site






24. an object that provides an abstract interface to some type of database






25. Uses the equal sign to give the object property on the left of the equal sign the value on the right of the equal sign.






26. In the relational database model is a collection of similar entities. An entity is represented by






27. Java classes inside a package that have already been compiled into byte code.






28. Insert a string or replace a variable with its value; makes string formatting and specifying contents more intuitive






29. A software program that checks an HTML document for syntactical errors.






30. What to attempt to do; requires a "catch" statement






31. Java Server Page - web page coding standard that allows developers to dynamically generate web pages in response to user request






32. Set of data elements (values) that is organized using a model of vertical columns (identified by their name) and horizantal rows






33. Name of the tag to which the style declarations have been assigned






34. Primary key of one table that appears as an attribute in another table and acts to provide a logical relationship between the two tables






35. a single instance of that member shared by all instances of this class






36. associative array containing session variables available to the current script






37. Scope of variables that would be stored in a database






38. The default positioning system used by web pages and browsers for where objects in a web page will be displayed. Objects are placed depending on where they occur in the code sequence.






39. This can be of two types: loaded from an external tag library or predefined tag; do not use <% but just the < character






40. Class that extends the attributes and methods of a superclass






41. Primary key of one table that appears as an attribute in another table and acts to provide a logical relationship between the two tables






42. Used for an origin website to send state information to a user's browser and for the browser to return the state information to the origin site.






43. In the XML fragment <node id="7" x_pos="330" ypos="450">Smallville</node> - node fills this role






44. In this handler use event object to determine event target






45. A special type of button in your forms that will perform the form's set action.






46. This term describes an action for which performing the action twice has the same effect as performing it once






47. Done by including portions of SQL statements in a web form entry field in an attempt to get the website to pass a newly formed rogue SQL command to the database






48. A notation that shows all of the information needed to invoke (or call) the method






49. Used for an origin website to send state information to a user's browser and for the browser to return the state information to the origin site.






50. XHTML element - a class name - an id name