-
一:需求分析
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
- 2022-09-04 11:50:02下载
- 积分:1
-
受用一生的电脑知识!!!!!!!!!!!!!1!!!!!!
快来看一下
受用一生的电脑知识!!!!!!!!!!!!!1!!!!!!
快来看一下-good enough for the whole life of a computer knowledge !!!!!!!!!!!!! !!!!!! Come see!
- 2022-03-19 09:40:39下载
- 积分:1
-
一个很好的五笔源码
一个很好的五笔源码 -A good source of five
- 2023-02-02 09:35:03下载
- 积分:1
-
lan see a tool for intranet
lan see a tool for intranet
- 2023-07-21 14:05:05下载
- 积分:1
-
DOS下逻辑锁 首先,大略介绍一下我的程序,我是用汇编写成,程序有2个文件:hdlock.exe hdlock.dat ,其中hdlock.dat是我写的用于装...
DOS下逻辑锁 首先,大略介绍一下我的程序,我是用汇编写成,程序有2个文件:hdlock.exe hdlock.dat ,其中hdlock.dat是我写的用于装入硬盘0柱0道1扇的硬盘锁,hdlock.exe实现 (1)把hdlock.dat装入硬盘0柱0道1扇并设置硬盘锁的密码,(2)修改密码,(3)卸载 硬盘锁 在此,先介绍一下 hdlock.dat,因为硬盘锁本身受空间限制,必须严格控制在1bdH 字节内,(知道为什么吗?)所以是不能用masm先写原程序,再编译,我基本上是用debug 的A命令一次性写出来的,我把这些反汇编了出来,加上一些注释,给大家看看,互相学习 吗。 -DOS logic lock First, I briefly tell us about the procedure that I used the compilation of written procedures are two documents : hdlock.exe hdlock.dat, hdlock.dat yes, I wrote for the packed column drives 0 0 1 hard disk lock, hdlock.exe achieve ( 1) hdlock.dat loaded drive 0- 0 and set up a password lock drive, (2) to alter the code, (3) remove the hard disk lock, first tell us about hdlock.dat, since drive lock itself subject to space restrictions, must be strictly controlled within the 1bdH byte (wonder why?) So it is not used can write original program first and then build, basically, I used the debug A one-time write down orders, I put out a compilation of the anti-plus some notes, for every
- 2022-04-23 17:27:25下载
- 积分:1
-
Windows墙纸更改事例
Windows墙纸更改事例-Windows wallpaper changes examples
- 2022-07-14 16:38:06下载
- 积分:1
-
用简单的语言来增强权威的行政长官与一个模块的源代码…
用易语言做的CE源码带提升权限模块用易语言做的CE源码带提升权限模块-With easy language to enhance the authority of the CE source code with a module for easy language to enhance the authority of the CE source code with a module
- 2023-06-16 09:05:03下载
- 积分:1
-
你需要下载的通用工具箱和信号工具箱。
You need to download the general purpose toolbox and the signal toolbox.
You need to unzip these toolboxes in your working directory, so that you have toolbox_general/ and toolbox_signal/ in your directory. -You need to download the general purpose toolbox and the signal toolbox.
You need to unzip these toolboxes in your working directory, so that you have toolbox_general/ and toolbox_signal/ in your directory.
- 2022-03-12 02:20:48下载
- 积分:1
-
linux 下安装oracle92 rac系统
linux 下安装oracle92 rac系统-oracle92 rac install linux system
- 2022-02-12 13:28:48下载
- 积分:1
-
本软件是2812写flash的测试程序。第一次上载文件,主要用于测试上载。...
本软件是2812写flash的测试程序。第一次上载文件,主要用于测试上载。-2812 is the software to write flash testing procedures. First on the document, available for testing.
- 2022-06-18 11:35:31下载
- 积分:1