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. Indicates that a value is a 64-bit whole number.






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






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






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






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






6. Puts the code into a package






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






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






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






10. Jumps out of a loop or switch.






11. Reuses the functionality from a previously defined interface.






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






13. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.






14. Basic code block of a JSP page






15. Common Object Request Broker Architecture. A language independent distributed object model specified by the Object Management Group (OMG).






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






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






18. Used to generate HTML






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






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






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






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






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






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






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






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






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






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






29. CRUD: Create - Retrieve - ________ - Delete






30. A subset of the Java Development Kit (JDK) for end-users and developers who want to redistribute the runtime environment alone. The Java runtime environment consists of the Java virtual machine1 - the Java core classes and supporting files.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






48. A set of Java APIs that provide CORBA (Common Object Request Broker Architecture) interoperability and connectivity capabilities for the J2EE platform. These capabilities enable J2EE applications to invoke operations on remote network services using






49. Creates a subclass






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