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 self-reference






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






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






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






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






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






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






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






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






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






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






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






13. Sets attributes and properties specific to the current JSP page






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






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. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






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






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






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






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






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






28. Used to generate HTML






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






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






31. Causes the computer to repeat some statements over and over again (for instance as long as the computer keeps getting unacceptable results).






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






33. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.






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






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






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






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






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






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






40. CRUD: Create - Retrieve - ________ - Delete






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






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






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






44. Creates a newly defined type






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






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






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






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






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






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