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 principal native to the operating system on which the Java platform is executing.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






19. Introduces a class






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






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






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






23. A self-reference






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






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






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






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






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






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






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






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






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






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






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






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






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






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






39. Useful only for small sites






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






41. Reuses the functionality from a previously defined interface.






42. Indicates that a method doesn't return a value.






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






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






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






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






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






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






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






50. Creates an object from an existing class.