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. Basic code block of a JSP page






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






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






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






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






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






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






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






9. Puts the code into a package






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






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






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






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






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






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






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






17. Keeps two threads from interfering with one another.






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






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






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






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






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






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






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






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






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






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






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






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






30. Introduces a class






31. Useful only for small sites






32. Jumps out of a loop or switch.






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






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






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






36. Creates a subclass






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






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






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






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






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






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






43. A self-reference






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






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






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






47. Creates a newly defined type






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






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






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