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. Introduces a path of execution to take when no case is a match in a switch statement.






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






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






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






5. Puts the code into a package






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






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






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






9. An opensource Java Application Server






10. Keeps two threads from interfering with one another.






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






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






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






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






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






16. Creates a newly defined type






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






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






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






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






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






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






23. Basic code block of a JSP page






24. Indicates that a method doesn't return a value.






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






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






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






28. Indicates that a value is a 16-bit whole number.






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






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






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






32. Creates an object from an existing class.






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






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






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






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






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






38. Introduces the last will and testament of the statements in a try clause.






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






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






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






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






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






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






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






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






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






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






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






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