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 portable platform-independent reusable component model. A component that conforms to this model is called a bean.






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






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






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






5. Creates a subclass






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






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






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






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






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






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






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






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






14. Creates a newly defined type






15. Reuses the functionality from a previously defined interface.






16. Introduces a class






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






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






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






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






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






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






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






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






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






26. Keeps two threads from interfering with one another.






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






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






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






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






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






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






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






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






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






36. A class that wraps primitives - Integer or Boolean...






37. Indicates that a value is an 8-bit whole number.






38. Used to generate HTML






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






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






41. Includes a file in the page






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






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






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






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






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






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






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






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






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