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. The output of one servlet act as a input to another servlet.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






28. An opensource Java Application Server






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






44. Basic code block of a JSP page






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






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






47. Imposes strict rules on the use of a variable by more than one thread at a time.






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






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






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