Chapter quiz · Templates & Data Binding

Test what you learned.

8 questions on Templates & Data Binding. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Templates & Data Binding — Chapter Quiz

Eight questions on interpolation, bindings, control flow, and pipes.

0/ 9
  1. Question 1
    1

    Which is the correct syntax for property binding to a DOM attribute?

  2. Question 2
    2

    What does (click)="save()" do?

  3. Question 3
    3

    Which built-in pipe formats a Date for display?

  4. Question 4
    4

    What is the two-way binding syntax called?

  5. Question 5
    5

    <ng-container> is used to:

  6. Question 6
    6

    @if, @for, and @switch are the modern replacements for *ngIf, *ngFor, and *ngSwitch.

  7. Question 7
    7

    In @for (item of items; track item.id), the track expression should be a unique ___.

  8. Question 8
    8

    Which control-flow keywords are valid in Angular 17+ templates?

    Select all that apply.

Pick an answer — instant feedback as you go.