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. Creates a subclass






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






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






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






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






6. Reuses the functionality from a previously defined interface.






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. Indicates that a value is a 32-bit number with one or more digits after the decimal point.






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






10. Jumps out of a loop or switch.






11. Creates a newly defined type






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






13. Keeps two threads from interfering with one another.






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






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






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






17. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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






23. Puts the code into a package






24. A set of APIs that assists with the interfacing to multiple naming and directory services.






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






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






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






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






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






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






31. Includes a file in the page






32. A Web scripting language that is used in both browsers and Web servers. Like all scripting languages it is used primarily to tie other components together or to accept user input.






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






34. Useful only for small sites






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






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






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






38. A standard programming interface for writing Java native methods and embedding the JVM into native applications. The primary goal is binary compatibility of native method libraries across all JVM implementations on a given platform.






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






40. Basic code block of a JSP page






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






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






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






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






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






46. Creates an object from an existing class.






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






48. Tests to see whether a certain object comes from a certain class.






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






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