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 definition of the interfaces that permit CORBA objects to participate in transactions.






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






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






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






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






6. A tool for tracking and managing source file changes - written in Java.






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






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






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






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






11. Introduces a class






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






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






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






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






16. Indicates that a method doesn't return a value.






17. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






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






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






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






27. CRUD: Create - Retrieve - ________ - Delete






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






29. Jumps out of a loop or switch.






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






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






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






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






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






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






36. Useful only for small sites






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






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






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






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






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






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






43. Servlet is: loaded by servlet container when 1st requested; is then forwarded the user's request; processes the user's request; returns the response back to the servlet container. Servlet container sends this response back to the user. Servlet stays






44. A self-reference






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






46. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.






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






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






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






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