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. A lock that can be counted - i.e. how many times a resouce has been accessed and locked






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






3. Creates a newly defined type






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






5. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).






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






7. A principal native to the operating system on which the Java platform is executing.






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






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






10. Jumps out of a loop or switch.






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






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






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






14. Ends execution of a method and possibly returns a value to the calling code.






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






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






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






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






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






20. Refers to the superclass of the code in which the word super appears.






21. Includes a file in the page






22. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans






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






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






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






26. Creates a subclass






27. A set of APIs that support the integration of audio and video clips & 2D fonts & graphics and images as well as 3D models and telephony.






28. A software development environment for writing applets and application in Java .






29. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.






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






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






32. Servlet is: loaded by servlet container when 1st requested; is then forwarded the user's request; processes the user's request; returns the response back to the servlet container. Servlet container sends this response back to the user. Servlet stays






33. You can't use this word in a Java program. The word has no meaning. Because it's a keyword - you can't create a const variable.






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






35. A set of Java APIs that may be incorporated an optional package for any Java 2 Platform Edition. The Jini APIs enable transparent networking of devices and services and eliminates the need for system or network administration intervention by a user.






36. A software "execution engine" that safely and compatibly executes the byte codes in Java class files on a microprocessor (whether in a computer or in another electronic device).






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






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






39. Introduces a class






40. You can't use this word in a Java program. The word has no meaning. Because it's a keyword you can't create a goto variable.






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






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






43. Reuses the functionality from a previously defined interface.






44. A test suite - a set of tools and other requirements used to certify a Java platform implementation conformant both to the applicable Java platform specifications and to Java Software reference implementations.






45. Creates an object from an existing class.






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






47. Type of Java program (as opposed to a stand-alone program) which is embedded in a web page (requested from a server) and run on a client-side browser






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






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






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