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. _______ separates Java code/functionality from page design and use of tags in JSP and allows for re-use of beans






2. Creates a subclass






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






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






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






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






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






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






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






10. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






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






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






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






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






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






22. Keeps two threads from interfering with one another.






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






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






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






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






27. Includes a file in the page






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






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






30. 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 goto variable.






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






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






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






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






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






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






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






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






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






40. Introduces a class






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






42. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






47. Puts the code into a package






48. Enables the programmer to use code that was written in another language (one of those awful languages other than Java).






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






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