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






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. Indicates that a variable or method belongs to a class rather than to any object created from the class.






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






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






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






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






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






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






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






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






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






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






14. Basic code block of a JSP page






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






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






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






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






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






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






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






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






23. CRUD: Create - Retrieve - ________ - Delete






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






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






26. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






33. Introduces a class






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






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






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






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






38. Creates a newly defined type






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






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






41. Creates a subclass






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






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






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






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






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






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






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






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