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 statements that are executed when the condition in an if statement isn't true.






2. Includes a file in the page






3. Indicates that a variable or class or method can be used by any other Java code.






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






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






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






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






9. Creates a subclass






10. CRUD: Create - Retrieve - ________ - Delete






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






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






13. A self-reference






14. Jumps out of a loop or switch.






15. Includes a new tag library into page - allows use of tags in page






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






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






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






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






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






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






22. Creates an object from an existing class.






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






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






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






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






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






28. A standard programming interface for writing Java native methods and embedding the JVM into native applications. The primary goal is binary compatibility of native method libraries across all JVM implementations on a given platform.






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






30. A set of APIs that assists with the interfacing to multiple naming and directory services.






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






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






33. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






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






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






42. Used to generate HTML






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






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






45. A technology that provides distributed persistence and data exchange mechanisms for code in Java.






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






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






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






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






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