โ† All IKM Flashcard Decks

Software Development Flashcards

6 cards from real IKM practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 Software Development flashcards as text
  1. What is the primary benefit of dependency injection?

    Answer: Loose coupling between components

    Dependency injection promotes loose coupling by providing dependencies externally rather than creating them internally.

  2. Which design pattern ensures a class has only one instance?

    Answer: Singleton

    The Singleton pattern restricts instantiation to a single object with a global access point.

  3. What does the 'O' in SOLID stand for?

    Answer: Open/Closed Principle

    The Open/Closed Principle states entities should be open for extension but closed for modification.

  4. What is a race condition?

    Answer: A bug where behavior depends on timing of uncontrolled events

    A race condition occurs when behavior depends on the timing of events like two threads accessing shared data.

  5. Which version control workflow creates a branch for each feature?

    Answer: Feature branch workflow

    Feature branch workflow creates a dedicated branch for each feature, keeping main stable.

  6. What is the purpose of code refactoring?

    Answer: Improve internal code structure without changing external behavior

    Refactoring improves internal structure, readability, and maintainability without changing functionality.