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






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






3. Used to generate HTML






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






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






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






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






8. Puts the code into a package






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






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






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






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






13. Useful only for small sites






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






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






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






17. Introduces a class






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






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






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






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






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






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






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






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






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






27. Indicates that a variable or method can be used only within a certain class.






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






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






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






31. Tests the truth of a condition that the programmer believes is true.






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






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






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






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






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






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






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






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






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






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






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






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






44. Jumps out of a loop or switch.






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






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






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






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






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






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