• Kĩ thuật lập trình - Chapter 10: Function implementationKĩ thuật lập trình - Chapter 10: Function implementation

    Type Rule 10.4 A non-void function (except main) must have a Return statement, whose Expression must be the same type as the function. Type Rule 10.5 A void function cannot have a Return. Type Rule 10.6 Every Call Statement must identify a void function, and every Call Expression must identify a non-void function. Type Rule 10.7 Every Call must ...

    ppt17 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 676 | Lượt tải: 0

  • Kĩ thuật lập trình - Chapter 10: Sociotechnical systemsKĩ thuật lập trình - Chapter 10: Sociotechnical systems

    A system is a purposeful collection of inter-related components working together to achieve some common objective. A system may include software, mechanical, electrical and electronic hardware and be operated by people. System components are dependent on other system components. The properties and behaviour of system components are inextricabl...

    pptx53 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 797 | Lượt tải: 0

  • Kĩ thuật lập trình - Chapter 10: Data management layer designKĩ thuật lập trình - Chapter 10: Data management layer design

    Sequential access files allow sequential operations Read, write, and search Efficient for report writing Searches are not efficient because an average of 50% of records have to be accessed Two versions Ordered unordered

    ppt33 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 892 | Lượt tải: 0

  • Kĩ thuật lập trình - Chapter ten: Working with arrays and collectionsKĩ thuật lập trình - Chapter ten: Working with arrays and collections

    Factors to consider for array versus database are: 1. Execution speed. 2. Volume of data. 3. Clarity of the code that accomplishes the task. As RAM gets less expensive, the distinction between databases and arrays gets less clear.

    pptChia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 668 | Lượt tải: 0

  • Kĩ thuật lập trình - Chapter 9: Software evolutionKĩ thuật lập trình - Chapter 9: Software evolution

    The system requirements are likely to change while the system is being developed because the environment is changing. Therefore a delivered system won't meet its requirements! Systems are tightly coupled with their environment. When a system is installed in an environment it changes that environment and therefore changes the system requiremen...

    pptx57 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 703 | Lượt tải: 0

  • Kĩ thuật lập trình - Chapter 9: Class and method designKĩ thuật lập trình - Chapter 9: Class and method design

    Query operations should not be redefined Methods that redefine inherited ones should only restrict the semantics of the inherited ones The underlying semantics of the inherited method should never be changed The signature (argument list) of the inherited method should never be changed

    ppt36 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 655 | Lượt tải: 0

  • Kĩ thuật lập trình - Chapter 9: FunctionsKĩ thuật lập trình - Chapter 9: Functions

    A stack of activation records. Each new call pushes an activation record, and each completing call pops the topmost one. So, the topmost record is the most recent call, and the stack has all active calls at any run-time moment. For example, consider the call factorial(3). This places one activation record onto the stack and generates a sec...

    ppt16 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 588 | Lượt tải: 0

  • Kĩ thuật lập trình - Chapter nine: Accessing data using xmlKĩ thuật lập trình - Chapter nine: Accessing data using xml

    XML Schemas Rules that define legal elements, tags, and content. Used to determine the validity of a document. Industry specific XML schemas are being developed.

    pptChia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 627 | Lượt tải: 0

  • Kĩ thuật lập trình - Chapter 8: Software testingKĩ thuật lập trình - Chapter 8: Software testing

    Verification: "Are we building the product right”. The software should conform to its specification. Validation: "Are we building the right product”. The software should do what the user really requires.

    pptx60 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 720 | Lượt tải: 0

  • Kĩ thuật lập trình - Chapter 8: Semantic interpretationKĩ thuật lập trình - Chapter 8: Semantic interpretation

    Perl: implicit conversions, distinct operators “2” < “10” : true – numeric comparison “2” lt “10” : false – string comparison 2 lt “10” : false – 2 converted to “2” Python: explicit conversions required “2” < “10” : false – string comparison 2 < “10” : error

    ppt15 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 757 | Lượt tải: 0