How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 9533
Experience:  Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
29751445
Type Your Programming Question Here...
LogicPro is online now
A new question is answered every 9 seconds

1. (TCO 1) Which of the following would be the most appropriate

Resolved Question:

1. (TCO 1) Which of the following would be the most appropriate choice for a method in a Cylinder class? (Points : 5)
InputRadius()
Volume()
Radius()
Area()
2. (TCO 1) Object-oriented programming generally does not focus on _____. (Points : 5)
A. code reuse with classes
B. information hiding
C. ease of program modifiability
D. separating the interface from the implementation
All of the above
None of the above
Only A, C, and D
3. (TCO 2) Which of the following components of a class definition do not have a return type? (Points : 5)
Public member methods
Accessor/mutator methods
Constructors
Private member methods
None of the above
4. (TCO 2) Which of the following statements is/are true? (Points : 5)
A. A default constructor is automatically created for you if you do not define one.
B. A static method of a class can access non-static members of the class directly.
C. An important consideration when designing a class is identifying the audience, or users, of the class.
None of the above
Only A and C
5. (TCO 5) Which of the following method pairs are examples of method overloading? (Points : 5)
A. public void Bake() ; public int Bake(int x)
B. public int Mix(int x, int y, int z) ; public int Mix(int y, int x, int z)
C. public int Shake(int x, int y) ; public int Shake(int x, int y, int z)
All of the above
Only A and C
6. (TCO 1) Which of the following statements is/are false? (Points : 5)
By using the keyword class in your program, memory is allocated for the object being defined.
Method overloading is the basic concept of the object-oriented paradigm.
Objects are created during program execution but are never destroyed.
All of the above
7. (TCO 2) You need to design an Automobile class. How can you utilize the concept of encapsulation to design this class? (Points : 5)
Subdivide the two most general attributes of any Automobile, make and model, into more specific attributes.
Create a Make class and a Model class and integrate them into Automobile using composition.
Include both general attributes such as make and model with generic behaviors such as consumeFuel and moveForward into one entity.
Find a Transportation class and inherit only those pieces that you need from it.
All of the above
8. (TCO 2) A black box is a term used to describe a system that can be understood solely based on its inputs, a description of its _____ and the resulting outputs. (Points : 5)
processing
inherited processes
attributes
accessors
9. (TCO 2) A class is designed with two public attributes: attributeOne and attributeTwo. attributeOne is an integer data type while attributeTwo is a string data type. Which pseudocode representation(s) of setters would be appropriate for this class? (Points : 5)
A. int setAttributeOne(int newAttributeOne)
{
return attributeOne
}
B. void setAttributeOne(int newAttributeOne)
{
attributeOne = newAttributeOne
}
C. string setAttributeTwo (int newAttributeTwo)
{
attributeTwo = newAttributeTwo
}
D. void setAttributeTwo ()
{
attributeTwo = “ “
}
Both A and C
None of the above
10. (TCO 7) Which of the following statements is true? (Points : 5)
Interfaces contain a list of method signatures.
Interfaces contain constants, abstract methods and fully implemented constructors.
Static Interface objects are instantiated using the new keyword just like regular classes.
An Interface represents a specific type of class inheritance.
11. (TCO 7) Abstract classes may contain which of the following? (Points : 5)
A. Abstract methods
B. Non-abstract methods
C. Virtual methods
A and B
A and C
B and C
A, B, and C
12. (TCO 7) Programmers may be forced to adhere to a contract or a specification defined by a framework due to the use of _____ and _____. (Points : 5)
abstract classes; constants
abstract classes; interfaces
base classes; abstract methods
has-a; is-a relationships
None of the above
13. (TCO 4) If you have a complete, working Circle class that has been thoroughly tested, and you wish to add an overloaded area() method that can calculate the area of a Cylinder, how should this be accomplished? (Points : 5)
Add the method to your existing Circle class.
Derive a new class Cylinder from the Circle class.
Make a brand new class.
Add the method in the same class as the Main method.
14. (TCO 3) A Boat class, SkiBoat class and WaterSkier class have what type of relationships?
(Points : 5)
The Boat is-a SkiBoat.
The WaterSkier has-a SkiBoat, and the Boat is-a SkiBo
Submitted: 1 year ago.
Category: Programming
Expert:  LogicPro replied 1 year ago.
Hi
Welcome back
Thank you for asking me
You should be using "For LogicPro only" at the start of your questions to ensure question comes to me

What is the deadline?
Customer: replied 1 year ago.

I'll do that next time.


 


I have 3 hours. Also have more questions for additional $

Expert:  LogicPro replied 1 year ago.
Post that as a new question with suitable price using only "For logicpro only" as question text. once I reply on that page, you can copy paste the question
Goto following link
http://www.justanswer.com/homework/expert-logicpro/
to create the question under my profile
Customer: replied 1 year ago.

Repost this one?

Expert:  LogicPro replied 1 year ago.
No. For additional questions

How many more questons you have?
Customer: replied 1 year ago.

16 additional

Expert:  LogicPro replied 1 year ago.
You can create a new question for those using only "For logicpro only"

Goto following link
http://www.justanswer.com/homework/expert-logicpro/
to create the question under my profile
Customer: replied 1 year ago.

Done

Expert:  LogicPro replied 1 year ago.
I don't see new question. Please check again
Customer: replied 1 year ago.

should be there now. delay.

Expert:  LogicPro replied 1 year ago.
Got it and replied to you

Can you provide #14 of this question again " A Boat class, SkiBoat class and WaterSkier class have what type of relationships?"
Customer: replied 1 year ago.













14. (TCO 3) A Boat class, SkiBoat class and WaterSkier class have what type of relationships?
(Points : 5)

The Boat is-a SkiBoat.
The WaterSkier has-a SkiBoat, and the Boat is-a SkiBoat.
The WaterSkier has-a Boat, and the SkiBoat is-a Boat.
The SkiBoat is-a Boat.

 















15. (TCO 4) Which of the following is true about an inheritance hierarchy? (Points : 5)

It is not a good practice to have deeply layered inheritance hierarchies.
When an inheritance hierarchy is too deep, it is easy to lose track of the members in the great-grandchildren classes.
Inheritance hierarchies are easier to implement than to design.
All of the above
None of the above
Expert:  LogicPro replied 1 year ago.
ok. Please wait
Expert:  LogicPro replied 1 year ago.
Download:


http://www.wikisend.com/download/267944/oopsQuiz2.docx

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and rate my answer as excellent. I can address follow up questions on original requirements at no extra charge and I’m always here to help. Thank you for using JustAnswer!
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 9533
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
LogicPro and 3 other Programming Specialists are ready to help you
Expert:  LogicPro replied 1 year ago.
Hello Nick, How are you?
If you have other questions, You can ask me using "For LogicPro only" at the start of your questions to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/computer/expert-logicpro/
so you can come back and ask me a question anytime.

I would be happy to help you.

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
 
 
 

Meet The Experts:

 
 
 
  • ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7463
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
< Last | Next >
  • http://ww2.justanswer.com/uploads/SP/spatlanta2010/2011-6-23_12450_photo.64x64.gif ATLPROG's Avatar

    ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7463
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Computer Software Engineer

    Satisfied Customers:

    5603
    Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
  • http://ww2.justanswer.com/uploads/unvadim/2010-11-15_210218_avatar.jpg unvadim's Avatar

    unvadim

    Computer Software Engineer

    Satisfied Customers:

    1158
    Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.
  • http://ww2.justanswer.com/uploads/lifesaver333/2010-10-17_191349_ls.jpeg lifesaver's Avatar

    lifesaver

    Computer Software Engineer

    Satisfied Customers:

    950
    Several years of intensive programming and application development experience in various platforms.
  • http://ww2.justanswer.com/uploads/EH/ehabtutor/2012-8-2_202016_1.64x64.jpg ehabtutor's Avatar

    ehabtutor

    Computer Software Engineer

    Satisfied Customers:

    864
    Bachelor of computer science, 5+ years experience in software development, software company owner
  • http://ww2.justanswer.com/uploads/RA/rajivsharma086/2012-6-6_17128_displaypic.64x64.jpg Raj's Avatar

    Raj

    Computer Engg.

    Satisfied Customers:

    860
    BE CS, 4+ Experience in Programming and Database (ERP)
  • http://ww2.justanswer.com/uploads/eljonis/2010-01-06_130406_eljon2.jpg Eljon's Avatar

    Eljon

    Consultant

    Satisfied Customers:

    590
    11 yrs of programming (PHP, WordPress, XSL, SQL, JavaScript)
 
 
 

Related Programming Questions