Compiler and Assembler plays an important role in the execution of a program. Some compilers directly generate the executable code instead of assembly code. The compiler takes the preprocessed source code and translates it into the assembly code. The assembler takes the assembly code from the compiler and translates it to the relocatable machine code. In this article, I have discussed the differences between compiler and assembler with the help of comparison chart shown below, just have a … [Read more...]
Difference Between Linker and Loader
Linker and Loader are the utility programs that plays a major role in the execution of a program. The Source code of a program passes through compiler, assembler, linker, loader in the respective order, before execution. On the one hand, where the linker intakes the object codes generated by the assembler and combine them to generate the executable module. On the other hands, the loader loads this executable module to the main memory for execution. Let us discuss the difference between Linker … [Read more...]
Difference Between RAM and ROM Memory
RAM and ROM both are the internal memories of the computer. Where RAM is a temporary memory, ROM is a permanent memory of the computer. There are many differences between RAM and ROM, but the basic difference is that RAM is a read-write memory and the ROM is a read only memory. I have discussed some differences between RAM and ROM with the help of comparison chart shown below. Content: RAM Vs ROM Comparison Chart Definition Key Differences Conclusion Comparison … [Read more...]
Difference Between Supercomputer and Mainframe Computer
Supercomputer and mainframe computers are the most powerful computers. But they can be distinguished by the tasks they perform. On the one hand where supercomputer focuses on a fast computation of complex mathematical operations. On the other hands, the mainframe computer acts as a server and support large database, vast I/O devices, and multiprogramming. Let us discuss some more differences between supercomputer and mainframe computer with the help of comparison chart shown below. Content: … [Read more...]
Difference Between Primary and Secondary Memory
The memory of a computer is classified in the two categories primary and secondary memory. Primary memory is the main memory of the computer where the currently processing data resides. The secondary memory of the computer is auxiliary memory where the data that has to be stored for a long time or permanently, is kept. The basic difference between primary and secondary memory is that the primary memory is directly accessible by CPU whereas, the secondary memory is not directly accessible to … [Read more...]
Difference Between Loosely Coupled and Tightly Coupled Multiprocessor System
Multiprocessor is one which has more than two processors in the system. We have two categories of multiprocessing systems, that are loosely coupled and tightly coupled multiprocessor system. The degree of coupling between the processor is low in loosely coupled system whereas, the degree of coupling between processors in the tightly coupled system is high. The basic difference between the loosely coupled and tightly coupled multiprocessing system is that loosely coupled system has distributed … [Read more...]
Difference Between Magnetic Tape and Magnetic Disk
Magnetic tape and magnetic disk both stores the data magnetically. The surface of a magnetic tape and the surface of a magnetic disk are covered with a magnetic material which helps in storing the information magnetically. Both are non-volatile storage. Despite these similarities both differs in many aspects from their appearance to their working, their cost and much more. The basic difference between magnetic tape and magnetic disk is that magnetic tape is used for backups whereas, magnetic … [Read more...]
Difference Between Multiprocessing and Multithreading
Multiprocessing and Multithreading both adds performance to the system. Multiprocessing is adding more number of or CPUs/processors to the system which increases the computing speed of the system. Multithreading is allowing a process to create more threads which increase the responsiveness of the system. I have figured some more differences between multiprocessing and multithreading which I have discussed with the help of comparison chart shown below. Content: Multiprocessing Vs … [Read more...]
Difference Between Paging and Swapping in OS
Paging and Swapping are two memory management strategies. For execution, each process is required to be placed in main memory. Swapping and Paging both places the process in main memory for execution. Swapping could be added to any CPU scheduling algorithm where processes are swapped from main memory to back store and swapped backed to main memory. Paging allows the physical address space of a process to be noncontiguous. Let us discuss the differences between paging and swapping with the … [Read more...]
Difference Between Deadlock and Starvation in OS
Deadlock and Starvation both are the conditions where the processes requesting for a resource has been delayed for a long. Although deadlock and starvation both are different from each other in many aspects. Deadlock is a condition where no process proceeds for execution, and each waits for resources that have been acquired by the other processes. On the other hands, in Starvation, process with high priorities continuously uses the resources preventing low priority process to acquire the … [Read more...]