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. Refers to the superclass of the code in which the word super appears.






2. Basic code block of a JSP page






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






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






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






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






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






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






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






10. Used to generate HTML






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






27. Useful only for small sites






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






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






30. Jumps out of a loop or switch.






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






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






33. A description of the structure and properties of a class of XML files.






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






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






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






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






38. Reuses the functionality from a previously defined interface.






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






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






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






42. A self-reference






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






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






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






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






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






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






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






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