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 method or constructor may pass the buck when an exception is thrown.






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






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






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






5. Puts the code into a package






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






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






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






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






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






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






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






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






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






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






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






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






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






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






21. Useful only for small sites






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






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






24. Introduces a class






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






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






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






28. Creates an object from an existing class.






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






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






31. CRUD: Create - Retrieve - ________ - Delete






32. A protocol used for communication between CORBA object request brokers.






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






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






35. Includes a file in the page






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






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






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






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






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






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






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






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






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






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






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






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






48. The output of one servlet act as a input to another servlet.






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






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