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. Creates a newly defined type






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






3. Creates a subclass






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






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






6. Introduces a class






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






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






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






10. Includes a file in the page






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






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






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






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






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






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






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






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






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






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






21. Puts the code into a package






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






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






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






25. Useful only for small sites






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






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






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






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






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






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






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






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






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






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






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






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






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






39. A self-reference






40. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






47. CRUD: Create - Retrieve - ________ - Delete






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






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






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