bandeblogs.comOperating System Part-3Define the four necessary conditions that characterize deadlock ? Deadlock can arise if four conditions hold simultaneously. Mutual exclusion: only one thread at a time can use a resource . Hold and wait: a thread holding at least one resource is w...Jun 26, 2024·2 min read
bandeblogs.comOperating System Part-4What is the difference between Logical Address and Physical Address Space? Logical and Physical Addresses are same in compile time and load time binding scheme but differs in execution time binding scheme. Logical AddressPhysical Address Gen...Jun 24, 2024·10 min read
bandeblogs.comOperating System Part-2How OS creates a process? Initializes the program and the static data. Allocate stack for variables. Allocate memory space from heap. I/O tasks. OS handles the stuff to main(). What is the Architecture of Process? What is PCB? Process Control...Jun 22, 2024·8 min read
bandeblogs.comOperating System Part-1Why we need OS? For better Resource management of cpu,gpu,memory,etc. Maintain sync between I/O devices and the system itself to use applications by users simultaneously. It also make sure use of DRY principle(Don't Repeat Yourself) by removing re...Jun 20, 2024·6 min read
bandeblogs.comDistance of nearest cell having 1A medium graph traversal-based dsa question. Given a binary grid of n*m. Find the distance of the nearest 1 in the grid for each cell.The distance is calculated as |i1 - i2| + |j1 - j2|, where i1, j1 are the row number and column number of the curre...Mar 10, 2023·4 min read