CIS247 Final Exam

CIS247 Final Exam

Author: Christine Farr


1. (TCO 1) Which of the following would be a more appropriate choice for a method in a PhoneCharger class? (Points : 5)
2. (TCO 1) Object-oriented programming generally focuses on _____. (Points : 5)
3. (TCO 2) Which of the following components of a class definition do not have an access modifier? (Points : 5)
4. (TCO 2) Which of the following statements is/are true? (Points : 5)
5. (TCO 5) Which of the following method pairs are not examples of method overloading? (Points : 5)
6. (TCO 1) Which of the following statements is/are false? (Points : 5)
7. (TCO 2) You have been tasked to create an Automobile class and your boss wants you to consider the concept of encapsulation as you design your class. Which of the following actions will you take? (Points : 5)
8. (TCO 2) A black box is a term used to describe a system that can be understood solely based on its inputs, a description of its _____ and the resulting outputs. (Points : 5)
9. (TCO 2) A class is designed with two public attributes: attributeOne and attributeTwo. attributeOne is an integer data type while attributeTwo is a string data type. Which pseudocode representation(s) of setters would be appropriate for this class? (Points : 5)
10. (TCO 7) How is the pure virtual function different from a regular function? (Points : 5)

See More
Try a College Course Free

Sophia’s self-paced online courses are a great way to save time and money as you earn credits eligible for transfer to over 2,000 colleges and universities.*

Begin Free Trial
No credit card required

26 Sophia partners guarantee credit transfer.

226 Institutions have accepted or given pre-approval for credit transfer.

* The American Council on Education's College Credit Recommendation Service (ACE Credit®) has evaluated and recommended college credit for 21 of Sophia’s online courses. More than 2,000 colleges and universities consider ACE CREDIT recommendations in determining the applicability to their course and degree programs.