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. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.






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






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






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






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






6. Jumps out of a loop or switch.






7. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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






13. Basic code block of a JSP page






14. Keeps two threads from interfering with one another.






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






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






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. Introduces a path of execution to take when no case is a match in a switch statement.






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






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






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






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






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






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






25. Puts the code into a package






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






27. A portable platform-independent reusable component model. A component that conforms to this model is called a bean.






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






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






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






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






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






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






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






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






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






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






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






39. Introduces a class






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






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






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






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






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






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






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






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






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






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






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