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. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.






3. Jumps out of a loop or switch.






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






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






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






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






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






9. Puts the code into a package






10. Includes a file in the page






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






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






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






14. A software development environment for writing applets and application in Java .






15. Creates a newly defined type






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






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






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






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






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






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






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






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






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






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






26. CRUD: Create - Retrieve - ________ - Delete






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






28. Useful only for small sites






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






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






31. Creates a subclass






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






33. A self-reference






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






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






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






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






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






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






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






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






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. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.






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






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






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






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






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






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






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