1. (TCO 3) Assume you have a RacingCar class with a non-static data member named
ID: 3627519 • Letter: 1
Question
1. (TCO 3) Assume you have a RacingCar class with a non-static data member named speed. If you create four objects of this class, how many copies of the speed variable will you have? (Points : 2)1
2
3
4
2. (TCO 3) A(n) _____ relationship represents composition. (Points : 2)
"forms a"
"is a"
"has a"
"is composed of"
3. (TCO 3) The contents components in a C# class structure are called the ____ of the class. (Points : 2)
elements
members
group
None of the above
4. (TCO 3) C# is a(n) ____________ programming language. (Points : 2)
object-oriented
GUI based
powerful
All of the above
5. (TCO 3) Object-oriented programming primarily focuses on the ______. (Points : 2)
classes
methods
variables
interface
6. (TCO 3) When a composite object contains other objects, in order to expose the containing object to other objects, the host object must ______________ (Points : 2)
Use a private variable to expose the object
composite objects
Create an appropriate Property (get/set) method
none of the above
7. (TCO 3) C# member function definitions ___________. (Points : 2)
must include a set of curly braces
support information hiding
must have an access modifier accept the destructor
All of the above
Explanation / Answer
http://homeworkfox.com/tutorials/computer-science/11738/comp220-final-exam-2-perfect-tutorial/
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.