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. The data transfer protocol used on the World Wide Web. About requests and responses. Uses TCP.






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






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






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






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






6. Content- Padding - Border- Margin






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






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






9. Element that will be completed as part of a parent element/task






10. A deletion that triggers another deletion. A cascade delete can be specified for an entity bean that has container-managed persistence.






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






12. A pseudo-method that creates an object. Instance methods with the same name as their class. are invoked using the new keyword.






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






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






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






16. Something that is not included in a rule or group or list or that does not behave in the expected way






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






18. Used to affect a certain portion of your material. They utilize the on/off approach.






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






20. Bean that only survives for current request






21. Gets the value of a Bean property so that you can display it in a result page.






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






23. The data transfer protocol used on the World Wide Web. About requests and responses. Uses TCP.






24. Test class used to test your code automatically






25. Field that uniquely identifies a record in a table






26. Object reference






27. Database that represents data as a collection of tables in which all data relationships are represented by common values in related tables






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






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






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. A software program that checks an HTML document for syntactical errors.






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






33. A class that provides its attributes and methods to a subclass.






34. Method that sets value of the attribute for the request which is retrieved later in either the current JSP page or another JSP page






35. Gets the value of a Bean property so that you can display it in a result page.






36. Spaces at the top and bottom and left and right of the document between the edges of the text; the absolute boundary of text and graphics on a page






37. A module of Java code that is hosted on a web server






38. Server error






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






40. This component of JSP pages replaces the above tag and allows more sophisticated manipulation of values from the bean






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






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






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






44. Sets values for parameters in JDBC






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






46. This component of JSP pages replaces the above tag and allows more sophisticated manipulation of values from the bean






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






48. Identifies the document as a web page.






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






50. The character that seperates one field from another in a plain text file.