06-Operating Systems

Deadlock(Prevention, Avoidance, Detection, Recovery)

πŸ“… Apr 10, 2021

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)

πŸ“… Apr 7, 2021

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

πŸ“… Apr 6, 2021

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

πŸ“… Mar 3, 2021

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 β†’

02-Git | Git Commands

Gir Standard Practices, Git commands

πŸ“… Feb 21, 2023

Git Standard Practices

1. Using .gitignore

Useful .gitignore templates: GitHub

The .gitignore file is a text file that tells Git which files or folders to ignore in a project. A local .gitignore file is usually placed in the root directory of a project. You can also create a global .gitignore file and any entries in that file will be ignored in all of your Git repositories.

Read More β†’

01-Git | Introductions

VCS, Git, Git hosting, Installation

πŸ“… Feb 20, 2023

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 β†’