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. Field that uniquely identifies a record in a table






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






3. Method that tests the program






4. Retrieves values in JDBC






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






6. allows client software to communicate with database server software






7. A set of assertion methods useful for writing tests. Only failed assertions are recorded.






8. After a database query is performed this Java class provides access to the records extracted from the database






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






10. what an MVC is given by a database






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






12. Done by including portions of SQL statements in a web form entry field in an attempt to get the website to pass a newly formed rogue SQL command to the database






13. Advances the record cursor by one record. Returns a boolean value indicating success or failure. Failure occurs if the cursor moved past the last record.






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. Specifies how to send form-data (the form-data is sent to the page specified in the action attribute). POST or GET






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






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






18. Text boxes and radio buttons and check boxes in a Web page are instances of this more general type of element






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






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






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






22. Certain look for a jquery element






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






24. Class of agile programming in which "waterfall" loop is compressed into shorter loops. each iteration adds functionality & client is responsible for acceptance testing.






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






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






27. This is used to select user information.






28. Can't attempt one task until the previous task is successful






29. Makes it possible to easily access application data stored in JavaBeans components; replaces Java scriplets for reading information from the Bean






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






31. String that is the result of submitting an HTTP request/form with query that specifies the name/value pairs






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






33. Your computer sends a request for some file (e.g. "Get me the file 'home.html'") and the web server sends back a _______ ("Here's the file" - followed by the file itself).






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






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






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






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






38. Attribute that can be used to generate a unique identity for new rows






39. A collection of standard programs and subroutines that are stored and available for immediate use






40. The address of a website. Uniform Resource locator.






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






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






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






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






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






46. A special kind of variable used in a subroutine to refer to one of the pieces of data provided as input to the subroutine






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






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






49. Code indicating status that server sends back to you.






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