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. Ends execution of a method and possibly returns a value to the calling code.






2. Includes a file in the page






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






4. The core framework supports clocks for synchronizing between different media (e.g. audio and video output). The standard extension framework allows users to do full audio and video streaming.






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






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






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 lock that can be counted - i.e. how many times a resouce has been accessed and locked






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






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






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






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






13. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.






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






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






16. Creates an object from an existing class.






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






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






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






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






21. A self-reference






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






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






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






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






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






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






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






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






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






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






32. An opensource Java Application Server






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






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






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






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






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






38. A class that wraps primitives - Integer or Boolean...






39. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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






45. Creates a subclass






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






47. Limits the computer's ability to represent extra large or extra small numbers when the computer does intermediate calculations on float and double values.






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






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






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