Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CS3307 ACTUAL UPDATED Exam Questions and CORRECT Answers

Beoordeling
-
Verkocht
-
Pagina's
6
Cijfer
A+
Geüpload op
31-08-2025
Geschreven in
2025/2026

CS3307 ACTUAL UPDATED Exam Questions and CORRECT Answers What is a VerboseList? - CORRECT ANSWER each time one of its methods is called. Used for debugging. Prints a message What is a Bridge design pattern? - CORRECT ANSWER Decouple an abstraction from its implementation so that the two can vary independently. A bridge lets you combine the different abstractions and implementations and extend them independently

Meer zien Lees minder
Instelling
CS3307
Vak
CS3307

Voorbeeld van de inhoud

CS3307 ACTUAL UPDATED Exam
Questions and CORRECT Answers
What is a VerboseList? - CORRECT ANSWER Used for debugging. Prints a message
each time one of its methods is called.


What is a Bridge design pattern? - CORRECT ANSWER Decouple an abstraction from its
implementation so that the two can vary independently. A bridge lets you combine the different
abstractions and implementations and extend them independently.


What is a class structural? - CORRECT ANSWER Use inheritance to compose interfaces
and implementations


What is object structural? - CORRECT ANSWER Describe ways to compose objects to
realize new functionality. Added flexibility can change composition at run time.


What are the different structural design patterns? - CORRECT ANSWER Adapter, bridge,
composite, decorator, flyweight


What is an adapter design pattern? - CORRECT ANSWER Convert the interface of a class
another interface clients expect. Adapter lets classes work together that couldn't otherwise
because of incompatible interfaces.


What is a flyweight design pattern? - CORRECT ANSWER Use sharing to support large
numbers of fine-grained objects efficiently. A shared object that can be used in multiple contexts
simultaneously. Acts as an independent object in each context.


What is an intrinsic state? - CORRECT ANSWER Stored in the flyweight and information
that is independent from the flyweight's context, thus making it shareable.


What is an extrinsic state? - CORRECT ANSWER Depends on/varies with the flyweights
context and can't be shared.

, What is a decorator design pattern? - CORRECT ANSWER Attach additional
responsibilities to an object dynamically. Decorators provide a flexible alterantive to subclassing
for extending functionality.


What is a composite design pattern? - CORRECT ANSWER Compose objects into tree
structures to represent part-whole hierarchies. Composite lets clients treat individual objects and
compositions of objects uniformly.


What is a behavioural design pattern? - CORRECT ANSWER Concerned with algorithms
and the assignment of responsibilities between objects.


What are the two types of behavioural design patterns? - CORRECT ANSWER Class
behavioural and object behavioural.


What is class behavioural? - CORRECT ANSWER Uses inheritance to distribute
behaviour between classes


What is object behavioural - CORRECT ANSWER Uses object composition rather than
inheritance


What are the behavioural design patterns? - CORRECT ANSWER State, strategy,
observer, command, visitor


What is a state behavioural pattern? - CORRECT ANSWER Allow an object to alter its
behaviour when its internal state changes. The object will appear to change its class.


What is strategy behavioural design pattern? - CORRECT ANSWER Define a family of
algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm
vary independently from clients that use it.

Geschreven voor

Instelling
CS3307
Vak
CS3307

Documentinformatie

Geüpload op
31 augustus 2025
Aantal pagina's
6
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$11.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
MGRADES Stanford University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1373
Lid sinds
2 jaar
Aantal volgers
103
Documenten
84394
Laatst verkocht
2 dagen geleden
MGRADES (Genius Brains)

Welcome to MGRADES Exams, practices and Study materials The work speaks for itself Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

230 beoordelingen

5
94
4
50
3
51
2
14
1
21

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen