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






2. An opensource Java Application Server






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






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






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






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. Creates a subclass






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






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






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






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






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






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






14. Introduces a class






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






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






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






18. A self-reference






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






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






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






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






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






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






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






26. Puts the code into a package






27. Keeps two threads from interfering with one another.






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






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






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






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






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






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






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






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






36. Includes a file in the page






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






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






39. Basic code block of a JSP page






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






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






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






43. Used to generate HTML






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






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






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






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






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






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






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