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. a single instance of that member shared by all instances of this class






2. Methodology that anticipates need for flexibility. focuses on keeping code simple and testing often and delivering functional bits of application as soon as they're ready. goal is to build upon small client-approved parts as the project progresses as






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






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






5. Describes the styles of the page elements - such as their colors and font sizes and background colors.






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






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






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






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






10. Used to pass data to a server. can contain input elements like text fields and checkboxes and radio-buttons and submit buttons and more. It can also contain select lists and textarea and fieldset and legend and label elements.






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






12. a constructor calls another constructor in its class using the ": this()" designation






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






14. This Java class outputs the HTML content for a dynamically generated Web page






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






16. Used to insert Java values directly into the output. It has the following form: <%= Java expression %>






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






18. Sets a property value or values in a Bean.






19. Type of method that changes the state of one field in an object.






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






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






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






23. This Java class outputs the HTML content for a dynamically generated Web page






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






25. Bean that survives for the life of the HTTP session






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






27. Retrieves values in JDBC






28. Used for an origin website to send state information to a user's browser and for the browser to return the state information to the origin site.






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






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






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






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






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






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






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






36. This Java object encapsulates the information that a servlet sends back to the client






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






38. Success






39. Well-formed XML document which also conforms to rules of a Document Type Definition (DTD) or an XML Schema (XSD)






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






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






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






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






44. what an MVC is given by a database






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






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






47. This Java class is used in JDBC pages to execute SQL statements and and provides protection against SQL scripting attacks






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






49. What to attempt to do; requires a "catch" statement






50. Specifies that the Node will contain text elements