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






3. Introduces a class






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






5. Creates a newly defined type






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






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






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






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






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






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






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






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






14. An opensource Java Application Server






15. Reuses the functionality from a previously defined interface.






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






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






18. Jumps out of a loop or switch.






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






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






21. A lock that can be counted - i.e. how many times a resouce has been accessed and locked






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






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






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






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






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






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






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






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






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






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






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






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






35. Keeps two threads from interfering with one another.






36. Puts the code into a package






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






38. Creates an object from an existing class.






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






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






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






42. Useful only for small sites






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






44. A self-reference






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






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






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






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






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






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