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. A tool for tracking and managing source file changes - written in Java.






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






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






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






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






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






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






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






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






11. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).






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. A definition of the interfaces that permit CORBA objects to participate in transactions.






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






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






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






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






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






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






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






21. Puts the code into a package






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






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






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






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






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






27. Creates a newly defined type






28. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.






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






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






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






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






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






34. Used to generate HTML






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






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






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






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






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






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






41. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.






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






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






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






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






46. An opensource Java Application Server






47. Useful only for small sites






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






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






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