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. This Java class is used in JDBC pages to execute SQL statements and provides protection against SQL scripting attacks






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






4. Elements not displayed by the browser.






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






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






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






8. Prints a message and exits the current script






9. This is used to select user information.






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






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






12. a class whose primary purpose is to define an interface deferring some or all of its implementations to subclasses. Cannot be instantiated






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






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






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






16. The data transfer protocol used on the World Wide Web. About requests and responses. Uses TCP.






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






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






19. Enables a subclass to call the methods and fields of its superclass






20. Java class specifically created to enable communication with a particular database management product such as MySQL






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






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






23. Method that tests the program






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






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






26. Method for just getting (retrieving) data.






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






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






29. A special type of button in your forms that will perform the form's set action.






30. Bean that only survives for current request






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






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






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






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






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






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






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






38. A web server software notable for playing a key role in the initial growth of the World Wide Web.






39. Success






40. a set of classes that supports the development of programs






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






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






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






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






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






46. what an MVC is given by a database






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. This is used to select user information.






49. A POST request results from an HTML form that specifically lists POST as the METHOD and it should be handled by this method.






50. In the XML fragment <node id="7" x_pos="330" ypos="450">BasicVersity</node> - id and x_pos and y_pos fill this role