zoukankan      html  css  js  c++  java
  • Chapter1 Getting Ready

    Review Questions

    1. What does portability mean in the context of programming?

    A perfect portable program is one whose source code can,without modification,be compiled to a successful program on a variety of different computer systems.

    2. Explain the difference between a source code file, object code file, and executable file.

    A source code file contains code as written in whatever language the programmer is using. An object code file contains machine language code; it need not be the code for a complete program. An executable file contains the complete code, in machine language, constituting an executable program.

    3. What are the seven major steps in programming?

    a. Defining program objectives.

    b. Designing the program.

    c. Coding the program.

    d. Compiling the program.

    e. Running the program.

    f. Testing and debugging the program.

    g. Maintaining and modifying the program.

    4. What does a compiler do?

    A compiler translates source code (for example, code written in C) to the equivalent machine language code, also termed object code.

    5. What does a linker do?

    The linker combines translated source code with library code and start-up code to produce an executable program.

    苟利国家生死以, 岂因祸福避趋之
  • 相关阅读:
    pytest-html报告自定义字段
    Python SMTP发送邮件
    IE浏览器兼容测试工具 IETester
    全局ID生成--雪花算法改进版
    全局ID生成--雪花算法
    spring-cloud-sleuth/zipkin
    14.跑批到某个点突然所有批都断批
    13.分布式锁在不同环境引发的坑
    spring-cloud-gateway
    spring-cloud-netflix-config
  • 原文地址:https://www.cnblogs.com/chintsai/p/10291583.html
Copyright © 2011-2022 走看看