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 statements that are executed when something interrupts the flow of execution in a try clause.






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






3. Puts the code into a package






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






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






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






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






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






9. Keeps two threads from interfering with one another.






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






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






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






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






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






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






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






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






18. Reuses the functionality from a previously defined interface.






19. CRUD: Create - Retrieve - ________ - Delete






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






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






22. Jumps out of a loop or switch.






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






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






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






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






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






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






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






30. Creates an object from an existing class.






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






32. Includes a file in the page






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






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






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






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






37. A special Java servlet-aware web server process.






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






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






40. Useful only for small sites






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






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






43. Creates a subclass






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






45. The output of one servlet act as a input to another servlet.






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. Indicates that a value is a 64-bit number with one or more digits after the decimal point.






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






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






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