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. Tells the computer to follow one of many possible paths of execution (one of many possible cases) depending on the value of an expression.






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






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






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






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






6. An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT).






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






22. Introduces a class






23. Jumps out of a loop or switch.






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






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






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






27. A definition of the interfaces that permit CORBA objects to participate in transactions.






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






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






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






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






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






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






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






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






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






37. Reuses the functionality from a previously defined interface.






38. Creates a newly defined type






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






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






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






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






43. Basic code block of a JSP page






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






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






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






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






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






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






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