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. Includes a file in the page






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






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






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






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






6. An industry standard for database-independent connectivity between the Java platform and a wide range of databases. The JDBC provides a call-level API for SQL-based database access.






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






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






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






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






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






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






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






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






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






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






17. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.






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






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. A special Java servlet-aware web server process.






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






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






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






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






25. An opensource Java Application Server






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






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






28. Similar to the include Directive but can pass information to the included resource






29. Jumps out of a loop or switch.






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






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






32. Creates a subclass






33. Keeps two threads from interfering with one another.






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






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






36. Indicates that a variable or method can be used only within a certain class.






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






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






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






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






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






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






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






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






45. Useful only for small sites






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






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






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






49. Introduces a class






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