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. Any item that can be manipulated such as picture and data file or text.






2. Field that uniquely identifies a record in a table






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






4. Elements not displayed by the browser.






5. Causes the chosen class to be dynamically loaded (at runtime)






6. This Java object encapsulates the information that a servlet sends back to the client






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






8. A blueprint for creating objects of a certain kind; defines data and methods.






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






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






11. attributes that are bound to a session as a mean to provide state to a set of related HTTP requests






12. A communications protocol that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses. Does not require the server to retain sessio






13. Bean that only survives for current request






14. Open-source SQL (Structured Query Language) database implementation. persistence provider.






15. An action that ANT will attempt to do






16. anyone can use to create and manipulate objects. forms public interface.






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






18. XML element that contains other elements and/or attributes






19. a set of classes that supports the development of programs






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






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






22. Defines a standard way for accessing and manipulating HTML documents.






23. Layer below HTTP. HTTP accesses this. Reliable data stream service. The Internet's primary transport protocol; provides a point-to-point channel for applications that require reliable communications






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






25. This part of a CSS rule specifies the set of HTML elements to which a defined style should apply






26. Entries in a database






27. Improving the design of existing software code. doesn't change the observable behavior of the software; it improves its internal structure






28. This Java object is used by a controller servlet to send the request to the appropriate JSP page






29. Specifies where to send the form-data when a form is submitted.






30. a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. Development Automation Tool.






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






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






33. Extension of JAR task with special treatment for files that should end up in WEB-INF directories of the Web Application Archive






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






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






36. Description of a set of requirements to be satisfied by a method






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






38. The element containing the current element with no intervening container elements.






39. Bean that only survives for current request






40. Test class used to test your code automatically






41. Any item that can be manipulated such as picture and data file or text.






42. Open-source servlet container. popular servlet engine of the apache project






43. A special kind of variable used in a subroutine to refer to one of the pieces of data provided as input to the subroutine






44. In the XML element <g:start_time> - g plays this role






45. This Java class outputs the HTML content for a dynamically generated Web page






46. Elements that are rendered (displayed) directly in line with the text






47. a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. Development Automation Tool.






48. One or more complete Java statements grouped together logically - <% %>






49. Used to insert Java values directly into the output. It has the following form: <%= Java expression %>






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