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. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.






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






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






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






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






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






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






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






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






10. Creates an object from an existing class.






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






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






13. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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






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






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






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






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






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






24. A library than enables CORBA objects to locate and communicate with one another.






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






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






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






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






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






30. Includes a file in the page






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






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






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






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






35. Introduces a class






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






37. Enables the programmer to abbreviate the names of classes defined in a package.






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






39. Puts the code into a package






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






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






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






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






44. Repeats some statements over and over again (as long as a condition is still true).






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






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






47. A principal native to the operating system on which the Java platform is executing.






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






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






50. A self-reference