Q11. Explain virtual memory and paging.
Virtual memory gives each process the illusion of a large, contiguous address space, independent of physical RAM. The CPU's memory management unit translates virtual addr...
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 (22 available).
Virtual memory gives each process the illusion of a large, contiguous address space, independent of physical RAM. The CPU's memory management unit translates virtual addr...
Identify the consumer before acting. CPU: ```bash top -o %CPU uptime # load average pidstat 1 5 # per-process CPU perf top # hot functions ``` Check load average against ...
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...
CPython combines: - Reference counting for immediate reclamation. Every object tracks how many references point to it; when the count hits zero it is freed. - A cyclic ga...
Thrashing is when a system spends more time paging than doing useful work. It happens when the total working set of active processes exceeds physical memory, so pages are...
Python memory is managed by Python private heap space. All Python objects and data structures are located in a private heap. The programmer does not have an access to thi...
Memory management in Python involves a private heap containing all Python objects and data structures. Interpreter takes care of Python heap and the programmer has no acc...
Objects referenced from the global namespaces of Python modules are not always deĀallocated when Python exits. This may happen if there are circular references. There are...
Whenever Python exits, especially those Python modules which are having circular references to other objects or the objects that are referenced from the global namespaces...
Python uses private heaps to maintain its memory. So the heap holds all the Python objects and the data structures. This area is only accessible to the Python interpreter...
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.