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






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






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






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






5. anyone can use to create and manipulate objects. forms public interface.






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






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






8. Specifies where to send the form-data when a form is submitted.






9. Well-formed XML document which also conforms to rules of a Document Type Definition (DTD) or an XML Schema (XSD)






10. Does nothing if expected value equals actual value but throws error otherwise






11. Elements of the programming language which have essentially evolved out of use/style. Example of this is the java.awt package and its replacement javax.swing






12. A document type that allows the use of deprecated tags.






13. A notation that shows all of the information needed to invoke (or call) the method






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






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






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






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






18. Defines restrictions on a simpleType or simpleContent or complexContent definition; names that are reserved by XML






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






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






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






22. A module of Java code that is hosted on a web server






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






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






25. a piece of Java-code embedded in the HTML-like JSP code






26. Method that tests the program






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






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






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






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






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






32. Sets values for parameters in JDBC






33. Protocol layering is a common technique to simplify designs by dividing them into functional layers each concerned primarily with one task.






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






35. Contain data about transaction between browser and server (IP address etc.)






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






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






38. This Java object encapsulates the information that a servlet sends back to the client






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






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






41. Design pattern for asynchronous invocation of potentially long-running methods of an object






42. This component of the MVC architecture directs client requests to the appropriate resource






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






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






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






46. Scope of variables whose values persist through several client visits back to the same site but not over the life of the application






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






48. Document that conforms to SML syntax rules (ex. start tag without end tag)






49. Test class used to test your code automatically






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






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests