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. Keeps two threads from interfering with one another.






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






3. Introduces a class






4. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.






5. Basic code block of a JSP page






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






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






8. A self-reference






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






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






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






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






13. Creates a subclass






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






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






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






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






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






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






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






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






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






23. Creates a newly defined type






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






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






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






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






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






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






30. Consists of class libraries - a Java virtual machine (JVM) and class loader (which comprise the runtime environment) and a compiler - debugger and other tools (which comprise the development kit).






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






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






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






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






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






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






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






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






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






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






41. Useful only for small sites






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






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






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






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






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






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






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






49. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.






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