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 variable or class or method can be used by any other Java code.






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






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






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






5. Introduces a class






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. A software development environment for writing applets and application in Java .






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






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






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






11. Includes a file in the page






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






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






14. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.






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






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






17. An opensource Java Application Server






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






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






20. Creates an object from an existing class.






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






22. Puts the code into a package






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






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






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






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






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






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






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






30. Refers to the superclass of the code in which the word super appears.






31. Jumps out of a loop or switch.






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






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






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






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






36. Reuses the functionality from a previously defined interface.






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






38. Basic code block of a JSP page






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






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






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






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






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






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






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






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






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






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






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