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






2. Method for just getting (retrieving) data.






3. This component of the MVC architecture represents what is delivered to the client browser






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






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






6. Bean that only survives for current request






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






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






9. The next generation of HTML and is a hybrid between HTML and XML. XML was designed to describe data. HTML was designed to display data.






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






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






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






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






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






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






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






17. Specifies whether or not an element is visible






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






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






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






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






22. Elements that are rendered (displayed) with empty space above and below






23. Programming language designed for managing data in relational database management systems






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






25. a database view that allows the user to see all fields for one record and enter them one at a time.






26. Sets values for parameters in JDBC






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






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






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






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






31. Object reference






32. Content- Padding - Border- Margin






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






34. A document type that allows the use of deprecated tags.






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






36. Entries in a database






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






38. Test class used to test your code automatically






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






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






41. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean






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






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






44. a database view that allows the user to see all fields for one record and enter them one at a time.






45. These auto-generated methods allow us to change data members of a Java class






46. Specifies that the Node will contain text elements






47. Prints a message and exits the current script






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






49. Design pattern for asynchronous invocation of potentially long-running methods of an object






50. HTTP request method. Parameters are passed to the server through a separate input channel. used for non-dempotent requests.