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. an object that provides an abstract interface to some type of database






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






3. Success






4. 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






5. String that is the result of submitting an HTTP request/form with query that specifies the name/value pairs






6. Specific style elements such as background-color and font-size fill this role in CSS






7. Combination of data and operations that can be performed on that data; specification of the data members and methods of the object.






8. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute






9. This is used to select user information.






10. Object used for executing a static SQL statement and returning the result it produces






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






12. A Java keyword used in method declarations that specify which exceptions are not handled within the method but rather passed to the next higher level of the program.






13. API for valid HTML and well-formed XML documents. defines logical structure of documents and the way a document is accessed & manipulated






14. This Java class is used in JDBC pages to execute SQL statements and provides protection against SQL scripting attacks






15. Elements not displayed by the browser.






16. The event gets sent to the most specific element and after this element has an opportunity to react - the event bubbles up to more general elements.






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






18. a constructor calls another constructor in its class using the ": this()" designation






19. Controlling the exact location of text and pictures on a web page by specifying coordinates on the page.






20. If the XML file containing the fragment above were parsed with a W3C DOM parser (as in our programming assignment) - the contents of the fragment above would appear as an object satisfying this interface






21. Sets a property value or values in a Bean.






22. Does nothing if expected value equals actual value but throws error otherwise






23. Channel into a new direction (to a different page)






24. 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.






25. 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






26. Entries in a database






27. Specifies that the Node will contain text elements






28. Short for World Wide Web Consortium. It is the international governing body for the development of platform independent web standards and specifications.






29. A POST request results from an HTML form that specifically lists POST as the METHOD and it should be handled by this method.






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






31. Object reference






32. Object created by servlet container for Servlets to access environment information and provide ability for Servlet to bind object attributes to the invironment scope by name






33. An API used to send HTTP requests directly to a web server and load the server response data directly back into the script.






34. Language that support either implicit type conversion (nearly all languages support at least one implicit type conversion) and ad-hoc polymorphism (also known as overloading) or both (ex. PHP)






35. Bean that survives for the life of the HTTP session






36. A program that extracts comments from Java Source files and produces documentation files in HTML.






37. Name which includes a directive to a particular class or object in its reference (ex. System.in); use the .(dot) operator






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






39. Specifies that the Node will contain text elements






40. Generic name for a Java class that manages data on behalf of a JSP page






41. This XML processing technology is used to identify sets of elements - such as all the <title> elements that occur as children of <item> elements






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






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






44. Method that tests the program






45. The function for the browser to run when the server responds to your request






46. Sets values for parameters in JDBC






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






48. Provides a way to identify a user across more than one page request or visit to a Web site and to store information about that user.






49. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute






50. Type of method that returns the state of one field in an object.