什么是谓词?(What is a predicate?)

编程入门 行业动态 更新时间:2024-10-27 18:20:12
什么是谓词?(What is a predicate?)

作为一名业余爱好者,我缺乏一些基础知识。 在过去的几天里,我一直在阅读一些东西,“谓词”一词不断重现。 我非常感谢关于这个问题的解释。

Being a hobbyist coder, I'm lacking some fundamental knowledge. For the last couple days I've been reading some stuff and the word "predicate" keeps reappearing. I'd very much appreciate an explanation on the subject.

最满意答案

一个谓词的定义,可以在这里在各种来源在线查找:

一个逻辑表达式,其计算结果为TRUE或FALSE,通常用于指导代码中的执行路径。

参考: 软件测试。 马修·海登

The definition of a predicate, which can be found online in various sources such as here, is:

A logical expression which evaluates to TRUE or FALSE, normally to direct the execution path in code.

Referencing: Software Testing. By Mathew Hayden

更多推荐

本文发布于:2023-07-20 11:05:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1198668.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:谓词   predicate

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!