看板 b96902HW 關於我們 聯絡資訊
§Class Diagram 0. java code → class diagram §Advanced Class 1. What is abstract class? Ans : An abstract class may not have any direct instances and its name on the notation is written in italics. note: notice the features of its diagram. → p.118 2. Three levels of visibility? Ans : p.121 line 1~7 3. Scope? Ans : p.122 line 2~4 4. Multiplicity? Ans : p.124 the last block,line 1~2 note: notice the diagram → p.125 5. Operation v.s. Method? Ans : p.126 the second "Note",line 1~3 6. What is template class? Java code → template class? Ans : p.128 the first block of "Template Classes" note: Java language doesn't have template class... §Advanced Relationship 7. 17 kinds of stereotype for dependency? Ans : p.136~...(slide p.10~...) note: must know how to draw their notation 8. What is "mixin"? Ans : p.139 the last block,line 1~3 9. 7 kinds of advanced associations? Ans : p.141~...(slide p.32) note: must know how to use them and how to draw their notations §Package 10. <<import>> & <<access>>? Ans : p.169 "Note"(slide p.12) 11.generalization? Ans : slide p.13 §Instances 12. The definition of "orphan instance"? Ans : p.178 "Note",line 1~3(slide p.12) §Object Diagrams 13. What does an object diagram tell? Ans : p.197 line 1~2 , the last block,line 1~2(slide p.4) §Interaction Diagram 14. Reverse engineering the code Ans : p.264 fig.19-7 note: correspond to the code at the bottom of the same page §Use Case Diagram 15. Draw a use case diagram correspond to a problen statement(similar to the final project) 16. What are the relationships that can be used between use cases? How to use them? Ans : p.232 the last block,line 1~2 / p.233 line 1 / the last block,line 3 p.234 line 1~2 / the whole last block(slide p.18~23) 17. What are the relationships that can be used between actors? How to use them? (not sure if this is one of the questions) Ans : p.229 the third block and fig.17-3 §Activity Diagram 18. Explain what are forking and joining then give an example Ans : p.273 the last block,line 3~4 / p.274 line 1~2 / p.274 fig.20-6 19. Explain what are swimlanes then give an example Ans : p.274 the last block,line 1~2 + line 4 + p.275 line 6~7 / fig.20-7 20. Explain what is object flow then give an example Ans : p.276 line 1 / p.277 fig.20-8 §State Machine 21. What are the two suitable times to use the state machine? Ans : not sure = =||(請強者解題 我忘了在投影片哪哩^^|) 22. Draw the ATM Machine diagram Ans : p.310 fig.22-5(slide p.20) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 124.8.33.213 ※ 編輯: curtisyyc 來自: 124.8.33.213 (06/13 22:38)
TimeString:YaYa!! 06/13 22:42
curtisyyc:快找人來解決21題啦!! 06/13 22:47
enhuang:謝應甲 06/13 22:47
LaContra:太感謝了啦 06/13 23:28
robert20825: 你是好人耶>///< 06/13 23:41
waynea:水啦~全靠你了 06/14 11:06
nypgand1:第13題應該是課本187 謝謝應甲 06/14 22:11
curtisyyc:哈~我打錯了耶XDD 謝謝嚕 06/14 22:52