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. Creates an object from an existing class.






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






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






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






5. CRUD: Create - Retrieve - ________ - Delete






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






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






8. Jumps out of a loop or switch.






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






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






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






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






13. Keeps two threads from interfering with one another.






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






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






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






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






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






19. Reuses the functionality from a previously defined interface.






20. Useful only for small sites






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






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






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






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






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






26. Creates a newly defined type






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






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






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






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






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






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






33. Introduces a class






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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