• 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: 1018 | 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: 942 | 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: 967 | 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: 1141 | 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: 1236 | Lượt tải: 0

  • Kiến trúc máy tính và hợp ngữ - Chapter 8: Semantic interpretationKiến trúc máy tính và hợp ngữ - Chapter 8: Semantic interpretation

    Ignore environment Set of identifier – value pairs Ex: { , Special value undefined

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

  • Kiến trúc máy tính và hợp ngữ - Bộ nhớKiến trúc máy tính và hợp ngữ - Bộ nhớ

    Khi cần đọc 1 ô nhớ từ bộ nhớ: – Kiểm tra xem có trong cache chưa? • Nếu chưa có (cache miss): chép ô nhớ đó và 1 số ô nhớ lân cận từ bộ nhớ chính vào cache • Nếu đã có (cache hit): đọc từ cache, không cần truy xuất bộ nhớ chính • Cache là bản copy một phần của bộ nhớ chính

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

  • Kiến trúc máy tính và hợp ngữ - Chapter 8: Moving on to designKiến trúc máy tính và hợp ngữ - Chapter 8: Moving on to design

    Set the context Cluster classes together based on shared relationships Model clustered classes as a package Identify dependency relationships among packages Place dependency relationships between packages

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

  • Kiến trúc máy tính và hợp ngữ - Chapter eight: Accessing data processing databasesKiến trúc máy tính và hợp ngữ - Chapter eight: Accessing data processing databases

    Normalized Databases Normalization is a process used to eliminate or reduce data redundancy. Designers must determine which tables to place information in. A table should be in third normal form.

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

  • Kiến trúc máy tính và hợp ngữ - Chapter 7: Design and implementationKiến trúc máy tính và hợp ngữ - Chapter 7: Design and implementation

    Understanding the relationships between the software that is being designed and its external environment is essential for deciding how to provide the required system functionality and how to structure the system to communicate with its environment. Understanding of the context also lets you establish the boundaries of the system. Setting the syst...

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