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. Introduces the last will and testament of the statements in a try clause.






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






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






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






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






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






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






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






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






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






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






12. Keeps two threads from interfering with one another.






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






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






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






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. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.






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






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






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






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






22. Creates a subclass






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






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






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






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






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






28. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






43. Useful only for small sites






44. Jumps out of a loop or switch.






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






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






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






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






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






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