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. Ends execution of a method and possibly returns a value to the calling code.






2. Basic code block of a JSP page






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






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






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






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






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






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






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






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






11. Keeps two threads from interfering with one another.






12. Introduces an interface which is like a class but less specific.






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






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






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






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






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






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






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






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






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






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






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






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






25. Useful only for small sites






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






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






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






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






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






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






32. An opensource Java Application Server






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






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






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






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






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






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






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






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






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






42. Reuses the functionality from a previously defined interface.






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






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






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






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






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






48. CRUD: Create - Retrieve - ________ - Delete






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






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