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






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






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






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






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






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






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






8. Basic code block of a JSP page






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






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






11. A set of APIs that assists with the interfacing to multiple naming and directory services.






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






13. Keeps two threads from interfering with one another.






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






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






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






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






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






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






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






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






22. Creates a newly defined type






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






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






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






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






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






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






29. Jumps out of a loop or switch.






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






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






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






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






34. Reuses the functionality from a previously defined interface.






35. A self-reference






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






37. Creates a subclass






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






39. Introduces a class






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






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






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






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






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






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






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






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






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






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






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