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






2. Useful only for small sites






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






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






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






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






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






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






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






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






11. A set of APIs that support the integration of audio and video clips & 2D fonts & graphics and images as well as 3D models and telephony.






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






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






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






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






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






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






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






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






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






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






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






23. Introduces a class






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






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






26. Basic code block of a JSP page






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






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






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. Indicates that a variable or class or method can be used by any other Java code.






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






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






33. Creates a newly defined type






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






35. Reuses the functionality from a previously defined interface.






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






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






38. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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






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






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






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






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






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






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






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