Description
Devry CIS 247 Week 3 Quiz Latest
- 1.Question : (TCO 2) Which of the following statements is/are true?
Object names are listed in the middle section of a UML diagram.
Attribute names are listed in the middle section of a UML diagram.
Method names are listed in the middle section of a UML diagram.
Class names are listed in the middle section of a UML diagram.
None of the above
Question 2. Question : (TCO 2) Java, C#, and C all allow for the use of comments. Which of the following statements are true regarding comments?
The compiler will ignore all comments if they are properly formatted.
The IDE will ignore all comments if they are properly formatted.
The output console will ignore all comments if they are properly formatted.
All of the above
None of the above
Question 3. Question : (TCO 2) Attributes represent the _____ of an object because they store information about that object.
state
behaviors
size
accessibility
Question 4. Question : (TCO 2) If a programmer does not explicitly define a(n) _____, a default version will be provided by the compiler.
destructor
method
constructor
attribute
All of the above
Question 5. Question : (TCO 2) One of the ways object-oriented languages protect object data is through _____.
integration of objects
universal data access
the public accessor
encapsulation
All of the above
Question 6. Question : (TCO 2) Which of the following symbols indicate(s) level of access for both attributes and methods in a class.
*
&
All of the above
Question 7. Question : (TCO 2) Object-oriented classes should be designed with the concept of a black box in mind. This means that users of the class should only need to know what _____ and _____ are associated with the class. The actual implementation details need not be known.
interface; implementation
inputs; outputs
objects; accessors
relationships; interfaces
Question 8. Question : (TCO 2) One of the benefits of _____ is that it allows the implementation of a class to change without affecting external entities using that class.
abstraction
encapsulation
instantiation
construction
Question 9. Question : (TCO 2) Which of the following is a proper implementation for a getter?
int getAge() { return age;}
void getAge() {return age;}
int getAge(int newAge) {this.age = newAge;}
void getAge() {return age;}
Question 10. Question : (TCO 2) Identify the attribute declaration(s) below that most likely contribute to the concept of information/data hiding.
private string name;
private name;
string private name;
string name;
None of the above
DeVry Courses helps in providing the best essay writing service. If you need 100% original papers for Devry CIS 247 Week 3 Quiz Latest, then contact us through call or live chat.
Devry CIS 247 Week 3 Quiz Latest

Reviews
There are no reviews yet.