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. Indicates that a value is a 16-bit whole number.






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






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






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






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






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






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






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






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






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






11. Forces the abrupt end of the current loop iteration and begins another iteration.






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






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






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






15. Creates an object from an existing class.






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






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






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






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






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






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






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






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






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






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






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






27. A set of Java APIs that may be incorporated an optional package for any Java 2 Platform Edition. The Jini APIs enable transparent networking of devices and services and eliminates the need for system or network administration intervention by a user.






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






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






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






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






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






33. CRUD: Create - Retrieve - ________ - Delete






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






35. Puts the code into a package






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






37. Useful only for small sites






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






39. Includes a file in the page






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






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






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






43. Consists of class libraries - a Java virtual machine (JVM) and class loader (which comprise the runtime environment) and a compiler - debugger and other tools (which comprise the development kit).






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






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






46. Keeps two threads from interfering with one another.






47. Creates a newly defined type






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






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. Indicates that a value is a 32-bit number with one or more digits after the decimal point.