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. Tests to see whether a condition is true. If it's true the computer executes certain statements; otherwise the computer executes other statements.






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






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






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






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






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






7. A self-reference






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






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






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. Indicates that a value is a 64-bit number with one or more digits after the decimal point.






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






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






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






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






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






17. Keeps two threads from interfering with one another.






18. Indicates that a value is a 16-bit whole number.






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






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






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. Creates an object from an existing class.






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






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






25. Jumps out of a loop or switch.






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






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






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






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






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






31. Includes a new tag library into page - allows use of tags in page






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






33. Basic code block of a JSP page






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






35. Useful only for small sites






36. Introduces a class






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






38. Creates a newly defined type






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






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






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






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






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






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






45. A tool for tracking and managing source file changes - written in Java.






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






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






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






49. Imposes strict rules on the use of a variable by more than one thread at a time.






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