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. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.






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






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






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






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






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






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






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






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






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






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






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






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






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






15. Keeps two threads from interfering with one another.






16. Useful only for small sites






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






18. A set of APIs that assists with the interfacing to multiple naming and directory services.






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






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






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






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






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






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






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






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






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






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






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






30. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.






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






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






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






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






35. Creates a subclass






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






37. Creates an object from an existing class.






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






39. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.






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






41. Used to generate HTML






42. An opensource Java Application Server






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






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






45. Jumps out of a loop or switch.






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






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






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






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






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