View the step-by-step solution to:

1. (TCO3) What is a class?

1. (TCO3) What is a class? (Points : 2)
A set of characteristics and behaviors that define an object
A template from which an object can be built
A and B
None of the above

2. (TCO3) A constructor can specify the return type: (Points : 2)
A constructor cannot specify a return type.

3. (TCO3) Which of the following might be potential class(es) in an application? (Points : 2)
Fill shape
Draw shape
All of the above
None of the above

4. (TCO3) Which of the following relationships are the most common relationships found between classes? (Points : 2)
All of the above
None of the above

5. (TCO 3) Assume you have a Person class with a non-static attribute named age. If you create seven objects of this class, how many copies of the salary attribute will you have? (Points : 2)
An unlimited number
None of the above

6. (TCO3) What happens right after the identification of classes in the object-oriented design process? (Points : 2)
Determining the class responsibilities
Determining class interaction
Creating UML diagram
Developing SOW

7. (TCO3) In the object-oriented design process, which of the following is/are true? (Points : 2)
There are many design methodologies available.
The waterfall design is one of the early design methodologies but is no longer appropriate in today’s object-oriented programming world.
We need to pick a methodology that can be followed by the corporation.
All of the above

8. (TCO3) In object-oriented design, which of the following is true about the gathering requirements phase? (Points : 2)
The requirements developed need to represent what the user wants the system to do.
The level of detail needs to be very technical.
The requirements document does not need to be very specific in its representation of the true nature of the final system.
Gathering requirements happens after development of the user interface prototype is complete.

9. (TCO 3) Classes cannot _____. (Points : 2)
be inherited from other classes
have a relationship with other classes
be used to model attributes and behaviors of objects
None of the above

10. (TCO 3) Classes do not have the ability to _____. (Points : 2)
encapsulate data
enforce information hiding
contain both data and functions
know how other classes are implemented

Sign up to view the entire interaction

Top Answer

Here's the... View the full answer


1. (TCO3) What is a class? (Points : 2)
A set of characteristics and behaviors that define an object
A template from which an object can be built
A and B
None of the above
Ans: A and B
2. 2. (TCO3)...

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.


Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online