Scheduling Algorithms

When managing processes in an operating system, choosing the right scheduling algorithm is crucial. This article explores well-known algorithms including FCFS, SJF, priority scheduling, and RR scheduling. Each algorithm has unique features, such as FCFS’s FIFO queue, SJF’s focus on minimizing waiting time, and priority scheduling’s potential for indefinite blocking. RR scheduling ensures fair CPU time distribution through time slices.

Read More Scheduling Algorithms

Scheduling in OS

Schedulers are vital in determining process execution. The Job Queue stores submitted processes, while the Ready Queue houses processes ready for execution. The Device Queue lists blocked processes. Long-term Scheduler admits processes from the Job Queue, while Short-term Scheduler selects processes for immediate execution. The Medium-term Scheduler manages swapped-out processes.

Read More Scheduling in OS

The Shell – Terminal

The shell, acting as a command language interpreter, serves as the interface between the user and the system. It relies on the system kernel to execute programs and finds its home within a terminal emulator, like “bash,” enabling various operations and scripting capabilities in the UNIX and Linux world.

Read More The Shell – Terminal

Burning the Bootloader On Arduino

This article covers the issue of a corrupted Arduino bootloader and outlines a solution using another Arduino to revive the faulty board through bootloader burning. It provides a concise explanation of the bootloader’s function and the process to fix the corrupted bootloader. The step-by-step guide includes connecting the two Arduinos and burning the bootloader using the Arduino IDE.

Read More Burning the Bootloader On Arduino

Few GDB Debugging Commands

This guide introduces essential GDB debugger commands: break (set breakpoint), run (start execution), next (execute next line), step (execute and stop in function), continue (resume execution), print (print variable value), backtrace (display call stack), watch (set watchpoint), info (display program info), quit (exit debugger), and more.

Read More Few GDB Debugging Commands

Auto Backup Files in Linux

This article provides a step-by-step guide on creating an automatic backup command for files in Linux. It covers checking directory existence, creating a file, adding commands, testing the backup, and additional notes on updating and file management within Vim. The process ensures a backup file is created for every new file opened.

Read More Auto Backup Files in Linux

𝐖𝐡𝐚𝐭 𝐝𝐨 𝐲𝐨𝐮 𝐦𝐞𝐚𝐧 𝐛𝐲 𝐕𝐞𝐫𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧 𝐚𝐧𝐝 𝐕𝐚𝐥𝐢𝐝𝐚𝐭𝐢𝐨𝐧?

Verification and Validation (V&V) are critical activities in development. Verification ensures design compliance with requirements, while validation ensures the right system is built. These processes occur at different stages, with validation focusing on early development and verification on post-design production. Understanding these fundamental concepts is essential before exploring the involved techniques.

Read More 𝐖𝐡𝐚𝐭 𝐝𝐨 𝐲𝐨𝐮 𝐦𝐞𝐚𝐧 𝐛𝐲 𝐕𝐞𝐫𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧 𝐚𝐧𝐝 𝐕𝐚𝐥𝐢𝐝𝐚𝐭𝐢𝐨𝐧?

Unique Cosmic BlackHoles (Part-1)

Universe is a mysterious place with both beautiful and monstrous cosmic entities. One of the terrific entities is the blackhole. An enigmatic object where not even the light can escape its gravitational pull. As similar their properties are anywhere in this universe, their characteristics do defer. From birth to death, everything that a blackhole does […]

Read More Unique Cosmic BlackHoles (Part-1)

Initialization of OS in MicroC/OS-II

One of the key strengths of 𝐮𝐂/𝐎𝐒-𝐈𝐈 lies in its lightweight and independent task model. Each task executes specific functions or operations, allowing for efficient task switching and context switching. Let’s start by unraveling the software file structure, which sets the foundation for a deep dive into the workings of 𝐎𝐒_𝐈𝐧𝐢𝐭(). We’ll delve into the […]

Read More Initialization of OS in MicroC/OS-II