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






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






3. Used to generate HTML






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






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






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






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






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






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






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






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






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






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






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






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






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






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






18. Useful only for small sites






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






20. Indicates that a variable's value cannot be changed - that a class's functionality cannot be extended or that a method cannot be overridden.






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






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






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






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






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






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






27. Reuses the functionality from a previously defined interface.






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






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






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






31. Jumps out of a loop or switch.






32. Basic code block of a JSP page






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






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






35. Creates a subclass






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






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






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






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






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






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. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.






43. Introduces a class






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






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






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






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






48. Includes a file in the page






49. An opensource Java Application Server






50. Creates a newly defined type