Algorithms Articles

Found 386 articles

Spaceship Titanic Project using Machine Learning in Python

Jaisshree
Jaisshree
Updated on 27-Mar-2026 446 Views

The Spaceship Titanic project is a machine learning classification problem that predicts whether passengers will be transported to another dimension. Unlike the classic Titanic survival prediction, this futuristic scenario involves space travel and dimensional transportation. This project demonstrates a complete machine learning pipeline from data preprocessing to model evaluation using Python libraries like pandas, scikit-learn, and XGBoost. Dataset Overview The Spaceship Titanic dataset contains passenger information with features like HomePlanet, CryoSleep status, Cabin details, Age, VIP status, and various service expenses. The target variable is Transported − whether a passenger was transported to another dimension. Data ...

Read More

Loan Approval Prediction using Machine Learning

Siva Sai
Siva Sai
Updated on 27-Mar-2026 1K+ Views

Traditional industries are quickly embracing contemporary technologies to improve their operations in the age of digital transformation. Among these, the financial industry stands out for using cutting-edge approaches like machine learning (ML) for tasks like predicting loan acceptance. This article provides a comprehensive guide on how to predict loan approval using machine learning with practical Python examples. Introduction to Loan Approval Prediction Loan approval prediction uses machine learning algorithms to determine whether a loan application should be approved or rejected based on applicant information. This is a binary classification problem where the output is either "approved" or "denied". ...

Read More

Round Robin Scheduling with different arrival times

Pranavnath
Pranavnath
Updated on 17-Mar-2026 11K+ Views

Round Robin (RR) is a preemptive CPU scheduling algorithm where each process is allocated a fixed time slice called a quantum. Unlike standard Round Robin with zero arrival times, this variant handles processes that arrive at different times, making scheduling more complex as the ready queue changes dynamically. In preemptive scheduling, a running process can be interrupted and moved back to the ready queue. Round Robin ensures fairness by giving each process an equal share of CPU time, preventing starvation while maintaining good response times for interactive systems. How Round Robin Works with Different Arrival Times When ...

Read More

Scheduling with Deadline

Pranavnath
Pranavnath
Updated on 17-Mar-2026 942 Views

Scheduling with deadlines is a fundamental concept in operating systems and real-time computing where tasks must be completed within specified time constraints. The primary objective is to allocate CPU time and system resources efficiently while ensuring that critical tasks meet their deadlines, minimizing lateness and system failures. This scheduling approach is essential in time-critical systems where missing a deadline can have severe consequences, such as safety-critical applications, real-time communication systems, and multimedia streaming. Understanding deadline-based scheduling helps system designers create robust algorithms that optimize performance while guaranteeing timely task execution. How Deadline Scheduling Works In deadline scheduling, ...

Read More

Scheduling in Real time Systems

Pranavnath
Pranavnath
Updated on 17-Mar-2026 7K+ Views

A real-time system comprises tasks that must be processed within specified time constraints called deadlines. These systems prioritize timing requirements over computational complexity, ensuring that tasks complete within their allocated timeframes to maintain system integrity and performance. Types of Real-Time Systems Real-time systems are classified based on the consequences of missing deadlines: Types of Real-Time Systems Real-Time Hard Real-Time Soft Real-Time Deadline miss causes system failure ...

Read More

POSIX Threads in OS

Way2Class
Way2Class
Updated on 17-Mar-2026 2K+ Views

POSIX threads (pthreads) are a standardized threading API that allows programs to create multiple concurrent execution paths within a single process. POSIX threads follow the POSIX standard and provide a consistent interface for thread creation, synchronization, and management across Unix-like operating systems including Linux, macOS, and FreeBSD. Threads enable parallelism by dividing a single task into multiple independent units that can execute simultaneously. POSIX threads are kernel-level threads, meaning they are managed directly by the operating system kernel, which provides better scheduling and true parallelism on multi-core systems. Thread Fundamentals A thread is a lightweight process that ...

Read More

Priority Inheritance Protocol (PIP) in Synchronization

Way2Class
Way2Class
Updated on 17-Mar-2026 1K+ Views

Priority Inheritance Protocol (PIP) is a synchronization mechanism used in real-time operating systems to solve the priority inversion problem. Priority inversion occurs when a high-priority task is blocked by a lower-priority task that holds a shared resource, causing system delays and potentially missed deadlines. The Priority Inversion Problem Consider three tasks with different priorities: High (H), Medium (M), and Low (L). If task L acquires a resource that task H needs, while task M is running, task H must wait for both M and L to complete. This violates the priority-based scheduling principle. ...

Read More

Prepaging In Operating Systems

Way2Class
Way2Class
Updated on 17-Mar-2026 928 Views

Prepaging is a memory management technique used by operating systems to improve system performance by loading program pages into memory before they are actually needed. This proactive approach helps reduce the time spent waiting for data retrieval from secondary storage, making the system more responsive and efficient. Unlike demand paging where pages are loaded only when referenced, prepaging anticipates future memory needs and loads pages in advance. This technique is commonly used alongside other memory management strategies like page replacement algorithms to optimize overall system performance. How Prepaging Works The operating system uses various prediction algorithms to ...

Read More

Parbegin / Parend Concurrent Statement

Way2Class
Way2Class
Updated on 17-Mar-2026 922 Views

Parbegin/Parend is a concurrent programming construct used to specify parallel execution of multiple statements or processes. The parbegin keyword marks the beginning of a parallel block, while parend marks its end. All statements within this block execute concurrently rather than sequentially. How Parbegin/Parend Works When the processor encounters a parbegin statement, it creates separate execution threads for each statement within the block. These threads run simultaneously until all complete execution, at which point control moves to the statement following parend. Parbegin/Parend Execution Flow S1 ...

Read More

Memory Protection in Operating Systems

Diksha Patro
Diksha Patro
Updated on 17-Mar-2026 5K+ Views

Memory protection is a fundamental security mechanism in operating systems that prevents one process from accessing or modifying the memory space allocated to another process. This isolation ensures system stability and security by maintaining strict boundaries between different programs running concurrently. The primary goal of memory protection is to prevent unauthorized memory access. When a process attempts to access memory outside its allocated space, the operating system immediately terminates the offending process, preventing potential system crashes or security breaches. How Memory Protection Works Memory protection is typically implemented using hardware components called Memory Management Units (MMUs). The ...

Read More
Showing 1–10 of 386 articles
« Prev 1 2 3 4 5 39 Next »
Advertisements