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. Indicates that a value is either true or false in the Java sense.






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






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






4. Creates a subclass






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






6. Creates an object from an existing class.






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






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






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






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






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






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






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






14. Used to generate HTML






15. An opensource Java Application Server






16. Keeps two threads from interfering with one another.






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






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






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






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






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






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






23. A set of Java APIs that provide CORBA (Common Object Request Broker Architecture) interoperability and connectivity capabilities for the J2EE platform. These capabilities enable J2EE applications to invoke operations on remote network services using






24. Useful only for small sites






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






26. Introduces a class






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






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






29. Includes a file in the page






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






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






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






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






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






35. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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






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. Indicates that a variable or method can be used in subclasses from another package.






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






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






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






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






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






47. Ends execution of a method and possibly returns a value to the calling code.






48. Creates a newly defined type






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






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