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. A library than enables CORBA objects to locate and communicate with one another.






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






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






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






5. Introduces a class






6. Keeps two threads from interfering with one another.






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






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






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






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






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






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. A self-reference






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






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






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






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






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






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






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






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






22. Useful only for small sites






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






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






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






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






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






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






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






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






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






32. An opensource Java Application Server






33. A standard programming interface for writing Java native methods and embedding the JVM into native applications. The primary goal is binary compatibility of native method libraries across all JVM implementations on a given platform.






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






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






36. A set of APIs that support the integration of audio and video clips & 2D fonts & graphics and images as well as 3D models and telephony.






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






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






39. Includes a file in the page






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






41. Type of Java program (as opposed to a stand-alone program) which is embedded in a web page (requested from a server) and run on a client-side browser






42. Jumps out of a loop or switch.






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






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






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






46. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.






47. Basic code block of a JSP page






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






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






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