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 blueprint for creating objects of a certain kind; defines data and methods.






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






3. A web development technique that allows portions of Web pages to reload with fresh data instead of requiring the entire Web page to reload






4. object created by servlet container for Servlets to access environment information and provide ability for Servlet to bind object attributes to the invironment scope by name






5. Specifies how to send form-data (the form-data is sent to the page specified in the action attribute). POST or GET






6. Returns a list of elements with the given tag name.






7. Field that uniquely identifies a record in a table






8. A Java keyword used in method declarations that specify which exceptions are not handled within the method but rather passed to the next higher level of the program.






9. Test class used to test your code automatically






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






11. Marks successful completion of one or more tasks - what you are trying to get to.






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






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






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






15. Prints a message and exits the current script






16. This ANT element defines all of the places a Java task would look for classes to load






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






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






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






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






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






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






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






24. Provides the abstraction of an ordered collection of nodes without defining or constraining how this collection is implemented






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






26. An action that ANT will attempt to do






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






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






29. Tells the compiler where to access certain classes






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






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






32. Attribute used to associate a template with an XML element; also used to define a template for the entire XML document






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






34. JavaScript library that emphasizes interaction between JavaScript and HTML.






35. Marks successful completion of one or more tasks - what you are trying to get to.






36. Identifies the document as a web page.






37. Open-source servlet container. popular servlet engine of the apache project






38. XHTML element - a class name - an id name






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






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






41. Elements not displayed by the browser.






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






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






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






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






46. Needs to be installed to run PHP on Apache






47. Spaces at the top and bottom and left and right of the document between the edges of the text; the absolute boundary of text and graphics on a page






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






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






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