一起答
单选

“编译器”是一种非常重要的基础软件,其核心功能是对源代码形态的单个或一组源程序依次进行预处理、词法分析、语法分析、语义分析、代码生成、代码优化等处理,最终生成目标机器的可执行代码。考虑以下与编译器相关的软件架构设计场景:传统的编译器设计中,上述处理过程都以独立功能模块的形式存在,程序源代码作为一个整体,依次在不同模块中进行传递,最终完成编译过程。针对这种设计思路,传统的编译器采用(47)架构风格比较合适。 随着编译、链接、调试、执行等开发过程的一体化趋势发展,集成开发环境(IDE)随之出现。IDE集成了编译器、连接器、调试器等多种工具,支持代码的增量修改与处理,能够实现不同工具之间的信息交互,覆盖整个软件开发生命周期。针对这种需求,IDE采用(48)架构风格比较合适。IDE强调交互式编程,用户在修改程序代码后,会同时触发语法高亮显示、语法错误提示、程序结构更新等多种功能的调用与结果呈现,针对这种需求,通常采用(49)架构风格比较合适。 某公司已经开发了一款针对某种嵌入式操作系统专用编程语言的IDE,随着一种新的嵌入式操作系统上市并迅速占领市场,公司决定对IDE进行适应性改造,支持采用现有编程语言进行编程,生成符合新操作系统要求的运行代码,并能够在现有操作系统上模拟出新操作系统的运行环境,以支持代码调试工作。针对上述要求,为了使IDE能够生成符合新操作系统要求的运行代码,采用基于(50)的架构设计策略比较合适;为了模拟新操作系统的运行环境,通常采用(51)架构风格比较合适。

  • A.管道-过滤器
  • B.顺序批处理
  • C.过程控制
  • D.独立进程
参考答案
查看试卷详情
相关试题
  1. 75.(  )

    • A.Allocation structures
    • B.Class structures
    • C.Concurrency structures
    • D.Uses structures
  2. 74.(  )

    • A.Decompostion structures
    • B.Layer structures
    • C.Implementation structures
    • D.Component-and-connector structures
  3. 73.(  )

    • A.Service structures
    • B.Module structures
    • C.Deployment structures
    • D.Work assignment structures
  4. 72.( )

    • A.physical components
    • B.network architecture
    • C.software architecture
    • D.interface architecture
  5. Asystem's architecture is a representation of a system in which there is amapping of(71)onto hardware and softwarecomponents, a mapping of the(72)onto thehardware architecture. and a concern for the human interaction with thesecomponents. That is, system architecture is concerned with a total system, includinghardware. software, and humans.

    Softwarearchitectural structures can be divided into three major categories, dependingon the broad nature of the elements they show.1)(73)embodydecisions as a set of code or data units that have to be constructed orprocured.2)(74)embody decisions as to how the systemis to be structured as set of elements that have runtime behavior. andinteractions.3)(75)embody decisions as to how thesystem will relate to nonsoftware structures in its

    environment(suchas CPUs, file systems, networks, development teams, etc.).

    71.( )

    • A.attributes
    • B.constraint
    • C.functionality
    • D.requirements
  6. 1路和2路公交车都将在10分钟内均匀随机地到达同一车站,则它们相隔4分钟内到达该站的概率为()。

    • A.0.36
    • B.0.48
    • C.0.64
    • D.0.76
  7. 以下著作权权利中,(68)的保护期受时间限制。

    • A.署名权
    • B.发表权
    • C.修改权
    • D.保护作品完整权
  8. 某企业拟生产甲、乙、丙、丁四个产品。每个产品必须依次由设计部门、制造部门和检验部门进行设计、制造和检验,每个部门生产产品的顺序是相同的。各产品各工序所需的时间如下表所示:

    只要适当安排好项目实施顺序,企业最快可以在(69)天全部完成这四个项目。

    • A.84
    • B.86
    • C.91
    • D.93
  9. 以下作品中,不适用或不受著作权法保护的作品是(67)。

    • A.国务院颁布的《计算机软件保护条例》
    • B.某作家的作品《绿化树》
    • C.最高人民法院组织编写的《行政诉讼案例选编》
    • D.某人在公共场所的即兴演说
  10. 以下关于为撰写学术论文引用他人资料的叙述中,错误的是(66)。

    • A.既可引用发表的作品,也可引用未发表的作品
    • B.只能限于介绍、评论或为了说明某个问题引用作品
    • C.只要不构成自己作品的主要部分,可引用资料的部分或全部
    • D.不必征得著作权人的同意,不向原作者支付合理的报酬