Routing interview questions

15 Routing questions from the Blazor bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

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

Answer + AI explanation with Pro

2. Which term means: "the directive at the top of a component that assigns it a URL template so it becomes routable"?

Junior
  1. A.NavigationManager
  2. B.Router component
  3. C.Route parameter
  4. D.@page directive

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

8. Which term means: "the injected service used to read the current URL and programmatically redirect the user to another address"?

Mid
  1. A.Route constraint
  2. B.Router component
  3. C.Route parameter
  4. D.NavigationManager

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Routing question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers