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. This XML processing technology is used to identify sets of elements - such as all the <title> elements that occur as children of <item> elements






2. Bean that only survives for current request






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






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. This Java class is used in JDBC pages to execute SQL statements and and provides protection against SQL scripting attacks






6. A system where Web pages and their associated graphics are stored locally on a client computer to reduce Internet traffic and download wait time the next time the page is viewed.






7. Handles the error if it does not satisfy the "try" statement






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






9. This modifier on a Java class member directs that the member should have a single value that is shared by all instances of this class






10. The default positioning system used by web pages and browsers for where objects in a web page will be displayed. Objects are placed depending on where they occur in the code sequence.






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






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






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






14. Class of agile programming in which "waterfall" loop is compressed into shorter loops. each iteration adds functionality & client is responsible for acceptance testing.






15. Success






16. Web page content that changes or is changed automatically based on database content or user information.






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






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






19. Set of data elements (values) that is organized using a model of vertical columns (identified by their name) and horizantal rows






20. Elements not displayed by the browser.






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






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






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






24. Accessor whose purpose is to return the value stored in an instance variable.






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






26. A set of assertion methods useful for writing tests. Only failed assertions are recorded.






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






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






29. HTTP request method. Parameters are encoded in URL. used for idempotent requests.






30. Record consisting of one or more fields that are links to other nodes and a data field






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






32. Class of agile programming in which "waterfall" loop is compressed into shorter loops. each iteration adds functionality & client is responsible for acceptance testing.






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






34. Advances the record cursor by one record. Returns a boolean value indicating success or failure. Failure occurs if the cursor moved past the last record.






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






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






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






38. A style sheet containing format and layout settings that is stored in a separate file.






39. Object reference






40. Renders the model into a form suitable for interaction - typically a user interface element. HTML and CSS






41. This component of the MVC architecture holds business data that will be displayed in the JSP page






42. Set of data elements (values) that is organized using a model of vertical columns (identified by their name) and horizantal rows






43. Can't attempt one task until a previous task is successful






44. stores information about or change settings for a user session. Variables stored in it hold information about one single user and are available to all pages in one application.






45. jQuery provides a single object with the most important properties.






46. Accessor whose purpose is to return the value stored in an instance variable.






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






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






49. Retrieves values in JDBC






50. A GET request results from a normal request for a URL or from an HTML form that has no METHOD specified and it should be handled by this method.