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

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

于 2022-09-04 发布 文件大小:39.10 kB
0 219
下载积分: 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 个回复

  • 一个方块游戏,类似俄罗斯方块,但是玩法完全不同,大家可以尝试一下,这个是大学计算机专业的一个课程设计作业。...
    一个方块游戏,类似俄罗斯方块,但是玩法完全不同,大家可以尝试一下,这个是大学计算机专业的一个课程设计作业。-a block game, similar to Tetris, but the games are played completely different, we can give it a try. the University is a computer professional course design work.
    2023-04-17 03:45:04下载
    积分:1
  • 一个执行程序(实用)VB
    一个管理程序(实用)VB- A executive program (is practical) VB
    2022-12-29 14:00:04下载
    积分:1
  • I uploaded a seven
    本人上传了一幅红外的神七图片,对研究红外图象处理的也许有用啊-I uploaded a seven-infrared image of God, the study of infrared image processing may be useful ah
    2022-01-25 17:50:39下载
    积分:1
  • VC++编写的简单遗传算法,非常经典,值得下载。
    VC++编写的简单遗传算法,非常经典,值得下载。-VC prepared by the simple genetic algorithm, very classic, it is worth the download.
    2022-09-06 22:45:02下载
    积分:1
  • 读取radarsar数据的MATLAB程序
    读取radarsar数据的MATLAB程序-MATLAB program to read the data radarsar
    2022-08-25 21:48:54下载
    积分:1
  • pc.c是移植于μCOS
    pc.c是移植于μCOS-II的PC服务代码(pc.c) 主要改动: 1、#include "includes.h"改为"config.h" 2、在屏幕上显示改为向UART0发送数据,在电脑上显示,影响的函数: PC_DispChar()、PC_DispClrCol()、PC_DispClrRow()、PC_DispClrScr()和PC_DispStr() 3、获取键值改为从UART0获取,影响的函数:PC_GetKey() 4、因为没有dos环境所作的修改,影响的函数: PC_DOSReturn()、PC_DOSSaveReturn()、PC_SetTickRate()(删除)、PC_VectGet()(删除)和 PC_VectSet(删除)。 5、因为定时器不同所作的修改,影响的函数: PC_ElapsedStart()和PC_ElapsedStop()。 6、因为实时时钟不同所作的修改,影响的函数:PC_GetDateTime()。-pc.c is transplanted COS-II PC service code (pc.c) major changes : 1,# include "includes.h" with "config.h" two, displayed on the screen changed to UART0 send data on the computer, the function : PC_DispChar (), PC_DispClrCol (), PC_DispClrRow (), PC_DispClrScr (), and PC_DispStr () 3, access keys to read from UART0 acquisition, the function : PC_GetKey () 4 because no dos environment changes, it will affect the function : PC_DOSReturn (), PC_DOSSaveReturn (), PC_SetTickRate () (deleted), PC_VectGet () (deleted) and PC_VectSet (deleted). 5, becaus
    2022-12-20 12:30:03下载
    积分:1
  • win98 shutdown of the patch, I turned bad WIN9U small patch may be able to help...
    win98的关机补丁,对于关机不好的WIN9U小补丁也许能帮你的忙.-win98 shutdown of the patch, I turned bad WIN9U small patch may be able to help you in the 1980s.
    2022-03-21 03:58:36下载
    积分:1
  • 数值分析课程上机 拉格朗日插值多项式 插值多项式存在唯一性 在次数不超过N的多项式集合Hn中 满足条件的插值多项式Ln(x)^Hn 是唯一存在的! 牛顿插值 三...
    数值分析课程上机 拉格朗日插值多项式 插值多项式存在唯一性 在次数不超过N的多项式集合Hn中 满足条件的插值多项式Ln(x)^Hn 是唯一存在的! 牛顿插值 三色~-numerical analysis courses on the plane Lagrange polynomial interpolation polynomial interpolation existence and uniqueness to the number not exceeding N polynomial Hn pool to meet the conditions of polynomial interpolation Ln (x) ^ Hn is the only exists! Newton"s three color ~
    2022-08-09 11:34:55下载
    积分:1
  • 此程序为cad下lisp开发,具有在保持图块不打开的状态下复制其中的对象...
    此程序为cad下lisp开发,具有在保持图块不打开的状态下复制其中的对象-procedure for predicting lisp under development, is not maintaining the block open state in which the object replication
    2022-06-18 23:03:20下载
    积分:1
  • 裂缝检测访问了大量的计算机代码,没有测试过
    计算机断口检测访问很多代码的,没试用过-Fracture Detection visit a lot of computer code, not tested
    2023-03-18 20:10:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载