登录
首页 » 其他项目 » 一:需求分析 1.本程序需掌握树和二叉树的概念及工作原理,运用其原理及概念完成实验.。 2.问题描述: 一个逻辑表达式如果对于其变元的任一种取值都为...

一:需求分析 1.本程序需掌握树和二叉树的概念及工作原理,运用其原理及概念完成实验.。 2.问题描述: 一个逻辑表达式如果对于其变元的任一种取值都为...

于 2022-01-23 发布 文件大小:60.93 kB
0 372
下载积分: 2 下载次数: 1

代码说明:

一:需求分析 1.本程序需掌握树和二叉树的概念及工作原理,运用其原理及概念完成实验.。 2.问题描述: 一个逻辑表达式如果对于其变元的任一种取值都为真,则称为重言式;反之,如果对于其变元的任一种取值都为假,则称为矛盾式;然而,更多的情况下,既非重言式,也非矛盾式。试写一程序,通过真值表判断一个逻辑表达式属于那一类。 3.基本要求: (1)逻辑表达式从终端输入,长度不超过一行。逻辑运算符包括“|”,“&”和“~”, 分别表示或、与和非,运算优先程度递增,但可以有括号改变,即括号内的运算优先。逻辑变元为大写字母。表达式中任何地方都可以含有多个空格符。 (2)若是重言式或矛盾式,可以只“显示True forever”或“False forever”,否则显示“Satisfactible”以及变量名序列,与用户交互。若用户对表达式中变元取一组值,程序就求出并显示逻辑表达式的值。 -1 : a needs analysis. The process required the trees and the binary tree master the concept and principle, to use its principles and the concept of completion of the pilot. . 2. Problem description : If a logical expression for the changes in the yuan"s value for a true, as tautology; Instead, If the changes for the yuan"s value for a fake, then called the contradiction; However, the more the situation, neither tautology. is not a contradiction. Try to write a procedure for the adoption of a truth table judgment logical expression belong into that category. 3. Basic requiremen

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 数字滤波器 labview程序
    数字滤波器 labview程序-Digital Filter
    2022-02-13 17:20:33下载
    积分:1
  • C++程序供初学者使用
    C++程序供初学者使用-C program for beginners
    2023-06-12 02:55:03下载
    积分:1
  • 加工中心FANUC数控系统的梯形图源程序。
    加工中心FANUC数控系统的梯形图源程序。-CNC Machining Center FANUC source of the ladder.
    2022-08-14 07:40:01下载
    积分:1
  • 手机设计基本原理,对于研究手机这一块很有帮助.
    手机设计基本原理,对于研究手机这一块很有帮助.-The basic principles of mobile phone design, the study of this piece of useful phone.
    2022-03-01 08:09:29下载
    积分:1
  • Java结合JSP的论坛系统!
    Java结合JSP的论坛系统!-forum system.
    2022-02-16 09:14:34下载
    积分:1
  • 编号为1
    编号为1-52张牌,正面向上,从第2张开始,以2为基数,是2的倍数的牌翻一次,直到最后一张牌;然后,从第3张开始,以3为基数,是3的倍数的牌翻一次,直到最后一张牌;然后…从第4张开始,以4为基数,是4的倍数的牌翻一次, 直到最后一张牌;...再依次5的倍数的牌翻一次,6的,7的 直到 以52为基数的 翻过,输出:这时正面向上的牌有哪些?-No. 1-52 card in a positive, progressive, from the first two, with two as the base, 2 is a multiple of the license over time, until finally a license; Then, from the first three starting with three to the base, 3 is a multiple of the license over time, until finally a license; Then ... from the first four starting to four as the base, 4 is a multiple of the license over time, until finally a license; ... followed by the five multiples of the licensing repotted once, 6, 7 to 52 until the base of the turn, the output : At this time positive signs of upward What?
    2022-01-25 16:12:45下载
    积分:1
  • 这是一个简单的shaduruanjian
    this is a simple shaduruanjian
    2022-08-08 06:23:37下载
    积分:1
  • In cdma2000 mobile communication system in the air interface to carry out part o...
    在cdma2000移动通信系统中空中接口部分使用CAVE进行身份认证。-In cdma2000 mobile communication system in the air interface to carry out part of the use of CAVE authentication.
    2022-06-17 08:58:55下载
    积分:1
  • 医生开方统计,该功能主要是对医生所开的处方进行统计
    医生开方统计,该功能主要是对医生所开的处方进行统计-Statistics prescriptions
    2023-05-02 08:40:03下载
    积分:1
  • 很好的c语言习题解答
    很好的c语言习题解答-good execise answer for C
    2023-02-28 20:20:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载