1. The new object-oriented COBOL compiler will be able to compile traditional COBOL code.         
A.True
B.False


2. Objects can share attributes.      
A.True
B.False


3. INSTANCE VARIABLEs can be shared among objects in a class.         
A.True
B.False


4. FACTORY data is unique for an object in a class.
A.True
B.False


5. A method in one object cannot directly change the data values in another object.
A.True
B.False


6. One advantage of reusable code stored in libraries is reducing maintenance costs.
A.True
B.False


7. INSTANTIATION establishes a new instance of an object.
A.True
B.False


8. CLASS-CONTROL is found in the DATA DIVISION.
A.True
B.False


9. To pass a parameter from an object method we use the verb INVOKE with the clause
USING.
A.True
B.False


10. JAVA is a language that already implements the object-oriented approach.
A.True
B.False


11. Scope terminators are used to delimit instructions.
A.True
B.False


12. The methods of a class are unique to that class.
A.True
B.False


13. A message may contain input and/or output parameters.
A.True
B.False


14. The INVOKE statement is found in what DIVISION? ________________________

Answer:


15. What is a method? _____________________________________________________

Answer:


16. What is an ancestor class? _______________________________________________

Answer:


17. What is a descendent class or subclass?____________________________________

Answer:


18. What type of program is one that activates or passes a message to an object?
________________________________________________________________________

Answer:


19. What is PERSISTENCE? ________________________________________________________________________

Answer:


20. What are OBJECT HANDLES? __________________________________________

Answer:


21. One technique that is used to improve the quality of programs is
________________________________________________________________________

Answer:


22. What term means that a method can be implemented differently depending upon the object? _________________________________________________________________

Answer:


23. What provides a means of deriving a new class from a base class? _______________

Answer:


24. Which of the following is false about object-oriented programming?
A.Programmer productivity will be improved.
B.They may significantly enhance program quality.
C.C++ has object-oriented extensions.
D.Users will have a better understanding of the techniques used in coding.
E.Programs will become more standardized.


25. A local public school district has several types of employees. Professors teach classes and must have special certification. Secretarial staff must have civil service levels. Bus drivers must have special licenses. In the object EMPLOYEE, a bus driver's license is an example of:
A.FACTORY data
B.FACTORY method
C.BASE CLASS
D.INSTANCE VARIABLE
E.OBJECT HANDLE



This is the end of the test. When you have completed all the questions and reviewed your answers, press the button below to grade the test.