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. Enables the programmer to abbreviate the names of classes defined in a package.






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






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






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






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






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






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






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






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






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






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






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. Indicates that a value is an 8-bit whole number.






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






15. Jumps out of a loop or switch.






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






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






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






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






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






21. Includes a file in the page






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






23. Puts the code into a package






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






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






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






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






28. A tree of objects with interfaces for traversing the tree and writing an XML version of it as defined by the W3C specification.






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






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






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






32. Creates a newly defined type






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






34. Useful only for small sites






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






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






37. An opensource Java Application Server






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






39. Keeps two threads from interfering with one another.






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






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






42. A self-reference






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






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






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






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






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






48. Creates an object from an existing class.






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






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