5questions
IntermediateNext.js
5 subjects
1 easy3 medium1 hard
How would you give the marketing pages and the signed-in dashboard different root layouts without changing any URLs?
Start practising2 easy7 medium4 hard
// 13 of 13 questions · 13 subjects
How would you refactor a function that takes a boolean flag to switch between two behaviours?
easyClean CodeReadability
What does functional programming take away from you, and why is that useful?
mediumFunctional ProgrammingParadigms
Your class has a public getter and setter for every field. Is it encapsulated?
mediumEncapsulationPolymorphism
When does applying DRY make a design worse?
hardSOLIDComposition
What does "policy versus detail" mean, and how does it decide which way dependencies point?
hardCouplingBoundaries
What is the difference between an architectural style and an architectural pattern?
easyArchitecture Styles
hardEvent-DrivenPub-Sub
When would you choose a peer-to-peer design over client-server?
mediumClient-ServerPeer-to-Peer
Why might a modular monolith be a better starting point than microservices?
mediumMonolithLayered
When is CQRS with event sourcing worth its complexity, and when is it a trap?
hardCQRSEvent Sourcing
What is an anemic domain model, and why is it considered an anti-pattern?
mediumDomain ModelAnemic Model
How do entities differ from value objects, and where do repositories and DTOs fit around them?
mediumRepositoriesValue Objects
5questions
Intermediate5 subjects
1 easy3 medium1 hard
How would you give the marketing pages and the signed-in dashboard different root layouts without changing any URLs?
Start practising26questions
Intermediate26 subjects
4 easy13 medium9 hard
Walk through what happens between typing a URL into the browser and your backend handler running.
Start practising29questions
Intermediate29 subjects
7 easy15 medium7 hard
How does an AI engineer's job differ from an ML engineer's?
Start practising