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. Imposes strict rules on the use of a variable by more than one thread at a time.






2. Useful only for small sites






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






4. Creates a newly defined type






5. A self-reference






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






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






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






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






10. Includes a file in the page






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






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






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






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






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






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






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






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






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






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






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






22. Keeps two threads from interfering with one another.






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






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






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






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






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






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






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






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






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






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 definition of the interfaces that permit CORBA objects to participate in transactions.






34. Reuses the functionality from a previously defined interface.






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






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






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






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






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






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






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






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






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






44. An opensource Java Application Server






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






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






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






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






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






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