Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

ile Edit View History Bookmarks People Window Help Final Exam x Design Patterns

ID: 3841936 • Letter: I

Question

ile Edit View History Bookmarks People Window Help Final Exam x Design Patterns Strategy Patto x Secure https:llsisu.instructure.com courses/ 1233754/quizzes/119 hool Mall M Gmail Google Docs On LinkedIn teBay Canvas l Soundcloud Yourvbe n a sc converter aspORTs a 712 548 36712548 0 736712548 Question 94 1 pts Use tymchroniration safeguard a collection oreates a performance bankened. True 1 pts D Question 95 Strategy pattern wil be most usefulin which application? Image compression algorithms MP3 decoding algorithm o Fourier transform computation o Java bean classes for Car animation

Explanation / Answer

94- TRUE as synchronization increases running time for example if you synchronize a method
and try to call it twice the same time one thread will have to wait for another thread to complete which results in performance bottlenecks

95- it can be used for

Image compression algorithms as image compression is a part of encryption and strategy patterns are used in encryption algorithms so image compression can be used with startegy patterns.