C1S247 Quiz week 1 (Sample) Solution – Guaranteed 100% score

Lab Price = $8
Please feel free to send us your queries at: support@iqrajavaid.com
Payment Methods

Add to Cart

Buy Now

View Cart


Problem Statement
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 may 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 own copy
Three copies

9. (TCO 1) Inheritance is referred to as a(n) _____ relationship, while 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/ )

Relevant Material
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at support@iqrajavaid.com.
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at support@iqrajavaid.com and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at support@iqrajavaid.com.
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Payment Details

 

Lab Price = $8
Please feel free to send us your queries at: support@iqrajavaid.com
Payment Methods

Add to Cart

Buy Now

View Cart

Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on support@iqrajavaid.com
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.


Leave a Reply