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






2. Introduces a class






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






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






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






6. Creates a subclass






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






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






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






10. A software "execution engine" that safely and compatibly executes the byte codes in Java class files on a microprocessor (whether in a computer or in another electronic device).






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






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






13. Useful only for small sites






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






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






16. Used to generate HTML






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






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






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






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






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






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






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






24. Creates an object from an existing class.






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






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






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






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






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






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






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






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






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






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






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






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






38. Includes a file in the page






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






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






41. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).






42. Puts the code into a package






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






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






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






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






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






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






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






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