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






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






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. Includes a file in the page






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






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






7. Creates a newly defined type






8. Keeps two threads from interfering with one another.






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






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






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






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






13. A self-reference






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






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






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






17. Enables the programmer to abbreviate the names of classes defined in a package.






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






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






20. Useful only for small sites






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






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






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






24. Puts the code into a package






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






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






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






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






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






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. Indicates that a variable or method belongs to a class rather than to any object created from the class.






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






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






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






35. Introduces a class






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






37. Jumps out of a loop or switch.






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






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






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






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






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






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






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






45. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.






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






47. Creates an object from an existing class.






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






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






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