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. Test class used to test your code automatically






2. This provides methods that allow you to retrieve header information as well as information about the client and server.






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






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






5. Bean that only survives for current request






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






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






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






9. Protocol layering is a common technique to simplify designs by dividing them into functional layers each concerned primarily with one task.






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






11. Represents a table in a relational database; each instance corresponds to a row in that table






12. Elements not displayed by the browser.






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






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






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






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






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






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






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






20. This generic technique (not a Java class) associates Java objects with records in a database






21. Specification about a tag (first ordered list: 1-2-3 or A-B-C)






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






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






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






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






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






27. A component of the Java EE Web application development platform. It extends the JSP specification by adding a tag library of JSP tags for common tasks such as XML data processing etc.






28. Runs tests in ANT; just have <formatter> - <test> and <classpath>






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






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






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






32. The exclusive address of a web page. The official term is Uniform Resource Locator.






33. The act of sending onto another destination






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






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






36. a class whose primary purpose is to define an interface deferring some or all of its implementations to subclasses. Cannot be instantiated






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






38. Defines objects which can connect Java applications to a JDBC Driver






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






40. Java classes inside a package that have already been compiled into byte code.






41. an object that provides an abstract interface to some type of database






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






43. Rreduces the amount of redundancy in code that may connect to the database (assists in some functionality)






44. Server error






45. a test of each individual component (often a program) to ensure that it is as defect-free as possible






46. If you want to use the same path-like structure for several tasks - you can define them with this






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






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






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






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