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 doesn't return a value.






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






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






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






5. An opensource Java Application Server






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






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






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






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






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






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






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






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






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






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






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






17. A self-reference






18. Creates a subclass






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






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






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






22. Useful only for small sites






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






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






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






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






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






28. Reuses the functionality from a previously defined interface.






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






30. Used to generate HTML






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






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






33. Jumps out of a loop or switch.






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






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






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






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






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






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






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






42. Introduces a class






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






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






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






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






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






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






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






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