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. Used to affect a certain portion of your material. They utilize the on/off approach.






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






3. Requires every value of one attribute of a table to exist as a value of another attribute in a different relation (table)






4. Method that retrieves the values corresponding to the given attribute name that is set through setAttribute()






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






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






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






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






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






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






11. Improving the design of existing software code. doesn't change the observable behavior of the software; it improves its internal structure






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






13. The function for the browser to run when the server responds to your request






14. Tag that gives you the option to iterate over arrays and collections






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






16. A pseudo-method that creates an object. Instance methods with the same name as their class. are invoked using the new keyword.






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






18. Entries in a database






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






20. A software program that checks an HTML document for syntactical errors.






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






22. Keyword that can be used inside any method to refer to the current object






23. a test of each individual component (often a program) to ensure that it is as defect-free as possible






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






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






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






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






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






29. Declares JavaBean class within the JSP page in whatever scope is specified in its scope attribute






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






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






32. Method that tests the program






33. A blueprint for creating objects of a certain kind; defines data and methods.






34. Requires every value of one attribute of a table to exist as a value of another attribute in a different relation (table)






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






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






37. Open-source SQL (Structured Query Language) database implementation. persistence provider.






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






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






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






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






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






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






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






45. Web page content that changes or is changed automatically based on database content or user information.






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






47. The next generation of HTML and is a hybrid between HTML and XML. XML was designed to describe data. HTML was designed to display data.






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






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






50. Returns a list of elements with the given tag name.