一起答
单选

● 如果在程序中的多个地方需要使用同一个常数,那么最好将其定义为一个符号常量,这样 (13)。

  • A.可以缩短程序代码的长度
  • B.便于进行编译过程的优化
  • C.可以加快程序的运行速度
  • D.便于修改此常数并提高可读性
参考答案
查看试卷详情
相关试题
  1. ● Extreme Programming (XP) is a discipline of software development with (71) of simplicity, communication, feedback and courage. Successful software development is a team effort - not just the development team, but the larger team consisting of customer, management and developers. XP is a simple process that brings these people together and helps them to succeed together. XP is aimed primarily at object-oriented projects using teams of a dozen or fewer programmers in one location. The principles of XP apply to any (72) project that needs to deliver quality software rapidly and flexibly.

    • An XP project needs a (73) customer to provide guidance. Customers, programmers, managers, are all working    (74)    to build the system that's needed, Customers - those who have software that needs to be
  2. ●以下不属于集成测试的是(68)。

    • A.各个子功能组合起来,能否达到预期要求
    • B.一个模块的功能是否会对另一个模块的功能产生不利的影响
    • C.全局数据结构是否有问题
    • D.函数内局部变量的值是否为预期值
  3. ●客户端交易处理性能指标是一类重要的负载压力测试指标,以下不属于客户端交易处理性能指标的是(67)。

    • A.并发用户数
    • B.平均事务响应时间
    • C.每秒事务数
    • D.每秒进程切换数
  4. ●逻辑覆盖法不包括(69)。

    • A.分支覆盖
    • B.语句覆盖
    • C.需求覆盖
    • D.修正条件判定覆盖
  5. ●为预测某Web系统可支持的最大在线用户数,应进行(66)。

    • A.负载测试
    • B.压力测试
    • C.疲劳强度测试
    • D.大数据量测试
  6. ●对于逻辑表达式((a&b)‖C,需要(65)个测试用例才能完成条件组合覆盖。

    • A.2
    • B.3
    • C.4
    • D.5
  7. ●以下不属于黑盒测试方法的是(62)。

    • A.等价划分类
    • B.边界值分析
    • C.错误推测法
    • D.静态结构分析法
  8. ●数据库测试的对象包括(64)。

    ①数据库连接测试②数据库的安全测试

    ③定义的存储过程和触发器的测试④数据库接口测试

    • A.①④
    • B.①②③
    • C.①②④
    • D.①②③④
  9. ●使用软件测试工具的目的不包括(58)。

    • A.帮助测试寻找问题
    • B.协助问题的诊断
    • C.节省测试时间
    • D.提高设计质量
  10. ●以下关于黑盒测试的叙述中,不正确的是(61)。

    • A.不需要了解程序内部的代码及实现
    • B.容易知道用户会用到哪些功能,会遇到哪些问题
    • C.基于软件开发文档,所以也能知道软件实现了文档中的哪些功能
    • D.可以覆盖所有的代码