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
Introduction to Psychology

Analyze this:
Our Intro to Psych Course is only $329.

Sophia college courses cost up to 80% less than traditional courses*. Start a free trial now.