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






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






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






4. Useful only for small sites






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






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






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






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






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






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






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






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






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






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






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






16. Tests the truth of a condition that the programmer believes is true.






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






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






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






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






21. A self-reference






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






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






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






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






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






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






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






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






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






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






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






33. An opensource Java Application Server






34. Introduces a class






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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