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 method doesn't return a value.






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






3. ______ uses HTML-like tags in a "*.jsp" web-page on a web server linked to from the client's web-browser as short-hand to render Java Servlet code in a Java .class file by the Servlet/JSP container (done by the "page-compiler" Servlet) running on the






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






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






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






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






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






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






10. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.






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






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






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






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






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






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






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






18. This separates the content presentation (View) from the underlying business operations/content generation (Model) using infrastructure/controller Servlet (Controller) which exists between the client browser and the JSP/Servlet-generated pages. Contro






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






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






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






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






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






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






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






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






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






28. Keeps two threads from interfering with one another.






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






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






31. Jumps out of a loop or switch.






32. Creates an object from an existing class.






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






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






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






36. Creates a newly defined type






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






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






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






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






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






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






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






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






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. The output of one servlet act as a input to another servlet.






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






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






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






50. Useful only for small sites