CIS247 Week 8 – Study Material for Finals – 10 MCQs,7 Essay Questions – Guaranteed 100% score

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

Add to Cart

Buy Now

View Cart


Problem Statement

1. (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 : 10)
object
class
member
field

2. (TCO 1) The following is/are object-oriented programming feature(s): (Points : 10)
Ease of Use
Implementation
Abstraction
All of the above
None of the above

3. (TCO 1) Both _____ and _____ allow for code reuse and the building of more complex systems. (Points : 10)
inheritance; composition
UML diagrams; serialization
messaging; object behaviors
None of the above

4. (TCO 4) _____ is based on the principle that knowledge of a general category can be applied to more specific objects. (Points : 10)
Polymorphism
Abstraction
Information hiding
Inheritance

5. (TCO 2) Only those class members that are hidden from users of the class are part of the _____ of the class. (Points : 10)
interface
implementation
constructors
GUI (graphical user interface)

6. (TCO3) What is a class? (Points : 10)
A set of characteristics and behaviors that define an object
A job description
A and B
None of the above

7. (TCO3) What is an object? (Points : 10)
An object is an instance of the class
The object is created by calling the class constructor
A and B
None of the above

8. (TCO 4) Select the parent class. (Points : 10)
Automobile
Convertible
MiniVan
Sedan

9. (TCO 6) _____ is the ability to combine data and operations on that data into a single unit. (Points : 10)
Inheritance
Encapsulation
Polymorphism
Composition

10. (TCO 6) _____ is the ability to use the same expression to denote different operations depending on the type of object calling the expression. (Points : 10)
Inheritance
Encapsulation
Polymorphism
Composition

1.
(TCO 8) Briefly describe which elements of a class use the Pascal case, and what are the best practices regarding the naming of these elements. (Points : 18)

2. (TCO 2) Does Encapsulation imply Data/Information Hiding in object-oriented programming or vice versa? Are these two terms the same? Please explain. (Points : 18)

3. (TCO 2) Given the following list of classes, attributes and methods,

•identify which items are classes, which items are attributes and which items are methods;
•identify which class each attribute and method belongs to; and
•suggest a class hierarchy given your list of classes.

*Note – no particular capitalization scheme is used in the list below to differentiate between classes, methods, and attributes.

LandOnStatue, NumberOfLegs, Height, ShoeSize, Eat, Animal, Speak, WingSpan, Age, Peck, Sleep, Horse, LengthOfMane, Move, BeakLength, LengthOfTail, Bird, SaddleUp (Points : 18)

4. (TCO 7) How do you distinguish between virtual functions and pure virtual functions? How do you use the abstract class and the methods defined inside the abstract class? (Points : 18)

5. (TCO 4) Explain how inheritance allows you to use knowledge of general situations and apply it to more specific categories. List the benefits of using inheritance. (Points : 18)

6. (TCO 6) How does polymorphism promote extensibility? How does polymorphism enables you to program “in the general” rather than “in the specific.” Explain the key advantages of programming “in the general.” (Points : 18)
7. (TCO 2) Define and implement the overloaded constructors that support the following test function for an Employee class. The data members for the Employee class are:

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 = $20
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