Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 2 pages
Exam (elaborations)

CPSC 310 Exam #2 with Complete Solutions

Document preview thumbnail
Preview 1 out of 2 pages

CPSC 310 Exam #2 with Complete Solutions

Content preview

CPSC 310 Exam #2 with Complete Solutions
Adapter Pattern - ANSWER-(S) Wraps an object and provides a different interface to it

Behavioral Pattern - ANSWER-Involve how classes and objects interact and distribute
responsibility

Checked Exception - ANSWER-Non-programmer error; checked at compile time

Command Pattern - ANSWER-(B) Encapsulates a request as an object

Composite Pattern - ANSWER-(S) Clients treat collections of objects and individual
objects uniformly

Creational Pattern - ANSWER-Involve object creation and decouple a client from the
objects it needs to instantiate

Decorator Pattern - ANSWER-(S) Wraps an object to provide new behavior

Design Pattern - ANSWER-Description of communicating objects and classes that are
customized to solve a general design problem in a particular context.

Facade Pattern - ANSWER-(S) Simplifies the interface of a set of classes

Factory Method Pattern - ANSWER-(C) Subclasses decide which concrete classes to
create

Integrated Development Environment (IDE) - ANSWER-Comprehensive tool for
software development

Iterator Pattern - ANSWER-(B) Provides a way to traverse a collection of objects without
exposing its implementation

Observer Pattern - ANSWER-(B) Allows objects to be notified when state changes

Observer Pattern - ANSWER-Defines a

Proxy Pattern - ANSWER-(S) Wraps an object to control access to it

Singleton Pattern - ANSWER-(C) Ensures one and only one object is created

State Pattern - ANSWER-(B) Encapsulates state-based behaviors and uses delegation
to switch between behaviors

Static Code Analysis - ANSWER-The process of analyzing source code without actually
running it.

Document information

Uploaded on
March 5, 2025
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$9.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
CLOUND
3.9
(128)
Sold
655
Followers
389
Items
12042
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions