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 32-bit whole number.






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






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






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






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






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






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






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






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






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






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






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






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






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






15. Sets attributes and properties specific to the current JSP page






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






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






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






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






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






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






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






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






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






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






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






27. Introduces a class






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






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






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






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






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






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






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






35. A self-reference






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






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






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






39. Reuses the functionality from a previously defined interface.






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






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






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






43. Includes a file in the page






44. Useful only for small sites






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






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






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






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






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






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






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