Skip to main content

Posts

Showing posts from October, 2018

Difference between Static and Dynamic Memory Allocation

Difference between Static and Dynamic Memory Allocation Memory allocation in programming is very important for storing values when you assign them to variables. The allocation is done either before or at the time of program execution. This eventually allocates memory for the variables declared by a programmer via the compiler. The major difference between static and dynamic memory allocations are: Difference between Static and Dynamic Memory Allocation Static Memory Allocation Dynamic Memory Allocation In this case, variables get allocated permanently. In this case, variables get allocated only if your program unit gets active. Allocation is done before program execution. Allocation is done during program execution. It uses the data structure called stack for implementing static allocation It uses the data structure called heap for implementing dynamic allocation Less efficient. More efficient. There is no memory re-usability. There is memory reusability and memo

What Is The Difference Between a CPU And a GPU?

We all know very well that in a desktop computer, as well as in a laptop, between its hardware components, there is a CPU and another GPU. A configuration that is repeated also in smartphones and tablets as well. Hence, today in this article we will tell you about the difference between a CPU (Central Processing Unit) and a GPU (Graphics Processing Unit). What Is The Difference Between a CPU And a GPU? In a desktop computer, as well as in a laptop, between its hardware components, there is a CPU and another GPU. A configuration that is repeated also in smartphones and tablets as well. And we all know very well that both are the processors, but how they are different from each other? The GPU is specifically responsible for the graphics, and there are details in their technical specifications that justify this ‘specialization’. We probe into the differences and similarities in greater detail to simply understand why CPUs and GPUs are dedicated to different things.

What Is Round Robin Scheduling (RRS) ? - Definition

Round Robin Scheduling (RRS) Definition - What does Round Robin Scheduling (RRS) mean? Round robin scheduling (RRS) is a job-scheduling algorithm that is considered to be very fair, as it uses time slices that are assigned to each process in the queue or line. Each process is then allowed to use the CPU for a given amount of time, and if it does not finish within the allotted time, it is preempted and then moved at the back of the line so that the next process in line is able to use the CPU for the same amount of time. Round Robin Example Round robin scheduling is an algorithm mainly used by operating systems and applications that serve multiple clients that request to use resources. It handles all requests in a circular first-in-first-out (FIFO) order and eschews priority so that all processes/applications may be able to use the same resources in the same amount of time and also have the same amount of waiting time eac

What Is DeadLock ? - Definition From Tech Trone

deadlock Deadlock Condition A deadlock is a situation in which two computer programs sharing the same resource are effectively preventing each other from accessing the resource, resulting in both programs ceasing to function. The earliest computer operating systems ran only one program at a time. All of the resources of the system were available to this one program. Later, operating systems ran multiple programs at once, interleaving them. Programs were required to specify in advance what resources they needed so that they could avoid conflicts with other programs running at the same time. Eventually some operating systems offered dynamic allocation of resources. Programs could request further allocations of resources after they had begun running. This led to the problem of the deadlock. Here is the simplest example: Program 1 requests resource A and receives it. Program 2 requests resource B and receives it. Program 1 requests resource B and is queued up, p

OMG !! Android Is No Longer Free

We all know very well that Android is the most widely used mobile operating system on the market, hence, it is subject to scrutiny and constant assessment by regulators from the countries where it is present. However, now according to the latest reports, the tech giant Google warned that Android is no longer free simply because of the fine imposed by the EU commission. Google: Android Is No Longer Free The tech giant Google has been under fire in Europe, which has forced some profound changes in its services and the way it manages user data. These are changes that the European Union is obliging as a result of the investigations and fines it has imposed on the tech giant Google. Hence, as a result, the tech giant Google has now announced that in Europe, Android manufacturers will start paying the tech giant Google for the use of their applications. This is a radical change from the tech giant Google , but it is following the last fine that the tech gi