Tổng hợp tài liệu Công Nghệ Thông Tin tham khảo cho học sinh, sinh viên.
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.
32 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 621 | Lượt tải: 0
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...
53 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 643 | Lượt tải: 0
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...
19 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 703 | Lượt tải: 0
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...
57 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 742 | Lượt tải: 0
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?
22 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 584 | Lượt tải: 0
A race condition occurs when the resulting value of a variable depends on the execution order of two or more threads. Ex: c = c + 1 Machine level: load c add 1 store c If c initially 0: With 2 threads, can get 1 or 2 With n threads, can get 1, 2, ., n
41 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 583 | Lượt tải: 0
Places components in a line as long as they fit, then starts the next line. Uses “best judgement” in spacing components. Centers by default. Lets each component assume its natural (preferred) size. Often used for placing buttons on panels.
32 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 592 | Lượt tải: 0
Apart from the benefits of reuse, CBSE is based on sound software engineering design principles: Components are independent so do not interfere with each other; Component implementations are hidden; Communication is through well-defined interfaces; Component platforms are shared and reduce development costs.
55 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 701 | Lượt tải: 0
GUI applications: Model-View-Controller design Embedded applications: cell phones car engines airplanes
29 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 590 | Lượt tải: 0
A graphics adapter in your computer is a raster device. VRAM (video RAM) contains the information about the colors of all pixels. The screen displays the contents of VRAM. To draw a shape, you need to set the exactly right set of pixels to the required colors. The number of pixels in the raster vertically and horizontally is called the device r...
21 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 852 | Lượt tải: 0
Copyright © 2024 Tai-Lieu.com - Hướng dẫn học sinh giải bài tập trong SGK, Thư viện sáng kiến kinh nghiệm hay, Thư viện đề thi