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






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






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






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






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






6. A self-reference






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






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






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. Sets attributes and properties specific to the current JSP page






11. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.






12. CRUD: Create - Retrieve - ________ - Delete






13. Used to generate HTML






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. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).






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






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. Introduces a path of execution to take when no case is a match in a switch statement.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






34. Introduces a class






35. A library than enables CORBA objects to locate and communicate with one another.






36. An opensource Java Application Server






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






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






39. Reuses the functionality from a previously defined interface.






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






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






42. Creates an object from an existing class.






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






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






45. A description of the structure and properties of a class of XML files.






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






47. Keeps two threads from interfering with one another.






48. A technology that provides distributed persistence and data exchange mechanisms for code in Java.






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






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