Thư viện tài liệu trực tuyến miễn phí dành cho các bạn học sinh, sinh viên
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: 1010 | 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: 983 | 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: 1220 | 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: 875 | 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: 897 | 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: 831 | 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: 1041 | 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: 864 | 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: 1280 | Lượt tải: 0
Application system reuse The whole of an application system may be reused either by incorporating it without change into other systems (COTS reuse) or by developing application families. Component reuse Components of an application from sub-systems to single objects may be reused. Covered in Chapter 17. Object and function reuse Software compo...
52 trang | Chia sẻ: huyhoang44 | Ngày: 17/03/2020 | Lượt xem: 910 | Lượt tải: 0
Copyright © 2025 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