The Three Components of Object Oriented Languages

There are three major components of Object Oriented Languages. To be truly Object Oriented, you must have all three of these components to make up your language. Encapsulation The protection of data is a very important aspect of object oriented programming. Encapsulation is the idea that we protect and contain the data for our object….

Scheduling of Interactive Processes

An interactive process communicates with the user by receiving commands or data from the keyboard or a pointing device and responding by generating output to an output device. (monitor, printer, etc) A time quantum, Q, is a small amount of time (typically 10 to 100 milliseconds) during which a process is allowed to use the CPU. The round-robin (RR)…

Scheduling of Batch Processes

A batch process performs a long-running and generally repetitive task that does not require any intervention from the user. Ex: Payroll, insurance claims processing, weather prediction, scientific calculations. These are typically run on a server and not a desktop user machine. The FIFO (First-In-First-Out) algorithm, also known as FCFS (First-Come-First-Serve), schedules processes strictly according to the process arrival…

Introduction to Threads

An application implemented as a single process follows a single path of execution through the program. Most (All) applications you’ve written at this point are single process applications. When a process is blocked by a resource, then the whole process is blocked. However, many applications have other parts of the application that could continue to…