views:

95

answers:

2

Specifically I've seen it used in the context of text filtering. As if "predicate" == "filter criteria".

Is this accurate?

+6  A: 

The word comes from logic.

A predicate is an "is" boolean question about the inputs.

"IsNull" is a predicate question.

Also, wikipedia link about Predicates in Math.

Paul Nathan
+6  A: 

What does ‘predicate’ mean in the context of computer science?

It is a term most commonly used in the field of Mathematical Logic.

From wikipedia

In mathematics, a predicate is either a relation or the boolean-valued function that amounts to the characteristic function or the indicator function of such a relation.

A function P: X→ {true, false} is called a predicate on X. When P is a predicate on X, we sometimes say P is a property of X.

.

"predicate" == "filter criteria"

To some extent.

Prasoon Saurav
I would change "to some extent" to "exactly the same", since one can either filter an element or not, which implies a boolean function, i.e. a predicate.
Dimitris Andreou