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 Raj Your Own Question

Raj
Raj, Engineer
Category: Homework
Satisfied Customers: 1267
Experience:  4 + Experiance in IT Industry
16752232
Type Your Homework Question Here...
Raj is online now
A new question is answered every 9 seconds

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

Resolved Question:

1. (TCO 1) Which of the following would be a more 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. separating the interface from the implementation.
B. client side access to implementation details.
C. information hiding.
D. ease of program modifiability.
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 functions
Accessor/mutator methods
Private member methods
Destructors
None of the above

4. (TCO 2) Which of the following statements is/are true? (Points : 5)
A. A constructor is automatically created for you if you do not define one.
B. A static method of a class can access nonstatic members of the class directly.
C. Perhaps the most 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)
public void Bake() ; public int Bake(int x)
public int Mix(int x, int y) ; public int Mix(int y, int x)
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 are tasked to create an Automobile class and you want to minimize data dependencies. You also need to protect specific attributes from outside entities. What object-oriented concept(s) would you use to accomplish these goals? (Points : 5)
Integration of objects
Universal data access
White box design
Encapsulation
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 getters would be appropriate for this class? (Points : 5)
int getAttributeOne()
{
return attributeOne
}
void getAttributeOne()
{
return attributeOne
}
int getAttributeTwo(int newAttributeTwo)
{
attributeTwo = newAttributeTwo
}
void getAttributeTwo()
{
return attributeTwo
}
Both A and D
None of the above

10. (TCO 7) Which of the following statements is true? (Points : 5)
A pure virtual function is a function without function implementation and is ended with =0;
An actual object can be created from an abstract class.
A pure virtual function is a function that cannot be inherited and therefore must be overloaded.
A pure virtual function cannot be overridden.

11. (TCO 7) An abstract _____ is used only to form related derived classes using inheritance since it cannot be instantiated. (Points : 5)
method
class
object
attribute

12. (TCO 7) When developing an object-oriented application, developers are required to comply with specific _____ or rules defined in a framework. (Points : 5)
object instantiations
naming conventions
instantiated classes
contracts
All of the above

1. (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.

2. (TCO 3) An Airplane class and a Jet class have what type of relationship? (Points : 5)
The Jet is-an Airplane.
The Airplane is-a Jet.
The Jet has-an Airplane
The Airplane has-a Jet.
Submitted: 1 year ago.
Category: Homework
Expert:  ATLProg replied 1 year ago.
Hello Welcome. Thank you for your question, I’m ATLProg and I’ll try to help you.
Do you have any word/pdf related to this question. If yes
Can you please go to www.wikisend.com and upload your file ? Once you do that you will get a page that has the "File ID" and "Download Link". Copy the "Download Link" or "File ID" and please
Customer: replied 1 year ago.

http://wikisend.com/download/370674/CIS247.docx

Expert:  ATLProg replied 1 year ago.
By when you need this done..
Customer: replied 1 year ago.

I have 1.5 hours left but as soon as possible is appreciated

Expert:  ATLProg replied 1 year ago.
Please confirm if the price of $90 works looking at effort needed
Customer: replied 1 year ago.

$90 is confirmed. How long will this approximately take?

Expert:  ATLProg replied 1 year ago.
i will start now..wil keep you posted
Customer: replied 1 year ago.

OK. Thank you!

Expert:  ATLProg replied 1 year ago.
Please download solution from

http://wikisend.com/download/809402/CIS247.docx

Please remember to rate my answer and add bonus to make the price to what we agreed
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 8788
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
ATLProg and 3 other Homework Specialists are ready to help you
Customer: replied 1 year ago.

The solution provided to the question below is above what I have learned in the class. Is there a way to make the answer simpler?



5. (TCO 4) Consider the class Triangle. Given your knowledge of some common components of triangles


• show a class hierarchy in which the class Triangle inherits from other classes, which, in turn, can also be inherited from yet other classes;
• discuss inheritance from class Triangle for other closely related derived classe; and
• discuss the common components of class Triangle.
(Points : 18)

Customer: replied 1 year ago.
Relist: Answer quality.
The answer was too advanced for the course I am taking
Expert:  Raj replied 1 year ago.
Hi There,

I will be helping you with the solution.
May I know the number of hrs. left?
Customer: replied 1 year ago.

less than one hour. I also have another question as well:


 


7. (TCO 2) Define and implement the overloaded constructors that support the following test function for a StudentEmployee class. The data members for the StudentEmployee class are:

• age - integer number
• name - String
• DSI - String
• salary - floating point number

int main()
{ //s1 will take all default value
StudentEmployee s1();
//s2 will take all supplied values
StudentEmployee s2 (50, "XXXXX XXXXX", "D87654321", 10000000.99);
//s3 will take supplied age value, name, DSI and salary will take default values
StudentEmployee s3 (25);
//s4 will take supplied age and name value, DSI and salary will take default values
StudentEmployee s4 (35, "Jenny");
//s5 will take supplied age, name and DSI value, salary will take default value
StudentEmployee s5 (45, "Jack", "D11223344");
//s6 will take supplied age, name and salary value, DSI will take default value
StudentEmployee s6 (60, "James Bond", 65000.0);
//s7 will take the same value of s2
StudentEmployee s7=s2;

//the rest of the code
}


 

Expert:  Raj replied 1 year ago.
I have the Word file you have posted as Question.
Can you please mentioned all the Questions you need to be Answered in them?
Customer: replied 1 year ago.

Essay question #5 and #7 on the last 3 pages of the document.

Expert:  Raj replied 1 year ago.
Ok Got it.
If I provide you solution in next 30 min is it fine with you?
Customer: replied 1 year ago.

yes. please hurry, I am running low on time. Thank you!

Expert:  Raj replied 1 year ago.
No Problem I have started working on them
Customer: replied 1 year ago.

you're a life saver. thank you!

Expert:  Raj replied 1 year ago.
Solution for Part 7:

//Default Constructor
StudentEmployee()
{
age = 0;
name = "";
DSI = "";
salary = 0.0;
}

//Second Constructor for all four parameters
StudentEmployee(int ag, String nm, String dsi, float sal)
{
age = ag;
name = nm;
DSI = dsi;
salary = sal;
}

//Third Constructor to take only age
StudentEmployee(int ag)
{
age = ag;
name = "";
DSI = "";
salary = 0.0;
}

//Fourth Constructor to take age and name only
StudentEmployee(int ag, String nm)
{
age = ag;
name = nm;
DSI = "";
salary = 0.0;
}

//Fifth Constructor to take Age, Name, and DSI
StudentEmployee(int ag, String nm, String dsi)
{
age = ag;
name = nm;
DSI = dsi;
salary = 0.0;
}

//Fifth Constructor to take Age, Name, and Salary
StudentEmployee(int ag, String nm, float sal)
{
age = ag;
name = nm;
DSI = "";
salary = sal;
}

//Copy constructor for assigning value using =
StudentEmployee(const StudentEmployee &se)
{
age=se.age;
name=se.name;
DSI=se.DSI;
salary=se.salary;
}

DOES ABOVE ONE LOOKS FINE TO YOU?
Customer: replied 1 year ago.

Yes. That looks about right.

Expert:  Raj replied 1 year ago.
Ok In above Solution I have included all the constructor definations required to run the code in PART 7.

Part 5 code is almost ready
Expert:  Raj replied 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
Raj, Engineer
Category: Homework
Satisfied Customers: 1267
Experience: 4 + Experiance in IT Industry
Raj and 3 other Homework Specialists are ready to help you
Expert:  Raj replied 1 year ago.
Thank you for your Feedback

In Future to request any new Question to me just begin your Question with TO RAJ followed by the Question in the following format:

TO RAJ: Followed by the Question.

Have a Good Day.
Expert:  ATLProg replied 1 year ago.
Thanks appreciate the gesture. You had me on 90 percent of answers and you pay other expert
I was working on simpler version of triangle problem so couldn't reply to you and you decided to work with other expert and couldn't wait even after I did do many answers for you so quickly. Good job
Customer: replied 1 year ago.
I apologize. I don't know how this works. This was my first time using this service and I thought the fee was distributed amongst all of you. Please let me know how I can fix this! I appreciate all of your help and you were very thorough. Can I retract payment to the other expert? If he received the whole fee, he doesn't deserve it. I know you did most of the work. The reason the questions was submitted to another expert because I saw that you went offline. Tell me how to fix this please.
Customer: replied 1 year ago.

I just sent an email to customer service requesting a refund for what I gave the second guy that helped me. I really am sorry. I'll wait to hear from customer service and you to see how I am to proceed.

Expert:  ATLProg replied 1 year ago.
Appreciate you taking time to correct it

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:

 
 
 
  • 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
< Last | Next >
  • 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
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4522
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4522
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3458
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3124
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2385
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1988
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1876
    Bachelors Degree and CPA with Accounting work experience
  • http://ww2.justanswer.com/uploads/avremote/photoa.jpg Seanna's Avatar

    Seanna

    Tutor

    Satisfied Customers:

    1781
    3,000+ satisfied customers, all topics, A+ work
 
 
 

Related Homework Questions

Chat Now With A Tutor
Raj
Raj
SAP ABAP Consultant
351 Satisfied Customers
4 + Experiance in IT Industry