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






3. Extension of JAR task with special treatment for files that should end up in WEB-INF directories of the Web Application Archive






4. Test class used to test your code automatically






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






6. what an MVC is given by a database






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






8. Tells the compiler where to access certain classes






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






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






11. reduces the amount of redundancy in code that may connect to the database (assists in some functionality)






12. Any item that can be manipulated such as picture and data file or text.






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






14. Client error






15. Elements not displayed by the browser.






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






17. An open source software implementation of the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed under the Java Community Process.






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






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






20. Specifies whether or not an element is visible






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






22. Tells a Browser how and where to display text and images on a web page.






23. Specifies constraints and information about the values of attributes or text-only elements






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






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






26. Specifies what aspect of the element you are choosing to style.(width - color - bg-color)






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






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






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






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






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






32. Success






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






34. A program that extracts comments from Java Source files and produces documentation files in HTML.






35. Method that tests the program






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






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






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






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






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






41. a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. Development Automation Tool.






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






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






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






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






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






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






48. Bean that only survives for current request






49. Clears an area around the content which is inside of the border of an element (length-%)






50. Primary key of one table that appears as an attribute in another table and acts to provide a logical relationship between the two tables