Q581. What are the basic data types in TypeScript?
TypeScript adds static typing on top of JavaScript, categorizing data types into primitives, composite structures, and special utility types: ### 1. Primitives: - **`bool...
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).
TypeScript adds static typing on top of JavaScript, categorizing data types into primitives, composite structures, and special utility types: ### 1. Primitives: - **`bool...
**Arrow functions** (also known as "lambda expressions") provide a concise syntax for writing function expressions in JavaScript. Introduced in ES6, arrow functions are o...
In React, both **state** and **props** are plain JavaScript objects, but they serve different purposes and have distinct behaviors: ### State - **Definition:** State is a...
Legacy code is often defined as code without tests, which makes changing it risky. The core technique is to introduce a seam, a place where behaviour can be substituted w...
Two-phase commit, 2PC, is an atomic commit protocol for transactions spanning multiple databases or resource managers. Phase one, prepare: the coordinator asks every part...
TCP congestion control keeps the sender from overwhelming the network. The sender maintains a congestion window, cwnd, and sends at most the minimum of cwnd and the recei...
The Banker's algorithm grants a resource request only if the resulting state is safe, meaning some order exists in which all processes can finish. Inputs are the maximum ...
The diamond problem occurs when a class inherits from two classes that share a common ancestor, so the same base members are inherited along two paths. Ambiguity arises o...
Outliers can be data errors, rare genuine events, or informative signals. Decide whether to remove, cap or keep them based on context, never automatically. Detection meth...
When you run many hypothesis tests, the chance of at least one false positive grows quickly. With 20 independent tests at alpha 0.05, the probability of a false positive ...
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.