-
一:需求分析
1.本程序需掌握树和二叉树的概念及工作原理,运用其原理及概念完成实验.。
2.问题描述:
一个逻辑表达式如果对于其变元的任一种取值都为...
一:需求分析
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
- 2022-01-23 10:34:57下载
- 积分:1
-
这是一个非常简单的俄罗斯方块游戏,希望大家喜欢。
这是一个十分简单的俄罗斯方块的游戏,希望大家会喜欢。-This is a very simple game of the Russian box, I hope you will like.
- 2022-07-01 02:06:16下载
- 积分:1
-
利用C语言实现的零件排队问题
利用C语言实现的零件排队问题-The use of C language implementation of parts queuing problem! ! ! ! ! !
- 2022-03-22 14:37:01下载
- 积分:1
-
The East China Sea Lian
东海李莲中学网页源代码下载学习指导参考文件-The East China Sea Lian-school study guide website to download the source code reference document
- 2022-01-22 14:09:31下载
- 积分:1
-
window的一些东东~!
window的一些东东~! -window of the Eastern ~! ~!
- 2022-09-29 09:00:03下载
- 积分:1
-
主要介绍了等精度频率测量原理,该原理具有在整个测试频段内保持高精度频率
测量的优点 同时在该原理基础上,采用了Verilog HDL语言设计了高速的等精度测...
主要介绍了等精度频率测量原理,该原理具有在整个测试频段内保持高精度频率
测量的优点 同时在该原理基础上,采用了Verilog HDL语言设计了高速的等精度测频
模块,并且利用EDA开发平台QUARTUS11 3 .0对CPLD芯片进行写人,实现了计数等
主要逻辑功能 还使用C语言设计了该等精度频率计的主控程序以提高测量精度。本设
计实现了对频率变化范围较大的信号进行频率测量,能够满足高速度、高精度的测频要
求。-Introduced, such as the accuracy of frequency measurement principle, the principle has in the entire test frequency to maintain the advantages of high precision frequency measurement at the same time the basis of the principle of using the Verilog HDL language, such as the design of a high-speed precision frequency measurement module, and use of EDA Development platform QUARTUS11 3 .0 on CPLD chip to write, and achieved a count of the main logic function, such as the use of C language is also designed such precision the frequency of control procedures to enhance measurement accuracy. This design achieved a wide range of frequency changes in signal frequency measurement, to meet the high-speed, high precision frequency measurement requirements.
- 2023-08-06 16:05:04下载
- 积分:1
-
C++俄罗斯方块源代码,不过是用画图的方法写出来的
用ncurses.h写的一个俄罗斯方块游戏,不过只是代码加makefile 在命令行里面可以先简单试一下,主要是让人们能看懂俄罗斯方块游戏设计的原理。这个本来是我们上C++课老师留的作业,刚开始我也是没有任何思路,后来找了很多俄罗斯方块源代码也没有用ncurses.h来写的,所以我觉得发一个,虽然很简单,但难免以后也会有人需要
- 2022-06-15 15:59:53下载
- 积分:1
-
个个人自娱乐的扑克牌游戏 ,希望大家能够得到一定的帮助
个个人自娱乐的扑克牌游戏 ,希望大家能够得到一定的帮助-individuals from the entertainment poker games, we hope to get some help! !
- 2022-01-26 15:56:37下载
- 积分:1
-
tlp521
tlp521-4资料-tlp521-4 data
- 2022-07-09 17:57:21下载
- 积分:1
-
linux 下的vi / vim的编辑工具.具有详细的操作说明
linux 下的vi / vim的编辑工具.具有详细的操作说明-under linux vi/vim editing tools. A detailed statement of operations
- 2023-07-08 18:35:03下载
- 积分:1