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: 12875
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 7) Instances of a(n) _____ cannot be created. (Points

This answer was rated:

1. (TCO 7) Instances of a(n) _____ cannot be created. (Points : 2)
public class
abstract class
public function
pure virtual function


2. (TCO 7) A(n) _____ cannot be instantiated and therefore is used only to form related derived classes. (Points : 2)
method
abstract method
class
abstract class


3. (TCO 7) How is the pure virtual function different from a regular function? (Points : 2)
It can only be declared in an abstract class.
It is declared with =0 at the end of the function signature.
It does not contain function implementation.
All of the above


4. (TCO 7) Which of the following classes is most likely an abstract class? (Points : 2)
Vehicle
BlueSpruce
HandSaw
Goldfish


5. (TCO 7) In terms of object-oriented programming, a contract is a mechanism that forces a programmer to adhere to a predefined application programming interface or _____. (Points : 2)
method signature
class declaration
framework
object instantiation method
None of the above


6. (TCO 7) Which is the prototype for a pure virtual function in class TVGame called StartGame which has no inputs and returns a bool? (Points : 2)
bool virtual StartGame()
virtual bool StartGame() = 0;
virtual bool TVGame::StartGame() {}
bool virtual TVGame::StartGame(string) = 0;


7. (TCO 7) Which language(s) allow(s) implementation of multiple inheritance using only base classes? (Points : 2)
Java
.Net
C++
All of the above


8. (TCO 7) Which of the following classes represent an abstract class? (Points : 2)
class Dog {
void eat()=0;
}
class Dog {
virtual void eat ()=0;
}
class Dog {
void eat ();
}
class Dog {
void eat (){}
}


9. (TCO 7) Which of the following declares an abstract method in an abstract C++ class? (Points : 2)
public: virtual calc();
public: virtual void calc()=0;
public: void calc() {}
public: void calc()=0;


10. (TCO 7) Assume the function area is a pure virtual function. Which prototype would a programmer use in the class declaration for the class TwoDimensionalShape? (Points : 2)
void virtual area() = 0;
virtual void area()
virtual void area() = 0;
void TwoDimensionalShape::area() = 0;
Hi,
Welcome back and thank you for asking me.
What is the deadline?
Customer: replied 3 years ago.

I have an hour

ok, please wait.
Customer: replied 3 years ago.

Thank you

welcome
Download answer from here: quiz00.docx

You can ask me again using "For LogicPro only" at the start of your questions like you did 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 this site!

LogicPro and 2 other Programming Specialists are ready to help you
Hi again,
Just following up with you to see how everything is going and if you have more questions for me.
You can ask me again using "For LogicPro only" at the start of your questions like you do 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.
If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.
I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!
Thanks very much for using Just Answer!
Best wishes
LogicPro
Customer: replied 3 years ago.

nevermind. posted on accident here

ok

Related Programming Questions