• Kĩ thuật lập trình - Stacks and queuesKĩ thuật lập trình - Stacks and queues

    handling nested structures: processing directories within directories evaluating expressions within expressions handling branching processes: traversing a branching tree structure planning a move in a chess game tracking the sequence of method calls in a Java program

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

  • Kĩ thuật lập trình - Chapter 21: Aspect-oriented software developmentKĩ thuật lập trình - Chapter 21: Aspect-oriented software development

    Cross-cutting concerns are concerns whose implementation cuts across a number of program components. This results in problems when changes to the concern have to be made - the code to be changed is not localised but is in different places across the system. Cross cutting concerns lead to tangling and scattering.

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

  • Kĩ thuật lập trình - Lists and IteratorsKĩ thuật lập trình - Lists and Iterators

    Each node has references to the next and previous nodes In the last node, next is null; in the first node, previous is null. Can be traversed backwards

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

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

    Given a stimulus, the system must produce a reaction or response within a specified time. Periodic stimuli. Stimuli which occur at predictable time intervals For example, a temperature sensor may be polled 10 times per second. Aperiodic stimuli. Stimuli which occur at unpredictable times For example, a system power failure may trigger an in...

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

  • Kĩ thuật lập trình - The java collections frameworkKĩ thuật lập trình - The java collections framework

    In a priority queue, items are processed NOT in order of arrival, but in order of priority. java.util: Queue interface PriorityQueue (implements Queue)

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

  • Kĩ thuật lập trình - Big - O analysis of algorithmsKĩ thuật lập trình - Big - O analysis of algorithms

    Choose a “pivot” element. Partition the array so that all the values to the left of the pivot are smaller than or equal to it, and all the elements to the right of the pivot are greater than or equal to it. Sort (recursively) the left-of-the-pivot and right-of-the-pivot pieces.

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

  • Kĩ thuật lập trình - Chapter 19: Service - Oriented architectureKĩ thuật lập trình - Chapter 19: Service - Oriented architecture

    Current web services standards have been criticized as ‘heavyweight’ standards that are over-general and inefficient. REST (REpresentational State Transfer) is an architectural style based on transferring representations of resources from a server to a client. This style underlies the web as a whole and is simpler than SOAP/WSDL for implementin...

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

  • Kĩ thuật lập trình - Chapter 18: Program correctnessKĩ thuật lập trình - Chapter 18: Program correctness

    Axiomatic semantics is a language for specifying what a program is supposed to do. Based on the idea of an assertion: An assertion is a predicate that describes the state of a program at a point in its execution. A postcondition is an assertion that states the program’s result. A precondition is an assertion that states what must be true before...

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

  • Kĩ thuật lập trình - Chapter 18: Distributed software engineeringKĩ thuật lập trình - Chapter 18: Distributed software engineering

    In a distributed system, it is inevitable that failures will occur, so the system has to be designed to be resilient to these failures. “You know that you have a distributed system when the crash of a system that you’ve never heard of stops you getting any work done.” Distributed systems should include mechanisms for discovering if a component...

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

  • Kĩ thuật lập trình - Chương 18: Mouse, keyboard, sounds, and imagesKĩ thuật lập trình - Chương 18: Mouse, keyboard, sounds, and images

    Name the five methods of the MouseListener interface. Can a class implement MouseMotionListener but not MouseListener? What are the units and the origin for the coordinates returned by the MouseEvent’s getX and getY methods? How many methods does the KeyListener interface specify?

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