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. Jumps out of a loop or switch.






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






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






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






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






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






7. This separates the content presentation (View) from the underlying business operations/content generation (Model) using infrastructure/controller Servlet (Controller) which exists between the client browser and the JSP/Servlet-generated pages. Contro






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






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






10. Keeps two threads from interfering with one another.






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






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






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






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






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






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






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






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






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






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






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






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






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






24. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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






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






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






32. Useful only for small sites






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






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






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






36. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.






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






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






39. Reuses the functionality from a previously defined interface.






40. Introduces a class






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






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






43. Creates a newly defined type






44. A self-reference






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






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






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






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






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






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