A unary ____________ function takes a single argument, performs a comparison using that argument and returns a bool value indicating the result.

Fill in the blank(s) with the appropriate word(s).

predicate.

Computer Science & Information Technology

You might also like to view...

Identify the compiler errors and state what is wrong with the code.

``` #include << using namespace std; class Dolphin { private: float size; string name; public: Dolphin(){name = “Tosser”; } void SetSize(float s) { size = s;} bool operator > (); }; void Dolphin::operator > () should be operator(Dolphin X) { if(X.size > size) return false; else return true; } int main() { Dolphin Big, Little; Big.SetSize(20); Small.SetSize(15); if(Big > Little) cout << “bigger”; else cout << “smaller”. } ```

Computer Science & Information Technology

Gradients that you create can be saved with a name of your choice.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology