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






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






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






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






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






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






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






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






9. CRUD: Create - Retrieve - ________ - Delete






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






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






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






13. Useful only for small sites






14. Includes a file in the page






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






32. Used to generate HTML






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






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






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






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. 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. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






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






46. Jumps out of a loop or switch.






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






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






49. Creates a newly defined type






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