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. Two Servlet API packages: javax.servlet.* ___________






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






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






4. Useful only for small sites






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






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






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






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






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






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






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






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






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






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






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






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






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






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






19. Includes a file in the page






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






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






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






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






24. Creates a newly defined type






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






26. Used to generate HTML






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






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






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






30. Puts the code into a package






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






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






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






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






35. An opensource Java Application Server






36. CRUD: Create - Retrieve - ________ - Delete






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






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






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






40. A self-reference






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






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






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






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






45. Creates a subclass






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






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






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






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






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