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. Refers to the superclass of the code in which the word super appears.






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






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






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






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






6. Creates a newly defined type






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






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






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






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






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






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






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






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






15. Reuses the functionality from a previously defined interface.






16. Tests to see whether a certain object comes from a certain 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 const variable.






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






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






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






21. Creates an object from an existing class.






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






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






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






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






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






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






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






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






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






31. Jumps out of a loop or switch.






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






33. A self-reference






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






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






36. Used to generate HTML






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






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. Indicates that a value is a 32-bit number with one or more digits after the decimal point.






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






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






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






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






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






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






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






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






48. Keeps two threads from interfering with one another.






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






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