虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

模块化<b>编程</b>

  • 一:需求分析 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 | | 天 | 地 | 上 | 一只| 鹅 | 追 | 赶 | 下 | 蛋 | 恨 |

    标签: 语言 抽象

    上传时间: 2014-12-02

    上传用户:jkhjkh1982

  • 实时操作系统Vxworks下网络测试程序

    实时操作系统Vxworks下网络测试程序,用作服务器端。需要在Vxworks开发平台Tornado下编译。模块化比较好,本课题组一直用它。

    标签: Vxworks 实时操作系统 网络测试 程序

    上传时间: 2013-12-11

    上传用户:妄想演绎师

  • 实时操作系统Vxworks下网络测试程序

    实时操作系统Vxworks下网络测试程序,用作客户端。需要在Vxworks开发平台Tornado下编译。模块化比较好,本课题组一直用它。

    标签: Vxworks 实时操作系统 网络测试 程序

    上传时间: 2015-11-20

    上传用户:问题问题

  • 基于Windows CE的嵌入式开发研究 Research of Embedded Development Based on Windows CE 【摘要】 近年来基于嵌入式系统的数字化产品在

    基于Windows CE的嵌入式开发研究 Research of Embedded Development Based on Windows CE 【摘要】 近年来基于嵌入式系统的数字化产品在全球范围内得到了突飞猛进的发展,嵌入式技术已成为一个研究热点和消费热点。而Windows CE由于它的多任务、实时性、模块化、强大的通信能力等特点,在嵌入式系统的诸多领域都有了广泛的应用。本文首先探讨了嵌入式系统的特点,分类,前景,然后对各种嵌入式操作系统和Windows CE的特点及开发工具进行分析比较,接着介绍一个我们在Microsoft Windows CE 5.0环境下基于eBoxII开发的智能家居安防保全系统eDog。eDog 可以通过摄像头将采集到的实时视频图像进行运动检测,当发现有运动产生时,通过拨打电话等多种方式自动向用户发出警报,同时将实时捕获的图像上传到ftp 服务器。文章的最后详细阐述了eDog的图像采集模块,运动图像检测模块,图像压缩模块,FTP上传模块的实现过程,并对我们所提出的运动检测算法,视频捕捉算法等做了详细的说明。

    标签: Windows Development Research Embedded

    上传时间: 2014-11-27

    上传用户:zm7516678

  • 在本设计中

    在本设计中,我们利用模块化设计方法研制成功一个由超大规模集成电路 组成的高速数字信号处理系统,该系统以TMS320C30为CPU, TMS320C30的突出 的优点是:能进行浮点运算和60ns的指令周期,所以能更有效的完成各种处理 算法,该系统可以将高速采集的数据经过处理存入PC机,同时也可将数据输出。 该系统具有如下功能: 1、高速数据运算能力TMS320C30指令周期为60ns,每秒执行3300 万次浮点运算,具有单周期双数据读取能力,保证了高速数据处理. 2、数据采集A/D能够对16路模拟信号中的任意一路数据进行采样,对 16路数据分时采样,然后进行实时信号处理。 3, D/A数据转换可完成两路数据信号转换成模拟信号。 4、通讯功能利用标准的RS232C与外部设备进行通讯,实现TMS320C30 与PC机之间通讯。 本文作为一个完整的高速数据采集处理系统,为今后数据采集与处理 提供了一个良好的方法。

    标签:

    上传时间: 2013-12-25

    上传用户:许小华

  • DS9200嵌入式开发平台的原理图

    DS9200嵌入式开发平台的原理图,模块化的,大家可以参考

    标签: 9200 DS 嵌入式 原理图

    上传时间: 2015-12-10

    上传用户:bcjtao

  • 这是个用C语言写的单片机程序

    这是个用C语言写的单片机程序,用的模块化设计思想,目的是便于移植

    标签: C语言 单片机程序

    上传时间: 2013-12-12

    上传用户:wendy15

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.

    标签: represented integers group items

    上传时间: 2016-01-17

    上传用户:jeffery

  • The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical)

    The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).

    标签: converts Toolbox complex logical

    上传时间: 2016-02-12

    上传用户:a673761058

  • 这个源码主要是实现简单型的232转CAN功能的源代码

    这个源码主要是实现简单型的232转CAN功能的源代码,里面包括一个模块化良好的sja1000的peli工作模式的驱动,可供直接调用

    标签: 232 CAN 源码 源代码

    上传时间: 2016-02-19

    上传用户:sxdtlqqjl