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 mechanism defined in the HTTP specification that makes it possible to serve different versions of a document (a resource representation) at the same URI so that user agents can specify which version fit their capabilities the best.






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






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






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






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






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






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






8. Method for just getting (retrieving) data.






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






10. A blueprint for creating objects of a certain kind; defines data and methods.






11. The event gets sent to the most specific element and after this element has an opportunity to react - the event bubbles up to more general elements.






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






13. Field that uniquely identifies a record in a table






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






15. Tells the compiler where to access certain classes






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






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






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






19. Needs to be installed to run PHP on Apache






20. attributes that are bound to a session as a mean to provide state to a set of related HTTP requests






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






22. Not intended to be depended on by external code and thus are not part of the interface.






23. The act of sending onto another destination






24. Associative array that by default contains contents of $_GET and $_POST and $_COOKIE






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






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






27. A popular persistence provider used with Java Web servers






28. The character that seperates one field from another in a plain text file.






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






30. a JAR file used to distribute a collection of JavaServer Pages and servlets and Java classes and XML files and tag libraries and static Web pages (HTML and related files) that together constitute a Web application.






31. A project that contains resources for a Web application with dynamic content such as servlets or JavaServer Pages (JSP) files






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






33. Elements that are rendered (displayed) directly in line with the text






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






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






36. Method that tests the program






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






38. Used to extract only those records that fulfill a specified criterion.






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






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






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






42. an object associated with a visitor. Data can be put in this and retrieved from it - much like a Hashtable. A different set of data is kept for each visitor to the site.






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






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






45. Ascripting language used to make HTML pages interactive






46. API for valid HTML and well-formed XML documents. defines logical structure of documents and the way a document is accessed & manipulated






47. Defines a standard way for accessing and manipulating HTML documents.






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






49. All data for a single member (object)






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