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






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






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






4. Forces the abrupt end of the current loop iteration and begins another iteration.






5. Used to generate HTML






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






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






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






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






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






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






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






13. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.






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






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






16. A self-reference






17. Run-once code blocks which run once at beginning of page load for initialization tasks - can appear anywhere in .jsp page itself - useful for overload JspInit() and JspDestroy()






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






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






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






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






22. Creates an object from an existing class.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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