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. Jumps out of a loop or switch.






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






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






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






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






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






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






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






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






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






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






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






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






14. Used to generate HTML






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






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






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






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






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






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






21. An opensource Java Application Server






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






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






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






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 tool for tracking and managing source file changes - written in Java.






27. Introduces a class






28. Reuses the functionality from a previously defined interface.






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






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






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






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






33. Includes a file in the page






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






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






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






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






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






40. Keeps two threads from interfering with one another.






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






42. Creates a subclass






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






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






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






46. Creates a newly defined type






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






48. Puts the code into a package






49. Useful only for small sites






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