We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Looking For Something at Site? Search Below

Total Marks: 20
Due Date: 21/01/2017
Objective:
To learn and understand the basic concepts of Design Patterns.
Instructions:
Please read the following instructions carefully before solving & submitting assignment:
Assignment should be in your own wordings not copied from net, handouts or books.
It should be clear that your assignment will not get any credit (zero marks) if:
o The assignment is submitted after due date.
o The submitted assignment does not open or file corrupt.
o The assignment is copied (from other student or copy from handouts or internet).
For any query about the assignment, please communicate at
CS504@vu.edu.pk
You are advised to please upload the assignment in MS Word format only (other formats i.e.
.pdf, images etc. will not be accepted.)

Question No 1: 10 Marks
According to Roger S Pressman Software architecture alludes to “the overall structure of the software
and the ways in which that structure provides conceptual integrity for a system” .In its simplest form,
architecture is the structure or organization of program components (modules), the manner in which
these components interact, and the structure of data that are used by the components. In a broader
sense, however, components can be generalized to represent major system elements and their
interactions. One goal of software design is to derive an architectural rendering of a system. This
rendering serves as a framework from which more detailed design activities are conducted. A set of
architectural patterns enables a software engineer to solve common design problems.
What makes software architecture “BAD” Are architectures influenced by background and
experience of software architects? Explain. ?
(Answer should be brief i.e, 2-3 paragraphs)

Question No 2 :
Introduction:
In software engineering, the singleton pattern is a software design pattern that restricts
the instantiation of a class to one object. The Singleton pattern ensures that a class has only one
instance and provides a global point of access to that instance. The concept is sometimes generalized
to systems that operate more efficiently when only one object exists. Keep in mind the details and
working of singleton patterns solves the question no 2.
10 Marks


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 4779

Attachments:

Replies to This Discussion

This link is helpful for the 2nd question.

Singleton Design Pattern

Singleton Pattern Example
The Singleton class is declared as
class Singleton {
public:
static Singleton* Instance();
protected:
Singleton();
private:
static Singleton* _instance;
};
The corresponding implementation is
Singleton* Singleton::_instance = 0;
Singleton* Singleton::Instance(){
if (_instance == 0) {
_instance = new Singleton;
}
return _instance;
}

No doubt. All answer of 2nd question in this link. This link is very helpful.

RSS

Latest Activity

Tahir Ali and sara khan are now friends
1 minute ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion PAK301 Pakistan Studies Assignment 01 Fall 2020 Solution / Discussion in the group PAK301 Pakistan Studies
1 minute ago
+M.Tariq Malik liked +M.Tariq Malik's discussion PAK301 Pakistan Studies Assignment 01 Fall 2020 Solution / Discussion
3 minutes ago
+M.Tariq Malik added a discussion to the group PAK301 Pakistan Studies
3 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ECO406 Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020 in the group ECO406 Mathematical Economics
6 minutes ago
+M.Tariq Malik liked +M.Tariq Malik's discussion ECO406 Assignment 01 Fall 2020 Solution / Discussion Due Date: 04-12-2020
6 minutes ago
+M.Tariq Malik added a discussion to the group ECO406 Mathematical Economics
7 minutes ago
Profile IconJero, Rabbani, Hasan Mujtaba and 11 more joined Virtual University of Pakistan
18 minutes ago
Rabbani replied to +M.Tariq Malik's discussion MGMT614 Supply Chain Management GDB No 01 Fall 2020 Solution / Discussion in the group MGMT614 Supply Chain Management
24 minutes ago
Rabbani joined +M.Tariq Malik's group
24 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MGMT614 Supply Chain Management GDB Fall 2020 Solution / Discussion in the group MGMT614 Supply Chain Management
25 minutes ago
+M.Tariq Malik liked +M.Tariq Malik's discussion MGMT614 Supply Chain Management GDB Fall 2020 Solution / Discussion
25 minutes ago
+M.Tariq Malik added a discussion to the group MGMT614 Supply Chain Management
26 minutes ago
Muhammad Azeem replied to +M.Tariq Malik's discussion FIN625 GDB No 01 Fall 2020 Solution / Discussion Last Date: 27-11-2020 in the group FIN625 Credit & Risk Management
28 minutes ago
Rabbani liked +M.Tariq Malik's discussion MGMT614 Supply Chain Management GDB No 01 Fall 2020 Solution / Discussion
30 minutes ago
Abdullah joined +M.Tariq Malik's group
50 minutes ago

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.