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. Jumps out of a loop or switch.






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






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






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






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






6. Creates a subclass






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






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






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






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






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






12. Keeps two threads from interfering with one another.






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






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






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






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






17. Creates a newly defined type






18. Puts the code into a package






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






45. A software development environment for writing applets and application in Java .






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






47. CRUD: Create - Retrieve - ________ - Delete






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






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






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