100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSC 3380 FINAL UPDATED Exam Questions and CORRECT Answers $9.99   Add to cart

Exam (elaborations)

CSC 3380 FINAL UPDATED Exam Questions and CORRECT Answers

 2 views  0 purchase
  • Course
  • CSC 3380
  • Institution
  • CSC 3380

CSC 3380 FINAL UPDATED Exam Questions and CORRECT Answers design patterns - CORRECT ANSWER- generic organizations of classes and their relationships that can be applied to many different problems Design patterns provide a ________ ___________. - CORRECT ANSWER- shared vocabulary For every ...

[Show more]

Preview 2 out of 14  pages

  • August 23, 2024
  • 14
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSC 3380
  • CSC 3380
avatar-seller
MGRADES
CSC 3380 FINAL UPDATED Exam
Questions and CORRECT Answers

design patterns - CORRECT ANSWER- generic organizations of classes and their
relationships that can be applied to many different problems


Design patterns provide a ________ ___________. - CORRECT ANSWER- shared
vocabulary


For every pattern, know the following: - CORRECT ANSWER- • Participants (the classes)
• Collaborations (the arrows and code)
• Applicability (when to use the pattern)
• Consequences
• Implementation


Do design pattern libraries, frameworks, toolkits, or these things make use of patterns? -
CORRECT ANSWER- no


Three design patterns: - CORRECT ANSWER- Creational patterns are for creating objects


Structural patterns are for object connections


Behavioral patterns are for object behavior


Patterns under creational pattern: - CORRECT ANSWER- Abstract Factory


Builder


Factory Method

, Singleton


Multiple methods that create objects with multiple abstract products - CORRECT ANSWER-
abstract factory pattern


when do we use the abstract pattern? - CORRECT ANSWER- When we want to have
multiple replaceable families of products


We want our software to have a ________ - CORRECT ANSWER- GUI


what does it mean to be mutually exclusive ? - CORRECT ANSWER- example: can't store a
windows button on a Mac window


future requests to that concrete factory return the correct concrete products


Why is adding new kinds of products is not easy at all ? - CORRECT ANSWER- requires
change to each concrete factory


allow us to write code that works on different types without requiring inheritance -
CORRECT ANSWER- Generics and templates


Writing a generic class is like writing a regular class, except you use a "fake" type which is
filled in when the generic is used


Advantages of generics? - CORRECT ANSWER- Generics are:
• More convenient (don't need to subclass)


• More type-safe (don't need to down-cast)


• More performant (in some languages, not in Java)


________ __________languages do not support generics, because they don't need them -
CORRECT ANSWER- Duck-typing

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller MGRADES. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79223 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.99
  • (0)
  Add to cart