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






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






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






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






5. Jumps out of a loop or switch.






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






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






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






9. An opensource Java Application Server






10. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






29. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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






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






36. Introduces a class






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






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






39. A self-reference






40. Creates a subclass






41. A special Java servlet-aware web server process.






42. Creates a newly defined type






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






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






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






46. Creates an object from an existing class.






47. Keeps two threads from interfering with one another.






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






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






50. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.