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.

    苟利国家生死以, 岂因祸福避趋之
  • 相关阅读:
    Render Props
    react16新特性
    typescript
    calc
    类数组
    promise fullfill状态时 value是一个promise,那么此promise.then()里面收到的是什么
    M个同样的苹果放N个同样的盘子,允许有盘子空着, 问有多少种放法?
    history
    js创建二维数组
    钉钉-E应用开发初体验(企业内部应用)
  • 原文地址:https://www.cnblogs.com/chintsai/p/10291583.html
Copyright © 2011-2022 走看看