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. Keeps two threads from interfering with one another.






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






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






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






6. Indicates that the details of a class or a method or an interface are given elsewhere in the code.






7. A lock that can be counted - i.e. how many times a resouce has been accessed and locked






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






23. Creates an object from an existing class.






24. Jumps out of a loop or switch.






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






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






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






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






29. A self-reference






30. Basic code block of a JSP page






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






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






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






34. Gets the computer to repeat some statements over and over again (for instance a certain number of times).






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






36. Creates a subclass






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






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






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






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






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






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






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






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






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






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






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






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






49. A test suite - a set of tools and other requirements used to certify a Java platform implementation conformant both to the applicable Java platform specifications and to Java Software reference implementations.






50. Puts the code into a package






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests