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






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






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






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






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






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






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






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






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






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






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






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






13. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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






19. Creates an object from an existing class.






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






21. Includes a file in the page






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






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






24. Ends execution of a method and possibly returns a value to the calling code.






25. Basic code block of a JSP page






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






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






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






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






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






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






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






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






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






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






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






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






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






39. A self-reference






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






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






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






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






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






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






46. Useful only for small sites






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






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






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






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