06-Operating Systems

Deadlock(Prevention, Avoidance, Detection, Recovery)

Deadlock

  • A situation where a set of processes are blocked because each process is holding a resource and waiting for another resource acquired by some other process.
  • This block situation is called Deadlock(DL)
  • DL is a bug present in the process/thread synchronization method
  • In DL, processes never finish executing, and the system resources are tied up, preventing other jobs from starting.
[Read More]

03-Operating Systems

32-Bit vs 64-Bit OS, Storage, Process(PCB, Life Cycle, Schedular)

32-Bit vs 64-Bit OS

  • A 32-bit OS has 32-bit registers, and it can access 2^32 unique memory addresses.
    • i.e., 4GB of physical memory.
  • A 64-bit OS has 64-bit registers, and it can access 2^64 unique memory addresses.
    • i.e., 17,179,869,184 GB of physical memory.
  • 32-bit CPU architecture can process 32 bits of data & information.
  • 64-bit CPU architecture can process 64 bits of data & information.
[Read More]

02-Operating Systems

Kernel & User Space, IPC, System calls, BIOS/UEFI, PC ON process

Components of OS

  1. Kernel
    • A kernel is that part of the operating system which interacts directly with the hardware and performs the most crucial tasks.
    • Heart of OS/Core component
    • Very first part of OS to load on start-up.
  2. User space
    • Where application software runs, apps don’t have privileged access to the underlying hardware. It interacts with kernel.
    • App: GUI, CLI
[Read More]

01-Internet | How does the Internet Work?

What is the Internet and how does it Work

Internet

Since the explosive growth of web-based applications, every developer stands to benefit from understanding how the Internet works. Through this article and its accompanying introductory series of short videos about the Internet from code.org, you will learn the basics of the Internet and how it works. After going through this article, you will be able to answer the following questions:

[Read More]

01-Git | Introductions

VCS, Git, Git hosting, Installation

1.1 What is version control?

  • Version control is a management system that allows you to record and track changes in your source code and files so that you can recall certain versions later.
  • It’s like a Google Doc for programming, where you can collaborate with multiple people working on the same code and see the source code’s history

Ultimately, using a version control system allows teams to streamline their development process, which improves their overall efficiency

[Read More]