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 value is a 16-bit whole number.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






17. A definition of the interfaces that permit CORBA objects to participate in transactions.






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






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






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






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






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






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






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






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






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. Gets the computer to repeat some statements over and over again (for instance a certain number of times).






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






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






30. Puts the code into a package






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






32. Introduces a class






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






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






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






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






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






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






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






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






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






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






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






44. An industry standard for database-independent connectivity between the Java platform and a wide range of databases. The JDBC provides a call-level API for SQL-based database access.






45. Creates an object from an existing class.






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






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






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






49. Creates a newly defined type






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