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. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean






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






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






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






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






6. Description of a set of requirements to be satisfied by a method






7. A communications protocol that treats each request as an independent transaction that is unrelated to any previous request so that the communication consists of independent pairs of requests and responses. Does not require the server to retain sessio






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






9. Ascripting language used to make HTML pages interactive






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






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






12. Scope of variables that would be stored in a database






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






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






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






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






17. Computer stops examining comparisons as soon as it determines the final outcome






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






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






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






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






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






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






24. Script that contains one project and at least one (default) target. Targets contain task elements. Used by ANT






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






26. One or more set of rules in an XSL style sheet






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






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






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






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






31. Content- Padding - Border- Margin






32. A collection of standard programs and subroutines that are stored and available for immediate use






33. what an MVC is given by a database






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






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






36. Name which includes a directive to a particular class or object in its reference (ex. System.in); use the .(dot) operator






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






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






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






40. Bean that only survives for current request






41. Field that uniquely identifies a record in a table






42. Tells the compiler where to access certain classes






43. XML element that contains other elements and/or attributes






44. Causes the chosen class to be dynamically loaded (at runtime)






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






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






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






48. Specific style elements such as background-color and font-size fill this role in CSS






49. Used to amplify tags






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