Inversion of Control Test

Question 1: IoC stands for ________ .

Question 2: DIP stands for __________ .

Question 3: IoC is a ___________ .

Question 4: DIP is a ______________.

Question 5: Dependency Injection is a __________.

Question 6: IoC, DIP and DI are aimed to achieve ____________.

Question 7: Which of the following pattern can be used to implement IoC?

Question 8: Which principle suggests "High-level modules should not depend on low-level modules. Both should depend on abstraction. Abstractions should not depend on details. Details should depend on abstractions."

Question 9: What are the types of Dependency Injections?

Question 10: DI pattern involves which of the following types of classes?

Question 11: IoC Container is the __________.

Question 12: Which of the following are IoC containers for .NET application?

Question 13: Unity container is __________________.

Question 14: Which is the default injection type of Unity container?

Question 15: How to register a type with Unity container?

Question 16: Which of the following attribute should apply for construction injection using Unity container if a class contains multiple constructors?

Question 17: Which of the following attribute can be used to perform a property injection using Unity container?

Question 18: Which of the following attribute can be used to perform method injection using Unity container?

Question 19: Which of the followings are valid overrides in Unity container?

Question 20: Which of the following lifetime manager is used to create singleton object?