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. Combination of data and operations that can be performed on that data; specification of the data members and methods of the object.






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






3. An API used to send HTTP requests directly to a web server and load the server response data directly back into the script.






4. In JSP; makes it possible to easily access application data stored in JavaBeans components (by using characters such as {...} - < - >). Used with JSTL to replace all JAVA






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






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






7. a single instance of that member shared by all instances of this class






8. Field that uniquely identifies a record in a table






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






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






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






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






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






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






15. Uses the equal sign to give the object property on the left of the equal sign the value on the right of the equal sign.






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






17. The act of sending onto another destination






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






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






20. This tag in a JSP page directs the associated Bean to receive a property when the user clicks a Submit button in the JSP page






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






22. a class with a default constructor that exposes properties through its (get) and (set) methods - Generic name for a Java class that manages data on behalf of a JSP page






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






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






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






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






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






28. Bean that only survives for current request






29. attributes that are bound to a session as a mean to provide state to a set of related HTTP requests






30. Represents a table in a relational database; each instance corresponds to a row in that table






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






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






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






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






35. An XML document whose content describes the structure of other XML documents.






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






37. A style sheet containing format and layout settings that is stored in a separate file.






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






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






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






41. Sets values for parameters in JDBC






42. Channel into a new direction (to a different page)






43. jQuery provides a single object with the most important properties.






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






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






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






47. In JSP; makes it possible to easily access application data stored in JavaBeans components (by using characters such as {...} - < - >). Used with JSTL to replace all JAVA






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






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






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