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. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).






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






4. Creates a newly defined type






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






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






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






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






9. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






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






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






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






19. Creates an object from an existing class.






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






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






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






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






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






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






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






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






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






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






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






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






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






33. CRUD: Create - Retrieve - ________ - Delete






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






35. Used to generate HTML






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






37. Includes a file in the page






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






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. Sets attributes and properties specific to the current JSP page






41. Introduces a class






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






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






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






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






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






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






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






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






50. Basic code block of a JSP page