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






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






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






4. A self-reference






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






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






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






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






9. A set of Java APIs that may be incorporated an optional package for any Java 2 Platform Edition. The Jini APIs enable transparent networking of devices and services and eliminates the need for system or network administration intervention by a user.






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






11. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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






17. A software development environment for writing applets and applications in the Java programming language. Technically - the JDK is the correct name for all versions of the Java platform from 1.0 to 1.1.x.






18. An opensource Java Application Server






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






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






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






22. Basic code block of a JSP page






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






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






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






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






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. Useful only for small sites






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






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






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






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






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






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






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






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






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






38. Creates a subclass






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






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






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






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






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






44. Reuses the functionality from a previously defined interface.






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






46. Includes a file in the page






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






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






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






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