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






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






3. Used to generate HTML






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






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






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






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






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. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).






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






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






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






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






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






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






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






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






18. Creates a subclass






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






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






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






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






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






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






25. An opensource Java Application Server






26. Reuses the functionality from a previously defined interface.






27. Keeps two threads from interfering with one another.






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






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






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






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






32. Indicates that a value is an 8-bit whole number.






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






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






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






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






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






38. Introduces a class






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






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






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. Basic code block of a JSP page






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






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






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






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






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






49. CRUD: Create - Retrieve - ________ - Delete






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