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. Gets the computer to repeat some statements over and over again (for instance a certain number of times).






2. Indicates that if and when an object is serialized a variable's value doesn't need to be stored.






3. Creates an object from an existing class.






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






5. Reuses the functionality from a previously defined interface.






6. Introduces a class






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






8. Creates a newly defined type






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






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






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






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






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






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






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






16. Useful only for small sites






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






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






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






20. Used to terminate the execution of the current JSP page and switch control to another resource






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 set of APIs that assists with the interfacing to multiple naming and directory services.






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






24. An opensource Java Application Server






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






26. CRUD: Create - Retrieve - ________ - Delete






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






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






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






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. In the Java programming language specification - describes a floating point number that holds 64 bits of data. See also single precision.






32. Repeats some statements over and over again (as long as a condition is still true).






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






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






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






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






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






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






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






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






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






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






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






44. Used to generate HTML






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






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






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






48. Puts the code into a package






49. Allows us to invoke more than one servlet in sequence when the URL is opened with a common servlet alias.






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







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests