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. Indicates that a value is a 32-bit whole number.






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






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






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






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






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






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






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






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






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






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






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






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






15. A self-reference






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






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






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






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






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






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






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






23. Useful only for small sites






24. Indicates that a value is a 16-bit whole number.






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






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






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






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






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






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






31. Creates a newly defined type






32. Introduces a class






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






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






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






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






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






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






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






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






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






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






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






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






46. Jumps out of a loop or switch.






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






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






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






50. Reuses the functionality from a previously defined interface.