Which of the following is an example of a ternary predicate?Single choice

A

a. A function called allUnique(A, B, C) which is True if the values of A, B, and C are all different, and False otherwise.

B

b. A function called divideByThree(X) which gives the value of X divided by 3.

C

c. A function called divisibleByThree(X) which is True if X is divisible by 3, and False otherwise.

D

d. A function called average(A, B, C) which gives the average of the numerical values A, B, and C.

Log in for full answers

We've collected over 50,000 authentic original questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!