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 protocol used for communication between CORBA object request brokers.






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






3. Jumps out of a loop or switch.






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. Creates an object from an existing class.






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






7. Keeps two threads from interfering with one another.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






25. Useful only for small sites






26. An opensource Java Application Server






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






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






29. Used to generate HTML






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






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






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






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 goto variable.






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






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






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






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






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






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






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






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






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






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






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






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






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






47. Reuses the functionality from a previously defined interface.






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






49. A set of Java APIs that provide CORBA (Common Object Request Broker Architecture) interoperability and connectivity capabilities for the J2EE platform. These capabilities enable J2EE applications to invoke operations on remote network services using






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