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. Introduces a path of execution to take when no case is a match in a switch statement.






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






3. Jumps out of a loop or switch.






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






5. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.






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






7. Creates a newly defined type






8. Indicates that a variable or method belongs to a class rather than to any object created from the class.






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






10. Reuses the functionality from a previously defined interface.






11. A distributed object model for Java program to Java program in which the methods of remote objects written in the Java programming language can be invoked from other Java virtual machines1 - possibly on different hosts.






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






13. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.






14. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.






15. Indicates that a value is a 16-bit whole number.






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






17. Evaluates interior code to a String and feeds it to the implicit "out" print writer (JspWriter) - done at time of JSP page request






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






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






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






21. Indicates that a method doesn't return a value.






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






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






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






25. Includes a file in the page






26. 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()






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






28. An opensource Java Application Server






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






30. Used to generate HTML






31. A Java class that can be loaded into and run dynamically in a Servlet container on a web server; interact with web clients via a request-response model based on HTTP.






32. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.






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






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






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






36. Creates a subclass






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






38. Basic code block of a JSP page






39. Indicates that a value is an 8-bit whole number.






40. Used to terminate the execution of the current JSP page and switch control to another resource






41. A standard programming interface for writing Java native methods and embedding the JVM into native applications. The primary goal is binary compatibility of native method libraries across all JVM implementations on a given platform.






42. A subset of the Java Development Kit (JDK) for end-users and developers who want to redistribute the runtime environment alone. The Java runtime environment consists of the Java virtual machine1 - the Java core classes and supporting files.






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






44. A tool for tracking and managing source file changes - written in Java.






45. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.






46. Useful only for small sites






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






48. A technology that provides distributed persistence and data exchange mechanisms for code in Java.






49. Introduces the last will and testament of the statements in a try clause.






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