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 set of APIs that support the integration of audio and video clips & 2D fonts & graphics and images as well as 3D models and telephony.






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






3. Reuses the functionality from a previously defined interface.






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






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






6. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.






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






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






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






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






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






12. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).






13. Keeps two threads from interfering with one another.






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






15. The output of one servlet act as a input to another servlet.






16. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.






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






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






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






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






21. Creates an object from an existing class.






22. An opensource Java Application Server






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






24. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.






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






26. A definition of the interfaces that permit CORBA objects to participate in transactions.






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






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






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






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






31. Introduces a path of execution to take when no case is a match in a switch statement.






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






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






34. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.






35. Tests the truth of a condition that the programmer believes is true.






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






37. A self-reference






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






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






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






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






42. A software development environment for writing applets and applications in the Java programming language. Technically - the JDK is the correct name for all versions of the Java platform from 1.0 to 1.1.x.






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






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






45. Introduces statements that are executed when something interrupts the flow of execution in a try clause.






46. Useful only for small sites






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






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






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. Includes a file in the page