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. Enables the programmer to abbreviate the names of classes defined in a package.






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






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






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






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






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






7. Puts the code into a package






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






9. Jumps out of a loop or switch.






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






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






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






13. Creates a newly defined type






14. Useful only for small sites






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






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






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






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






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






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






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






22. Used to generate HTML






23. Keeps two threads from interfering with one another.






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






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






26. Refers to the superclass of the code in which the word super appears.






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






49. A self-reference






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