Chapter quiz · Components Deep Dive

Test what you learned.

8 questions on Components Deep Dive. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Components Deep Dive — Chapter Quiz

Eight questions on inputs, outputs, projection, lifecycle, and change detection.

0/ 9
  1. Question 1
    1

    What does input.required<string>() return?

  2. Question 2
    2

    How does a child component declare a custom event the parent can listen to?

  3. Question 3
    3

    What does <ng-content> do?

  4. Question 4
    4

    Which ChangeDetectionStrategy re-checks only on input/signal changes?

  5. Question 5
    5

    Which lifecycle hook runs after Angular initialises a component's inputs?

  6. Question 6
    6

    viewChild() returns a signal you can read in the template or in effects.

  7. Question 7
    7

    The @Component({ encapsulation: ___ }) value that uses Shadow DOM is ShadowDom.

  8. Question 8
    8

    Which of these are valid Angular lifecycle hooks?

    Select all that apply.

Pick an answer — instant feedback as you go.