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 variable or method can be used only within a certain class.






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






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






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






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






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






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






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






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






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






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






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






13. An opensource Java Application Server






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






38. Used to generate HTML






39. Introduces a class






40. Creates a new exception object and indicates that an exceptional situation (usually something unwanted) has occurred.






41. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.






42. Useful only for small sites






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






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






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






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






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






48. Creates a newly defined type






49. Includes a file in the page






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