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. A tool for tracking and managing source file changes - written in Java.






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






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






4. A lock that can be counted - i.e. how many times a resouce has been accessed and locked






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






6. A self-reference






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






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






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






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






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






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






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






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






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






16. Includes a file in the page






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






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






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






20. CRUD: Create - Retrieve - ________ - Delete






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






22. Basic code block of a JSP page






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






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






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






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






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






28. Creates an object from an existing class.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






46. Introduces a class






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






48. Used to generate HTML






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






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