Update | 100% Correct –FSU.
Correct 40
Incorrect 00
COP 3330 Final Exam
40 Correct terms
Questions and answers
Term
a class, the function takes one parameter
, True operator=
Don't know?
2 of 40
Definition
The Sing function will not be defined for the Tenor class.
Give this one a try later!
Given the declaration: double* dptr; Which of the following can be legally assigned
into dptr?
Which of the following is a correct way to declare a member function of a class so
that it will be guaranteed to not change the member data of the calling object?
If Penguin is a class and p1 and p2 are objects of type Penguin, in which of the
following statements or situations is the class' copy constructor NOT invoked?
Consider the declaration: virtual double Sing(int x) = 0; Assume this declaration
is in a class called Tenor. The "= 0" on this declaration means?
Don't know?
3 of 40
, Term
The keyword virtual is used to delay the binding of function call to
definition so that it's done at run time, instead of compile time.
Give this one a try later!
operator= True
override False
Don't know?
4 of 40
Term
Suppose Pokemon is an abstract class, and Snorlax is a class that is
derived from Pokemon. Which of the following declarations is illegal?
Give this one a try later!
Pokemon pauly; Monster(Human x);
Double GetValue() const; Int Convert(float& x) const;
Don't know?