免费智能真题库 > 历年试卷 > 嵌入式系统设计师 > 2022年上半年 嵌入式系统设计师 上午试卷 综合知识
  第74题      
  知识点:   事物
  关键词:   开发   声音        章/节:   嵌入式系统的项目开发与维护知识       

 
Why is (71) fun? What delights may its practitioner expect as his reward? First is the sheer joy of making things. As the child delights in his mud pie, so the adult enjoys building things, especially things of his own design. Second is the pleasure of making things that are useful to other people. Third is the fascination of fashioning complex puzzle-like objects of interlocking moving parts and watching them work in subtle cycles,playing out the consequences of principles built in from the beginning. Fourth is the joy of always learning, which springs from the (72) nature of the task. In one way or another the problem is ever new, and its solver learns something: sometimes (73) • sometimes theoretical, and
sometimes both. Finally, there is the delight of working in such a tractable medium. The (74) , like the poet, works only slightly removed from pxire thought-stuflF. Few media of
creation are so flexible, so easy to polish and rework, so readily capable of realizing grand conceptual structures.
Yet the program (75) , unlike the poet's words, is real in the sense that it moves and works, producing visible outputs separate from the construct itself. It prints results, draws pictures, produces sounds, moves arms. Programming then is fun because it gratifies creative longings built deep within us and delights sensibilities we have in common with all men.
 
 
  A.  doctor
 
  B.  poet
 
  C.  programmer
 
  D.  architect
 
 
 

  相关试题:嵌入式系统的项目开发与维护知识          更多>  
 
  第56题    2009年下半年  
   62%
按指令流和数据流的组织关系,计算机系统的结构有以下不同类型,大规模并行处理机MPP属于(56)结构。
  第34题    2025年上半年  
   0%
下面有关测试的说法错误的是(23)。
  第63题    2012年下半年  
   44%
软件测试可分为静态测试和动态测试,下列不属于静态测试的是(63)。
   知识点讲解    
   · 事物
 
       事物
        UML中有4种事物:结构事物、行为事物、分组事物和注释事物。
        (1)结构事物(structural thing)。结构事物是UML模型中的名词。它们通常是模型的静态部分,描述概念或物理元素。结构事物包括类(class)、接口(interface)、协作(collaboration)、用例(use case)、主动类(active class)、构件(component)、制品(artifact)和结点(node)。
        各种结构事物的图形化表示如下图所示。
        
        结构事物的图形表示
        (2)行为事物(behavior thing)。行为事物是UML模型的动态部分。它们是模型中的动词,描述了跨越时间和空间的行为。行为事物包括交互(interaction)、状态机(state machine)和活动(activity)。各种行为事物的图形化表示如下图所示。
        
        行为事物的图形表示
        交互由在特定语境中共同完成一定任务的一组对象之间交换的消息组成。一个对象群体的行为或单个操作的行为可以用一个交互来描述。交互涉及一些其他元素,包括消息、动作序列(由一个消息所引起的行为)和链(对象间的连接)。在图形上,把一个消息表示为一条有向直线,通常在表示消息的线段上总有操作名。
        状态机描述了一个对象或一个交互在生命期内响应事件所经历的状态序列。单个类或一组类之间协作的行为可以用状态机来描述。一个状态机涉及到一些其他元素,包括状态、转换(从一个状态到另一个状态的流)、事件(触发转换的事物)和活动(对一个转换的响应)。在图形上,把状态表示为一个圆角矩形,通常在圆角矩形中含有状态的名称及其子状态。
        活动是描述计算机过程执行的步骤序列,注重步骤之间的流而不关心哪个对象执行那个步骤。活动的一个步骤称为一个动作。在图形上,把动作画成一个圆角矩形,在其中含有指明其用途的名字。状态和动作靠不同的语境得以区别。
        交互、状态机和活动是可以包含在UML模型中的基本行为事物。在语义上,这些元素通常与各种结构元素(主要是类、协作和对象)相关。
        (3)分组事物(grouping thing)。分组事物是UML模型的组织部分,是一些由模型分解成的“盒子”。在所有的分组事物中,最主要的分组事物是包(package)。包是把元素组织成组的机制,这种机制具有多种用途。结构事物、行为事物甚至其他分组事物都可以放进包内。包与构件(仅在运行时存在)不同,它纯粹是概念上的(即它仅在开发时存在)。包的图形化表示如下图所示。
        
        包
        (4)注释事物(annotational thing)。注释事物是UML模型的解释部分。这些注释事物用来描述、说明和标注模型的任何元素。注解(note)是一种主要的注释事物。注解是一个依附于一个元素或者一组元素之上,对它进行约束或解释的简单符号。注解的图形化表示如下图所示。
        
        注解
   题号导航      2022年上半年 嵌入式系统设计师 上午试卷 综合知识   本试卷我的完整做题情况  
1 /
2 /
3 /
4 /
5 /
6 /
7 /
8 /
9 /
10 /
11 /
12 /
13 /
14 /
15 /
 
16 /
17 /
18 /
19 /
20 /
21 /
22 /
23 /
24 /
25 /
26 /
27 /
28 /
29 /
30 /
 
31 /
32 /
33 /
34 /
35 /
36 /
37 /
38 /
39 /
40 /
41 /
42 /
43 /
44 /
45 /
 
46 /
47 /
48 /
49 /
50 /
51 /
52 /
53 /
54 /
55 /
56 /
57 /
58 /
59 /
60 /
 
61 /
62 /
63 /
64 /
65 /
66 /
67 /
68 /
69 /
70 /
71 /
72 /
73 /
74 /
75 /
 
第74题    在手机中做本题