Test your basic knowledge |

Java Programming Basics

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. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request






2. Indicates that a variable or class or method can be used by any other Java code.






3. Indicates that a value is either true or false in the Java sense.






4. A tool for checking compliance of applications and applets to a specification.






5. A library than enables CORBA objects to locate and communicate with one another.






6. A special Java servlet-aware web server process.






7. A protocol used for communication between CORBA object request brokers.






8. A lock that can be counted - i.e. how many times a resouce has been accessed and locked






9. Basic code block of a JSP page






10. Indicates that a value is a 64-bit whole number.






11. Indicates that a value is a 32-bit whole number.






12. A Web scripting language that is used in both browsers and Web servers. Like all scripting languages it is used primarily to tie other components together or to accept user input.






13. An industry standard for database-independent connectivity between the Java platform and a wide range of databases. The JDBC provides a call-level API for SQL-based database access.






14. Introduces statements that are watched (during runtime) for things that can go wrong.






15. A class that wraps primitives - Integer or Boolean...






16. Indicates that a method or constructor may pass the buck when an exception is thrown.






17. Creates an object from an existing class.






18. Imposes strict rules on the use of a variable by more than one thread at a time.






19. Sets attributes and properties specific to the current JSP page






20. Puts the code into a package






21. Gets the computer to repeat some statements over and over again (for instance a certain number of times).






22. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).






23. Enables the programmer to abbreviate the names of classes defined in a package.






24. A platform-independent file format that aggregates many files into one. Multiple applets written in the Java programming language and their requisite components (.class files & images & sounds and other resource files) can be bundled in a JAR file an






25. An opensource Java Application Server






26. Reuses the functionality from a previously defined interface.






27. Run-once code blocks which run once at beginning of page load for initialization tasks - can appear anywhere in .jsp page itself - useful for overload JspInit() and JspDestroy()






28. Repeats some statements over and over again (as long as a condition is still true).






29. This separates the content presentation (View) from the underlying business operations/content generation (Model) using infrastructure/controller Servlet (Controller) which exists between the client browser and the JSP/Servlet-generated pages. Contro






30. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).






31. Used to generate HTML






32. Includes a new tag library into page - allows use of tags in page






33. Jumps out of a loop or switch.






34. Introduces statements that are executed when the condition in an if statement isn't true.






35. Indicates that the details of a class or a method or an interface are given elsewhere in the code.






36. A description of the structure and properties of a class of XML files.






37. ______ uses HTML-like tags in a "*.jsp" web-page on a web server linked to from the client's web-browser as short-hand to render Java Servlet code in a Java .class file by the Servlet/JSP container (done by the "page-compiler" Servlet) running on the






38. Similar to the include Directive but can pass information to the included resource






39. Tests to see whether a certain object comes from a certain class.






40. Two Servlet API packages: javax.servlet.* ___________






41. Indicates that a variable or method can be used only within a certain class.






42. Consists of class libraries - a Java virtual machine (JVM) and class loader (which comprise the runtime environment) and a compiler - debugger and other tools (which comprise the development kit).






43. Introduces a class






44. Forces the abrupt end of the current loop iteration and begins another iteration.






45. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.






46. Includes a file in the page






47. Indicates that a value is a 32-bit number with one or more digits after the decimal point.






48. Indicates that a variable or method can be used in subclasses from another package.






49. Introduces one of several possible paths of execution in a switch statement.






50. Useful only for small sites