Q11. What is the difference between a primary key and a foreign key?
A primary key uniquely identifies each row in a table. It must be unique and not null, and a table has at most one. It may be a single column or a composite of several, a...
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).
A primary key uniquely identifies each row in a table. It must be unique and not null, and a table has at most one. It may be a single column or a composite of several, a...
TCP and UDP are transport-layer protocols with opposite trade-offs. TCP is connection-oriented. It sets up a connection with a three-way handshake, numbers every segment,...
A process is a running program with its own virtual address space, code, data, heap, open file descriptors and at least one thread. The operating system isolates processe...
Object-oriented programming rests on four pillars: - Encapsulation: keep state private and expose behaviour through methods, so invariants cannot be broken from outside. ...
Cohort analysis groups users by a shared start event, usually their first activity period, and tracks behaviour over subsequent periods. Retention is the share of a cohor...
Imagine we assume a change has no real effect, which is the null hypothesis. The p-value answers: if that were true, how surprising would the data we observed be? A p-val...
Bias is error from overly simple assumptions; a high-bias model underfits and misses patterns in both training and test data. Variance is error from sensitivity to the tr...
A data warehouse stores structured, modelled data optimized for analytics and SQL. It uses schema-on-write: data is cleaned and conformed before loading, typically into s...
Redis exposes several core data types, each with tailored commands. - Strings: counters, cached serialized objects and rate limiters using INCR and SETEX. - Hashes: objec...
MongoDB is a document database. Data is stored as flexible BSON documents inside collections instead of rows in tables with a fixed schema. Each document can have its own...
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.