Q51. What is the difference between unit, integration and end-to-end tests?
Unit tests exercise a single function, class or module in isolation, with dependencies replaced by fakes. They run in milliseconds, pinpoint failures and are cheap to wri...
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 (1,236 available).
Unit tests exercise a single function, class or module in isolation, with dependencies replaced by fakes. They run in milliseconds, pinpoint failures and are cheap to wri...
A typical compiler pipeline has a front end, a middle end and a back end. - Lexical analysis: turn characters into tokens. - Syntax analysis: build a parse tree from the ...
A file system stores bytes in files and directories but knows nothing about their structure. A DBMS adds a layer that understands records, types, relationships and constr...
The browser parses the URL, then finds the server's IP: it checks its cache, the OS cache, `/etc/hosts`, then asks a resolver, which recurses from the root servers throug...
CPUs have at least two privilege levels. In user mode, code cannot execute privileged instructions or touch hardware or protected memory. In kernel mode, the OS kernel ca...
An interface declares a contract: a set of method signatures with no state that any type can implement. A class can implement many interfaces, which models capability. An...
Supervised learning uses labelled examples, learning a mapping from inputs to known outputs. Tasks include classification (predict a category, such as spam or not) and re...
ETL extracts data from sources, transforms it on a separate processing engine, then loads the clean result into the target. ELT extracts and loads raw data into the targe...
Both control traffic in a VPC, but at different layers. - Security groups are stateful and attached to ENIs or instances. Return traffic is automatically allowed. Rules a...
Cache-aside (lazy loading): the application checks the cache first. On a miss it reads the database, then writes the value into the cache and returns it. The application ...
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.