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






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






3. A set of Java APIs that provide CORBA (Common Object Request Broker Architecture) interoperability and connectivity capabilities for the J2EE platform. These capabilities enable J2EE applications to invoke operations on remote network services using






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






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






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






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






8. Basic code block of a JSP page






9. Creates a subclass






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






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






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






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






14. Puts the code into a package






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






16. Includes a file in the page






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






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






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. Indicates that a method doesn't return a value.






21. Indicates that a variable or class or method can be used by any other Java code.






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






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






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






25. An opensource Java Application Server






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






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






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






29. Useful only for small sites






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






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






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






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






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






35. Includes a new tag library into page - allows use of tags in page






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






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






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






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






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






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






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






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






44. Used to generate HTML






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






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






47. A self-reference






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






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






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