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. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).






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






3. Basic code block of a JSP page






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






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






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






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






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






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






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






11. Gets the computer to repeat some statements over and over again (for instance a certain number of times).






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






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






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






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






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






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






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






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






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






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






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






23. Reuses the functionality from a previously defined interface.






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






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






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






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






28. Creates an object from an existing class.






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






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






31. CRUD: Create - Retrieve - ________ - Delete






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






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






34. Includes a file in the page






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






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






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






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






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






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






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






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






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






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






45. Puts the code into a package






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






47. Useful only for small sites






48. An opensource Java Application Server






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






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