DeVry CIS 247A CIS/247A CIS 247 Object Final Exam with Answers

$22.99

Category: Tags: ,

Description

Question 1.1. (TCO 1) Object-oriented programming does not generally focus on _____. (Points : 5)

Question 2.2. (TCO 2) Which of the following components of a class definition can be overloaded? (Points : 5)

Question 3.3. (TCO 5) Which of the following method pairs are examples of method overloading? (Points : 5)

Question 4.4. (TCO 1) Which of the following statements is/are true? (Points : 5)

Question 5.5. (TCO 1) Which of the following would be the most appropriate choice for a method in a Stapler class? (Points : 5)

Question 6.6. (TCO 2) Which of the following statements is/are true? (Points : 5)

Question 7.7. (TCO 4) Which of the following terms can be used to describe inheritance relationships between classes? (Points : 5)

Question 8.8. (TCO 4) There are two classes: class GeometricObject and class Cylinder. Which one is the base class and which one is the derived class? (Points : 5)

Question 9.9. (TCO3) Which of the following might be potential class(es) in an application? (Points : 5)

Question 10.10. (TCO3) Which of the following correctly describes the steps taken to develop classes using the object-oriented design process, after we develop a prototype for the user interface? (Points : 5)

Question 11.11. (TCO 4) In object-oriented programming, inheritance is transitive; that means a child class _____. (Points : 5)

Question 12.12. (TCO 6) _____ is the ability to combine data and operations on that data into a single unit. (Points : 5)

Question 13.13. (TCO 2) You are given a Shape class that was designed with the concept of a black box in mind. You need to integrate the Shape class into your own code. Which of the following statements is true? (Points : 5)

Question 14.14. (TCO 2) Given a private string attribute called homeState, which of the following are proper pseudocode implementations for a getter and a setter? (Points : 5)

Question 15.15. (TCO 2) You need to design an EntertainmentSystem class. How can you utilize the concept of encapsulation to design this class? (Points : 5)

Question 1.1. (TCO 7) Which of the following statements are true? (Points : 5)

Question 2.2. (TCO 7) Which of the following statements is/are false? (Points : 5)

Question 3.3. (TCO 7) In terms of object-oriented programming, abstract classes and interfaces enforce a(n) ______ which is simply a mechanism that forces programmers to adhere to certain “rules.” (Points : 5)

Question 4.4. (TCO 8) Data/information hiding and encapsulation improves construction and maintenance because: (Points : 5)

Question 5.5. (TCO 8)  What are some of the characteristics of “self-documenting” code? (Points : 5)

Question 6.6. (TCO 9) Which of the following allow a programmer to reduce the complexity of an object-oriented program? (Points : 5)

Question 7.7. (TCO 1) Assuming a class definition of a Fish that has a default constructor and constructor that accepts three string arguments, and the appropriate properties defined, how many objects are created in the code below? 

Question 8.8. (TCO 2) Which of the following is a proper implementation for a setter? (Points : 5)

Question 9.9. (TCO 7) Which of the following declares an abstract method in an abstract class? (Points : 5)

Question 14.14. (TCO 2) Given the following list of classes, attributes and methods, 

Question 1.1. (TCO 2) Keeping in mind all object-oriented programming best practices, create a class for a Keyboard, with the following specifications: