Deck 20: Patterns and Uml

ملء الشاشة (f)
exit full mode
سؤال
A pattern is a design principle that solves a problem that occurs over and over.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
UML was designed by Grady Booch,Ivar Jacobson,and James Rumbaugh,based on Simula 68,SmallTalk,C++ and Java.
سؤال
Describe the sorting pattern.Discuss the Selection sort routines in terms of this pattern.
سؤال
Patterns can help organize the presentation and understanding of ideas about software.
سؤال
Design patterns are restricted to particular programming languages,of which C++ is one.
سؤال
UML is a standard that is maintained by the Object Management Group,a nonprofit organization that promotes the use of object-oriented techniques.
سؤال
The UML class diagram is a rectangle that has three sections.Fill in the members with necessary symbols for public,protected and private members.
class Square
{
public:
// unlisted members
void resize(double newSide);
void move(Pair point);
protected:
void erase();
// other members
private:
double side;
Pair topRtCorner;
};
Put your answer here:
The UML class diagram is a rectangle that has three sections.Fill in the members with necessary symbols for public,protected and private members. class Square { public: // unlisted members void resize(double newSide); void move(Pair<double,double> point); protected: void erase(); // other members private: double side; Pair<double,double> topRtCorner; }; Put your answer here:  <div style=padding-top: 35px>
سؤال
UML class diagrams by themselves are not of much utility.
سؤال
Describe the sorting pattern.Discuss the Merge sort routines in terms of this pattern.
سؤال
If what you need is not in UML,you can add features to UML.
سؤال
UML has annotations for inheritance and data flow.
سؤال
Patterns are so general they need not make assumptions about the application to which it is being applied.
سؤال
UML provides no facility for describing libraries.
سؤال
The Adaptor pattern transforms a class by layering a new interface over the class.
سؤال
UML requires that the programmer understand every detail and dark corner of C++ to be useful.
سؤال
Describe the sort pattern.Discuss the quick sort routines in terms of this pattern.
سؤال
Give at least two STL containers that fit the Adapter Pattern as described in the text.
سؤال
Given the class definition,give the class diagram.
class Pair
{
public:
Pair();
Pair(double,double);
void setFirst(double);
void setSecond(double);
double getFirst();
double getSecond();
protected:
double first;
double second;
};
Put your answer here:
Given the class definition,give the class diagram. class Pair { public: Pair(); Pair(double,double); void setFirst(double); void setSecond(double); double getFirst(); double getSecond(); protected: double first; double second; }; Put your answer here:  <div style=padding-top: 35px>
سؤال
The Adaptor pattern changes the class it modifies when it layers a new interface over the class.
سؤال
UML is graphical language for designing programs.
سؤال
Describe a GUI file manager in a windowing system in terms of the Model-View-Controller model.A file manager might be the Windows Explorer under MS Windows.
سؤال
Describe the queue in terms of the Model-View-Controller pattern.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/22
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 20: Patterns and Uml
1
A pattern is a design principle that solves a problem that occurs over and over.
True
2
UML was designed by Grady Booch,Ivar Jacobson,and James Rumbaugh,based on Simula 68,SmallTalk,C++ and Java.
False
3
Describe the sorting pattern.Discuss the Selection sort routines in terms of this pattern.
Sort array
1)Get split point and Split two parts
2)Sort first part(recursive)
3)Sort second part (recursive)
4)Join sorted parts.
4
Patterns can help organize the presentation and understanding of ideas about software.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
5
Design patterns are restricted to particular programming languages,of which C++ is one.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
6
UML is a standard that is maintained by the Object Management Group,a nonprofit organization that promotes the use of object-oriented techniques.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
7
The UML class diagram is a rectangle that has three sections.Fill in the members with necessary symbols for public,protected and private members.
class Square
{
public:
// unlisted members
void resize(double newSide);
void move(Pair point);
protected:
void erase();
// other members
private:
double side;
Pair topRtCorner;
};
Put your answer here:
The UML class diagram is a rectangle that has three sections.Fill in the members with necessary symbols for public,protected and private members. class Square { public: // unlisted members void resize(double newSide); void move(Pair<double,double> point); protected: void erase(); // other members private: double side; Pair<double,double> topRtCorner; }; Put your answer here:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
8
UML class diagrams by themselves are not of much utility.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
9
Describe the sorting pattern.Discuss the Merge sort routines in terms of this pattern.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
10
If what you need is not in UML,you can add features to UML.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
11
UML has annotations for inheritance and data flow.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
12
Patterns are so general they need not make assumptions about the application to which it is being applied.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
13
UML provides no facility for describing libraries.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
14
The Adaptor pattern transforms a class by layering a new interface over the class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
15
UML requires that the programmer understand every detail and dark corner of C++ to be useful.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
16
Describe the sort pattern.Discuss the quick sort routines in terms of this pattern.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
17
Give at least two STL containers that fit the Adapter Pattern as described in the text.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
18
Given the class definition,give the class diagram.
class Pair
{
public:
Pair();
Pair(double,double);
void setFirst(double);
void setSecond(double);
double getFirst();
double getSecond();
protected:
double first;
double second;
};
Put your answer here:
Given the class definition,give the class diagram. class Pair { public: Pair(); Pair(double,double); void setFirst(double); void setSecond(double); double getFirst(); double getSecond(); protected: double first; double second; }; Put your answer here:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
19
The Adaptor pattern changes the class it modifies when it layers a new interface over the class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
20
UML is graphical language for designing programs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
21
Describe a GUI file manager in a windowing system in terms of the Model-View-Controller model.A file manager might be the Windows Explorer under MS Windows.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
22
Describe the queue in terms of the Model-View-Controller pattern.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.