In the name of ALLAH, the most beneficient, the most merciful

Software Design (CS711)

Subjective, Short Questions from Past Papers

 

Subjective Questions

Question

(Mid Term, Marks = , Lesson No. )

Discuss in details the XP Corners.

Answer:

Question

(Mid Term, Marks = , Lesson No. )

Briefly discribe the Open Close Principle.

Answer:

Question

(Mid Term, Marks = , Lesson No. )

Write a note on Association.

Answer:

Question

(Mid Term, Marks = , Lesson No. )

Write a note on Aggregation.

Answer:

Question

(Mid Term, Marks = , Lesson No. )

Write a detailed note on Composition.

Answer:

Question

(Mid Term, Marks = , Lesson No. )

Write a detailed note on Inheritance.

Answer:

Question

(Mid Term, Marks = , Lesson No. )

What is the difference between Abstract Class and Interface?

Answer:

Question

(Mid Term, Marks = , Lesson No. )

Define Polymorphism with an example.

Answer:

Question

(Mid Term, Marks = , Lesson No. )

What is the Sequential Cohesion?

Answer:

Question

(Mid Term, Marks = , Lesson No. )

How the Functional Cohesion is highly cohesive?

Answer:

Question

(Mid Term, Marks = , Lesson No. )

How the V-Model is an Extension of Water Fall Model?

Answer:

Question

(Final Term, Marks = , Lesson No. )

Discuss creational pattern with one example.

Answer:

Question

(Final Term, Marks = , Lesson No. )

Name classes used in proxy pattern. Discuss role of each.

Answer:

Question

(Final Term, Marks = , Lesson No. )

Design class diagram of stock exchange scenerio.

Answer:

Question

(Final Term, Marks = , Lesson No. )

Design generic class diagram of facade pattern.

Answer:

Question

(Final Term, Marks = , Lesson No. )

Write two situations in which Singleton pattern is used.

Answer:

Question

(Final Term, Marks = , Lesson No. )

Discuss class diagram of template pattern.

Answer:

Question

(Final Term, Marks = , Lesson No. )

What is intent of design builder?

Answer:

Question

(Final Term, Marks = , Lesson No. )

What is the name of three classes used in Command Pattern?

Answer:

Question

(Final Term, Marks = , Lesson No. )

What is the intent of composite pattern?

Answer:

Question

(Final Term, Marks = , Lesson No. )

Draw the class diagram of singleton pattern?

Answer:

Question

(Final Term, Marks = , Lesson No. )

Draw the diagram of factory pattern?

Answer:

Question

(Final Term, Marks = 5, Lesson No. )

Photo album comprises of many photo pages and photo page may contain or may not a picture. Draw class diagram of the given scenario?

Answer:

Question

(Final Term, Marks = 5, Lesson No. )

Explain two reasons to use “Singleton Design Pattern”?

Answer:

Question

(Final Term, Marks = 5, Lesson No. )

Define proxy design pattern?Explain its types?

Answer:

Question

(Final Term, Marks = 5, Lesson No. )

Explain “Creational Design Pattern”?

Answer:

Question

(Final Term, Marks = 10, Lesson No. )

Scenario related to objects state given. Write the name of which design pattern is involved in? Also write names of any three classes of involving design pattern?

Answer:

Question

(Final Term, Marks = 10, Lesson No. )

Scenario about a class “Timer” to access globally? Give the name of design pattern using in given statement? Also explain and draw class diagram?

Answer:

Question

(Final Term, Marks = 10, Lesson No. )

Scenario about to deleting objects was given. Draw activity diagram?

Answer:

Question

(Final Term, Marks = , Lesson No. )

Draw generic class diagram of adapter pattern.

Answer:

Question

(Final Term, Marks = , Lesson No. )

Draw generic class diagram of composite pattern.

Answer: