Skip to main content

Posts

Showing posts from April, 2022

General programming/ software development Interview questions

1. Have you worked with design patterns? Which design pattern you have used in your work? How does it work?   There are 3 broad types of design patterns: a. Creational Patterns -    These patterns provide different strategies to create an object. b. Structural Patterns -    These patterns define object structure and its relationship with other objects. c. Behevorioal Patterns -    These patterns deal with how objects should interact with each other in a optimum  and efficient manner. d. Concurrency Patterns -      These design patterns deal with multi threaded programming paradigm. These design patterns are also called as gang of four (GOF) design patterns. Following are sub-types of creational design patterns a. Factory b. Abstract Factory c. Singleton d. Prototype e. Builder f. Object Pool Following are sub-types of Structural design patterns a. Adapter b. Bridge c.Composite d. Decoreator e. Facade f. Flyweight g. Proxy Follo...