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 64-bit whole number.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






27. A self-reference






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






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






30. Servlet is: loaded by servlet container when 1st requested; is then forwarded the user's request; processes the user's request; returns the response back to the servlet container. Servlet container sends this response back to the user. Servlet stays






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






32. Keeps two threads from interfering with one another.






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






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






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






36. Creates an object from an existing class.






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






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






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






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






41. Basic code block of a JSP page






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






43. A platform-independent file format that aggregates many files into one. Multiple applets written in the Java programming language and their requisite components (.class files & images & sounds and other resource files) can be bundled in a JAR file an






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






45. CRUD: Create - Retrieve - ________ - Delete






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






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






48. Reuses the functionality from a previously defined interface.






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






50. Creates a newly defined type