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 either true or false in the Java sense.






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






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






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






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






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






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






8. An industry standard for database-independent connectivity between the Java platform and a wide range of databases. The JDBC provides a call-level API for SQL-based database access.






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






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






11. Creates an object from an existing class.






12. Keeps two threads from interfering with one another.






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






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






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






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






17. Includes a file in the page






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






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






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






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






22. Puts the code into a package






23. An opensource Java Application Server






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






25. Basic code block of a JSP page






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






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






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






30. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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






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






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






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






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






41. Jumps out of a loop or switch.






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






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






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






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






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






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






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






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






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