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 software development environment for writing applets and application in Java .






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






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






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






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






6. Puts the code into a package






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






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






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






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






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






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






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






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






15. Keeps two threads from interfering with one another.






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






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






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






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






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






21. CRUD: Create - Retrieve - ________ - Delete






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






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






24. Reuses the functionality from a previously defined interface.






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






26. An opensource Java Application Server






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






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






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






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






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






32. A self-reference






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






34. Includes a file in the page






35. Creates a subclass






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






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






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






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






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






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






42. Creates an object from an existing class.






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






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






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






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






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






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






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






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