Q71. What is the context package used for and how do you use it correctly?
`context.Context` carries deadlines, cancellation signals and request-scoped values across API boundaries and goroutines. It is how cancellation and timeouts propagate th...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (182 available).
`context.Context` carries deadlines, cancellation signals and request-scoped values across API boundaries and goroutines. It is how cancellation and timeouts propagate th...
Ahead-of-time, AOT, compilation translates the program to machine code before it runs, producing a native binary. Startup is fast, memory overhead is predictable and ther...
Attribution assigns credit for a conversion to the marketing touchpoints along the customer journey. The model choice changes how budget is allocated. Common models: - La...
Use find for simple filtering, projection, sorting and pagination on a single collection. It is lightweight and uses indexes efficiently. Use aggregate when you must tran...
Federation lets several teams own separate GraphQL subgraphs and compose them into one graph for clients. Each subgraph declares the entities it owns with a key directive...
Hydration is React attaching event handlers to server-rendered HTML. A mismatch happens when the server HTML differs from the client's first render, and React warns and r...
Historically Angular relied on zone.js, which monkey-patches async APIs such as setTimeout, promises, XHR and event listeners so the framework knows when something might ...
Practical Vue 3 optimisations: use computed instead of methods in templates so results are cached, and split large components. Prefer shallowRef or shallowReactive for la...
A production script should be safe to re-run, fail clearly and clean up after itself. ```bash #!/usr/bin/env bash set -euo pipefail workdir=$(mktemp -d) cleanup() { rm -r...
MRI, the standard Ruby implementation, has a Global VM Lock: only one thread executes Ruby bytecode at a time, so threads do not provide CPU parallelism for pure Ruby cod...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.