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 a class






2. Useful only for small sites






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






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






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






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






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






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






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






10. Reuses the functionality from a previously defined interface.






11. Puts the code into a package






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






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






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






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






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






17. An opensource Java Application Server






18. Includes a file in the page






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






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






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






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






23. Gets the computer to repeat some statements over and over again (for instance a certain number of times).






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






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






26. Basic code block of a JSP page






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






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






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






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






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






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






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






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






35. Creates a newly defined type






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






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






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






39. Creates an object from an existing class.






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. A set of APIs that assists with the interfacing to multiple naming and directory services.






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






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






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






45. Jumps out of a loop or switch.






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






47. Indicates that a value is a character (a single letter or digit or punctuation symbol and so on) stored in 16 bits of memory.






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






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






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