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. Introduces statements that are watched (during runtime) for things that can go wrong.






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






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






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






5. Creates a subclass






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






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






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






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






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






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






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






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






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






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






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






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






18. Jumps out of a loop or switch.






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






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






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






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






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






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






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






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






27. Keeps two threads from interfering with one another.






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






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






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






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






32. Puts the code into a package






33. Basic code block of a JSP page






34. Creates an object from an existing class.






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






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






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






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






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






40. Used to generate HTML






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






42. Useful only for small sites






43. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans






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






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






46. A class that wraps primitives - Integer or Boolean...






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






48. An opensource Java Application Server






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






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