登录
首页 » 其他项目 » 一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两...

一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两...

于 2022-09-04 发布 文件大小:39.10 kB
0 191
下载积分: 2 下载次数: 1

代码说明:

一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在这两种形式中,从左到右均表示解释.试写一个魔王语言的解释系统,把 他的话解释成人能听得懂的话. 2. 基本要求: 用下述两条具体规则和上述规则形式(2)实现.设大写字母表示魔王语言的词汇 小写字母表示人的语言的词汇 希腊字母表示可以用大写字母或小写字母代换的变量.魔王语言可含人的词汇. (1) B --> tAdA (2) A --> sae 3. 测试数据: B(ehnxgz)B 解释成 tsaedsaeezegexenehetsaedsae若将小写字母与汉字建立下表所示的对应关系,则魔王说的话是:"天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一只鹅地上一只鹅". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鹅 | 追 | 赶 | 下 | 蛋 | 恨 | -one : a needs analysis. Problem description always use their own fiendish a very concise and abstract language speech Nobody can understand, but the language is gradually explained adult can understand the language, because his language is composed of the following two forms of

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

发表评论

0 个回复

  • 关于C语言学习的详细资料,可以通过资料了解编程基本思路
    关于C语言学习的详细资料,可以通过资料了解编程基本思路-On the C language learning detailed information can be programmed through the data to understand the basic idea
    2022-02-21 12:44:28下载
    积分:1
  • 日常信息管理
    Daily Information Manager
    2022-02-01 11:37:41下载
    积分:1
  • 大学三年级操作系统实验2作业调度,自己写的,当然也借鉴别人的...
    大学三年级操作系统实验2作业调度,自己写的,当然也借鉴别人的-University three-year experiment 2, the operating system job scheduling, wrote it myself, of course, learn from others
    2023-02-06 18:05:04下载
    积分:1
  • Excel
    Excel->MySQL 解决UNIX下使用Excel数据的困难。-Excel-gt; MySQL UNIX solutions use Excel data difficulties.
    2022-03-18 21:47:17下载
    积分:1
  • large write a performance based management courses, write well, only to see it
    大一时写的一个成绩管理课设,写的不好,就看看而已-large write a performance based management courses, write well, only to see it
    2022-02-06 01:06:31下载
    积分:1
  • MPC860T the manual integration of hardware platforms, a detailed description of...
    本手册结合MPC860T硬件平台,详细叙述了PPCBOOT/UBOOT以及嵌入Linux的移植过程,介绍了SNMP和WEB组件在嵌入平台上的移植过程,同时这也可以作为在其它硬件平台上移植嵌入Linux的参考手册。-MPC860T the manual integration of hardware platforms, a detailed description of PPCBOOT/UBOOT and embedded Linux migration process. introduced SNMP and Web components in the embedded platform on the transplanting process. This will also serve as the hardware platform on the other transplant embedded Linux reference manual.
    2022-06-26 07:56:31下载
    积分:1
  • 几个小东西呵呵 刚学的 agadgethrtjhsghtyw4tewert
    几个小东西呵呵 刚学的 agadgethrtjhsghtyw4tewert-several small things Oh just learning the agadgethrtjhsghtyw4tewert
    2022-02-12 02:50:16下载
    积分:1
  • 一维0-1背包问题
    一维0-1背包问题 - one dimensional knapsack problem 有一个最大容量为 X 的的背包 有 Y 个商品 第 i 件商品的的体积为 vi,价格为 pi 合理选择商品放入背包中,使得背包中商品的价值总和最大
    2023-01-04 04:10:03下载
    积分:1
  • 关于RS 编解码的资料!
    关于RS 编解码的资料! -On the RS codec information!
    2022-05-07 19:52:53下载
    积分:1
  • usaco第1
    USACO Section 1-4的后两个程序以及Section 1-5的全部程序代码-USACO Section 1-4 of the latter two procedures, as well as Section 1-5 of the full program code
    2022-07-24 20:52:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载