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. CRUD: Create - Retrieve - ________ - Delete






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






3. Keeps two threads from interfering with one another.






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






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






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






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






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






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






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






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






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






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






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






15. Puts the code into a package






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






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






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






19. Creates an object from an existing class.






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






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






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






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






24. Used to generate HTML






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






41. Indicates that a variable or method can be used in subclasses from another package.






42. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.






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






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






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






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






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






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






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






50. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.