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. Includes a file in the page






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






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






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






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






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






7. Basic code block of a JSP page






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






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






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






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






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






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






14. Used to generate HTML






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






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






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






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






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






20. Creates an object from an existing class.






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






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






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






24. Useful only for small sites






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






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






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






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






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






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






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






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






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






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






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






36. An opensource Java Application Server






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






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






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






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






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






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






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






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






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






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






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






48. A lock that can be counted - i.e. how many times a resouce has been accessed and locked






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






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.