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






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






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






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






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






6. Puts the code into a package






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






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






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






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






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






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






13. Useful only for small sites






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






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






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






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






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






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






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






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






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






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






24. Reuses the functionality from a previously defined interface.






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






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






27. Introduces a class






28. Keeps two threads from interfering with one another.






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






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






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






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






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






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






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






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






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






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






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






40. A software "execution engine" that safely and compatibly executes the byte codes in Java class files on a microprocessor (whether in a computer or in another electronic device).






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. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.






43. A self-reference






44. Creates an object from an existing class.






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






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






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






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






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






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