success error

Form Is Invalid!

Buy Best CIS247 Week 1 Quiz

Buy Best CIS247 Week 1 Quiz

 

CIS247 Week 1 Quiz (Sample) Solution
(TCO 1) The mechanism that allows you to combine data and the behavior for that data into a single unit is called a(n) _____. (Points: 2)
object
class
member
field

2. (TCO 1) Which of the following would be a more appropriate choice for a method in a Fork class? (Points: 2)
Color()
Bend()
Eat()
Material()

3. (TCO 1) Which of the following statements is/are true? (Points: 2)
A. Objects communicate through message passing.
B. An object is necessary to be defined before you can create a class.
C. The state of an object should not be hidden.
D. Implementation details should be visible through the interface of a class.
A and C
All are true
None are true
4. (TCO 1) Which of the following would be a more appropriate choice for a data member in a Window class? (Points: 2)
resize
show
color
open
5. (TCO 1) The following is/are object-oriented programming feature(s). (Points: 2)
Encapsulation
Inheritance
Abstraction
All of the above
None of the above

6. (TCO 8) Most professional coding standards use _____ for data members. (Points: 2)
Camel case
Attribute case
no specific naming convention
Pascal case

7. (TCO 1) Examine the ClockType class definition. How many class members does it contain?

class ClockType
{
private int hr;
public int min;
public int sec;

public void setTime(int x, int y, int z);
public int getTime();
public void printTime();

}

(Points: 2)
2
3
9
6
5

8. (TCO 1) Assume we have two objects of a class. How many copies of the class’s attributes and methods exist in the instantiated objects? (Points: 2)
Only one copy, both objects always share it
Zero, the objects do not have attributes and methods
Two copies, each object has its copy
Three copies

9. (TCO 1) Inheritance is referred to as a(n) _____ relationship, while the composition is referred to as a(n) _____ relationship. (Points: 2)
superclass-subclass; friend
Is-a; Has-a
Has-a; Is-a
None of the above

10. (TCO 1) Which of the following is a valid statement for a class definition in C#? (Points: 2)
class Animal { /code goes here/ }
Class Animal { /code goes here/ }
class Animal ( /code goes here/ )
Class Animal ( /code goes here/ )

Need Help with Course?

  1. Get Exam Done provides qualified online tutoring to university students in the State.
  2. All aspects of the course, including assignments, discussions, quizzes, and examinations, are covered by our online tutoring service.
  3. To assist our university students, we have employed professionals who can handle emergencies.

Therefore, regardless of not you are having trouble with a task or paying someone to take a test, we have got your back. Our online tutors work around the clock to complete your assignment and handle any issues you may be having. Our online course provider has fair prices as well. Get our online study assistance now to get started on the path to the grades you want!

Placeholder $3.99
Buy Best CIS247 Week 1 Quiz
  • 200+ Downloads
  • 8k Views