Routing interview questions

15 real Routing 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 @page directive?

Junior
  1. A.the injected service used to read the current URL and programmatically redirect the user to another address
  2. B.the directive at the top of a component that assigns it a URL template so it becomes routable
  3. C.a placeholder in a URL template, written in braces, that captures part of the address into a component property
  4. D.the top-level component that matches the browser address against available page templates and displays the match
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.@page directive — a type restriction added to a URL placeholder, such as :int, so only matching values resolve to the component
  2. B.@page directive — the top-level component that matches the browser address against available page templates and displays the match
  3. C.@page directive — a placeholder in a URL template, written in braces, that captures part of the address into a component property
  4. D.@page directive — the directive at the top of a component that assigns it a URL template so it becomes routable
Reveal the answer + AI explanation — free account

4. What is Route parameter?

Mid
  1. A.the directive at the top of a component that assigns it a URL template so it becomes routable
  2. B.a type restriction added to a URL placeholder, such as :int, so only matching values resolve to the component
  3. C.the injected service used to read the current URL and programmatically redirect the user to another address
  4. D.a placeholder in a URL template, written in braces, that captures part of the address into a component property
Reveal the answer + AI explanation — free account

5. Which term means: "a placeholder in a URL template, written in braces, that captures part of the address into a component property"?

Mid
  1. A.@page directive
  2. B.Route parameter
  3. C.NavigationManager
  4. D.Router component
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.Route parameter — a type restriction added to a URL placeholder, such as :int, so only matching values resolve to the component
  2. B.Route parameter — the injected service used to read the current URL and programmatically redirect the user to another address
  3. C.Route parameter — a placeholder in a URL template, written in braces, that captures part of the address into a component property
  4. D.Route parameter — the directive at the top of a component that assigns it a URL template so it becomes routable
Reveal the answer + AI explanation — free account

7. What is NavigationManager?

Mid
  1. A.the injected service used to read the current URL and programmatically redirect the user to another address
  2. B.a placeholder in a URL template, written in braces, that captures part of the address into a component property
  3. C.the top-level component that matches the browser address against available page templates and displays the match
  4. D.the directive at the top of a component that assigns it a URL template so it becomes routable
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.NavigationManager — the top-level component that matches the browser address against available page templates and displays the match
  2. B.NavigationManager — a placeholder in a URL template, written in braces, that captures part of the address into a component property
  3. C.NavigationManager — the injected service used to read the current URL and programmatically redirect the user to another address
  4. D.NavigationManager — a type restriction added to a URL placeholder, such as :int, so only matching values resolve to the component
Reveal the answer + AI explanation — free account

10. What is Route constraint?

Senior
  1. A.a type restriction added to a URL placeholder, such as :int, so only matching values resolve to the component
  2. B.the top-level component that matches the browser address against available page templates and displays the match
  3. C.the injected service used to read the current URL and programmatically redirect the user to another address
  4. D.a placeholder in a URL template, written in braces, that captures part of the address into a component property
Reveal the answer + AI explanation — free account

11. Which term means: "a type restriction added to a URL placeholder, such as :int, so only matching values resolve to the component"?

Senior
  1. A.@page directive
  2. B.Route constraint
  3. C.Router component
  4. D.NavigationManager
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Senior
  1. A.Route constraint — the directive at the top of a component that assigns it a URL template so it becomes routable
  2. B.Route constraint — a placeholder in a URL template, written in braces, that captures part of the address into a component property
  3. C.Route constraint — the injected service used to read the current URL and programmatically redirect the user to another address
  4. D.Route constraint — a type restriction added to a URL placeholder, such as :int, so only matching values resolve to the component
Reveal the answer + AI explanation — free account

13. What is Router component?

Senior
  1. A.a type restriction added to a URL placeholder, such as :int, so only matching values resolve to the component
  2. B.the injected service used to read the current URL and programmatically redirect the user to another address
  3. C.the top-level component that matches the browser address against available page templates and displays the match
  4. D.a placeholder in a URL template, written in braces, that captures part of the address into a component property
Reveal the answer + AI explanation — free account

14. Which term means: "the top-level component that matches the browser address against available page templates and displays the match"?

Senior
  1. A.NavigationManager
  2. B.@page directive
  3. C.Router component
  4. D.Route constraint
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.Router component — a placeholder in a URL template, written in braces, that captures part of the address into a component property
  2. B.Router component — the directive at the top of a component that assigns it a URL template so it becomes routable
  3. C.Router component — the top-level component that matches the browser address against available page templates and displays the match
  4. D.Router component — a type restriction added to a URL placeholder, such as :int, so only matching values resolve to the 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 Routing free