Skip to content
AL-705 · Skill Development Lab/Important Questions

Skill Development Lab (AL-705) - Important Questions

  1. Unit 37 Marks High Priority

    Explain the concept of Design Patterns and their role in software engineering. Classify design patterns into Creational, Structural, and Behavioral categories and give two representative examples with brief use-cases for each category.

    Core concept question covering fundamentals and classification of design patterns; essential for understanding follow-up implementation questions.

  2. Unit 314 Marks High Priority

    Implement and explain the Factory Method pattern for a class hierarchy of shapes (Circle, Rectangle, Square). Provide the class diagram and code snippets, and explain the difference between Factory Method and Abstract Factory with an example scenario for each.

    Implementation + design-diagram question frequently asked in exams; tests understanding of creational patterns and factory-family differences.

  3. Unit 314 Marks High Priority

    Implement and explain the Observer pattern for a publisher-subscriber scenario (for example, a News Agency notifying Subscribers). Provide class and sequence diagrams, sample code, and discuss concurrency/thread-safety considerations and typical applications.

    Standard practical question on behavioral patterns; includes diagrams, code and discussion of practical concerns like thread-safety.

  4. Unit 37 Marks Medium Priority

    Compare Adapter, Facade, and Proxy design patterns. For each pattern give a clear example, draw the UML class diagram, and state typical scenarios where you would prefer one over the others.

    Conceptual-comparative question to test ability to distinguish structurally-similar patterns and choose appropriate one.

  5. Unit 310 Marks Medium Priority

    Explain the Singleton pattern and implement a thread-safe Singleton in a programming language of your choice. Discuss drawbacks, testing difficulties, and alternative approaches to achieve similar goals.

    Common single-pattern implementation and discussion question focusing on thread-safety and design trade-offs.

  6. Unit 310 Marks Medium Priority

    Describe the Strategy and State design patterns. Provide an example where Strategy is more appropriate than State and an example where State is the better choice. Include class diagrams and a short implementation of one example.

    Behavioral-pattern comparison and implementation question testing ability to map patterns to problem contexts.

  7. Unit 37 Marks Medium Priority

    Explain the Decorator pattern and contrast it with using inheritance to extend behavior. Provide a UML diagram and code snippet demonstrating how Decorator adds responsibilities at runtime, and discuss performance or complexity impacts.

    Pattern vs inheritance design trade-off question; typical short-answer or 7-mark style.

  8. Unit 314 Marks Medium Priority

    Explain the Command pattern and implement a simple Undo/Redo mechanism for editor operations (e.g., InsertText, DeleteText). Provide class and sequence diagrams, sample code for command execution and undo, and discuss how to persist or serialize command history if required.

    Applied behavioral pattern question involving Command pattern and undo/redo mechanism—common in lab-style assessments.

  9. Unit 37 Marks Medium Priority

    What are the SOLID principles? For each principle, explain it briefly and give at least one design pattern that helps to realize or support that principle in system design.

    Principles-to-patterns mapping question testing design fundamentals and ability to link SOLID principles with patterns.

  10. Unit 37 Marks Medium Priority

    Discuss the Model-View-Controller (MVC) architecture as an application of design patterns. Identify common design patterns used within MVC implementations (for example, Observer, Strategy) and justify their usage with examples.

    Architecture-level question linking common architectural pattern (MVC) to design patterns used within it; typical theoretical exam question.

  11. Unit 310 Marks Medium Priority

    Given a case study where a system must allow adding responsibilities to objects dynamically and support combining multiple features at runtime, choose the appropriate design pattern(s), justify your choice, and outline a possible implementation (include class diagram and brief pseudo-code).

    Application/analysis question requiring pattern selection and justification for a given problem scenario; tests design decision skills.

  12. Unit 37 Marks Low Priority

    List common anti-patterns and pitfalls in using design patterns. Provide examples of overuse or misuse of patterns such as Singleton and Factory, and describe how such misuse can be identified and corrected.

    Awareness and best-practice question about misuse of patterns; useful for defensive design and code review topics.

Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in