Components interview questions

15 real Components questions from the Blazor bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Razor component?

Junior
  1. A.a delegate type representing a chunk of UI content that a parent can supply for a child to render
  2. B.decorates a public property so a parent can pass a value into a child component
  3. C.a reusable piece of UI in Blazor that combines markup and C# logic into a single self-contained unit
  4. D.decorates a property to receive a value supplied by an ancestor without passing it through each intermediate level
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Razor component — decorates a property to receive a value supplied by an ancestor without passing it through each intermediate level
  2. B.Razor component — a reusable piece of UI in Blazor that combines markup and C# logic into a single self-contained unit
  3. C.Razor component — a delegate type representing a chunk of UI content that a parent can supply for a child to render
  4. D.Razor component — decorates a public property so a parent can pass a value into a child component
Reveal the answer + AI explanation — free account

4. What is Parameter attribute?

Mid
  1. A.the markup placed between a component's opening and closing tags, captured by a parameter named ChildContent
  2. B.decorates a public property so a parent can pass a value into a child component
  3. C.a reusable piece of UI in Blazor that combines markup and C# logic into a single self-contained unit
  4. D.decorates a property to receive a value supplied by an ancestor without passing it through each intermediate level
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.Parameter attribute — a reusable piece of UI in Blazor that combines markup and C# logic into a single self-contained unit
  2. B.Parameter attribute — the markup placed between a component's opening and closing tags, captured by a parameter named ChildContent
  3. C.Parameter attribute — decorates a public property so a parent can pass a value into a child component
  4. D.Parameter attribute — a delegate type representing a chunk of UI content that a parent can supply for a child to render
Reveal the answer + AI explanation — free account

7. What is RenderFragment?

Mid
  1. A.a delegate type representing a chunk of UI content that a parent can supply for a child to render
  2. B.a reusable piece of UI in Blazor that combines markup and C# logic into a single self-contained unit
  3. C.the markup placed between a component's opening and closing tags, captured by a parameter named ChildContent
  4. D.decorates a public property so a parent can pass a value into a child component
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.RenderFragment — a reusable piece of UI in Blazor that combines markup and C# logic into a single self-contained unit
  2. B.RenderFragment — a delegate type representing a chunk of UI content that a parent can supply for a child to render
  3. C.RenderFragment — the markup placed between a component's opening and closing tags, captured by a parameter named ChildContent
  4. D.RenderFragment — decorates a public property so a parent can pass a value into a child component
Reveal the answer + AI explanation — free account

10. What is Child content?

Mid
  1. A.the markup placed between a component's opening and closing tags, captured by a parameter named ChildContent
  2. B.decorates a public property so a parent can pass a value into a child component
  3. C.a delegate type representing a chunk of UI content that a parent can supply for a child to render
  4. D.a reusable piece of UI in Blazor that combines markup and C# logic into a single self-contained unit
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.Child content — the markup placed between a component's opening and closing tags, captured by a parameter named ChildContent
  2. B.Child content — a reusable piece of UI in Blazor that combines markup and C# logic into a single self-contained unit
  3. C.Child content — a delegate type representing a chunk of UI content that a parent can supply for a child to render
  4. D.Child content — decorates a property to receive a value supplied by an ancestor without passing it through each intermediate level
Reveal the answer + AI explanation — free account

13. What is CascadingParameter?

Senior
  1. A.decorates a public property so a parent can pass a value into a child component
  2. B.the markup placed between a component's opening and closing tags, captured by a parameter named ChildContent
  3. C.a reusable piece of UI in Blazor that combines markup and C# logic into a single self-contained unit
  4. D.decorates a property to receive a value supplied by an ancestor without passing it through each intermediate level
Reveal the answer + AI explanation — free account

14. Which term means: "decorates a property to receive a value supplied by an ancestor without passing it through each intermediate level"?

Senior
  1. A.Parameter attribute
  2. B.Razor component
  3. C.CascadingParameter
  4. D.Child content
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.CascadingParameter — a reusable piece of UI in Blazor that combines markup and C# logic into a single self-contained unit
  2. B.CascadingParameter — decorates a property to receive a value supplied by an ancestor without passing it through each intermediate level
  3. C.CascadingParameter — the markup placed between a component's opening and closing tags, captured by a parameter named ChildContent
  4. D.CascadingParameter — decorates a public property so a parent can pass a value into a child component
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Components free