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. Includes a file in the page






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






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






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






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






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






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






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






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






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






11. Keeps two threads from interfering with one another.






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






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






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






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






16. Used to generate HTML






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






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






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






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. Indicates that a variable or method can be used only within a certain class.






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






23. Puts the code into a package






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






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






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






27. Basic code block of a JSP page






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






29. Creates an object from an existing class.






30. Creates a subclass






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






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






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






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






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






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






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






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






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






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






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






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






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






44. Enables the programmer to abbreviate the names of classes defined in a package.






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






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






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






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






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






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