Q301. What are Angular signals and how do they change reactivity?
Signals are Angular's fine-grained reactive primitive. A signal(0) holds a value; reading it with count() registers the consumer as a dependency, and writing with count.s...
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 (2,728 available).
Signals are Angular's fine-grained reactive primitive. A signal(0) holds a value; reading it with count() registers the consumer as a dependency, and writing with count.s...
ref creates a reactive reference that can hold any value, including primitives, and is accessed through .value in JavaScript while auto-unwrapping in templates. reactive ...
Every process has three standard streams: stdin (0), stdout (1) and stderr (2). Redirection connects them to files or other processes. ```bash cmd > out.log # stdout to f...
A module is a collection of methods and constants. It cannot be instantiated, but it can be mixed in to add behaviour, which is Ruby's alternative to multiple inheritance...
A protocol declares requirements such as properties, methods, initialisers or associated types that conforming types implement. Swift encourages protocol-oriented program...
An extension function adds a method to a class without modifying or inheriting it. Resolution is static. ```kotlin fun String.toTitleCase(): String = split(" ").joinToStr...
LINQ queries over `IEnumerable` are lazy: the query is a description that runs only when enumerated by `foreach`, `ToList`, `Count`, `First` or similar. Each enumeration ...
Raw `new` and `delete` are error-prone, so C++11 introduced smart pointers in `` that express ownership. - `std::unique_ptr`: exclusive ownership, cannot be copied, is mo...
Lifetimes are generic annotations that describe how long references remain valid, so the compiler can prove they never dangle. Most lifetimes are elided and invisible in ...
Channels are typed conduits for goroutine communication. Direction matters: `chan T`, `
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.