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. One or more complete Java statements grouped together logically - <% %>






2. A project that contains resources for a Web application with dynamic content such as servlets or JavaServer Pages (JSP) files






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






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






5. Part of class definition that tells control what to do in response to event






6. This is used to select user information.






7. Sets values for parameters in JDBC






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






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






10. a piece of Java-code embedded in the HTML-like JSP code






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






12. Method that retrieves the values corresponding to the given attribute name that is set through setAttribute()






13. Part of JUnit and fails a test with no message






14. Written programs or procedures or rules and associated documentation pertaining to the operation of a computer system and that are stored in read/write memory






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






16. In JSP; makes it possible to easily access application data stored in JavaBeans components (by using characters such as {...} - < - >). Used with JSTL to replace all JAVA






17. The act of sending onto another destination






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






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






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






21. Clears an area around the content which is inside of the border of an element (length-%)






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






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






24. This DTD contains all HTML elements and attributes but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed.






25. Entries in a database






26. The window or viewing area that displays web pages and if smaller than the web page - scroll bars should be available.






27. Method that may involve anything - like storing or updating data or ordering a product or sending E-mail.






28. Manages the behavior and data of the application. Logic and data java class






29. A project that contains resources for a Web application with dynamic content such as servlets or JavaServer Pages (JSP) files






30. Server error






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






32. A mechanism defined in the HTTP specification that makes it possible to serve different versions of a document (a resource representation) at the same URI so that user agents can specify which version fit their capabilities the best.






33. 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).






34. a piece of Java-code embedded in the HTML-like JSP code






35. Java class specifically created to enable communication with a particular database management product such as MySQL






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






37. Defines restrictions on a simpleType or simpleContent or complexContent definition; names that are reserved by XML






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






39. An open source software implementation of the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed under the Java Community Process.






40. Tag that gives you the option to iterate over arrays and collections






41. The act of intercepting requests and responses to transform or use info contained in the requests or responses; can transform response from a servlet or JSP page






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






43. Keyword that can be used inside any method to refer to the current object






44. Attribute that can be used to generate a unique identity for new rows






45. Returns a reference to the element by its ID where element is a reference to an Element object or null if an element with the specified ID is not in the document.






46. Returns a list of elements with the given tag name.






47. Test class used to test your code automatically






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






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






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