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 lock that can be counted - i.e. how many times a resouce has been accessed and locked






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






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






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






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






7. Puts the code into a package






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






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






10. Creates a newly defined type






11. Includes a file in the page






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






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






14. Creates a subclass






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






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






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






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






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






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






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






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






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






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






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






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






27. Used to generate HTML






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






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






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






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






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






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






34. Basic code block of a JSP page






35. Jumps out of a loop or switch.






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






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






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






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






40. A distributed object model for Java program to Java program in which the methods of remote objects written in the Java programming language can be invoked from other Java virtual machines1 - possibly on different hosts.






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






42. Creates an object from an existing class.






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






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






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






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






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






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






49. Includes a new tag library into page - allows use of tags in page






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