Introduction of System Call

To understand system calls, first one needs to understand the difference between kernel mode and user mode of a CPU. Every modern operating system supports these two modes. In computing, a system call is the programmatic way in which a computer program requests a service from the kernel of the operating system it is executed on. A system… Read More »

Transport Layer in OSI Model

Transport Layer is the second layer of the TCP/IP model. It is an end-to-end layer used to deliver messages to a host. It is termed as an end-to-end layer because it provides a point-to-point connection rather than hop-to- hop, between the source host and destination host to deliver the services reliably. The unit of data encapsulation in Transport… Read More »

Introduction To C++

C++ is a cross-platform language that can be used to create high-performance applications. C++ gives programmers a high level of control over system resources and memory. C++ was developed by Bjarne Stroustrup, as an extension to the C language. Language designers: Bjarne Stroustrup Language paradigms: Object-oriented program. There are various published Versions of C++ : C++98, C++03, C++11,… Read More »

Deadlock Detection And Recovery

Deadlock Detection and Deadlock recovery are important tasks of OS. If deadlocks are not avoided, then another approach is to detect when they have occurred and recover somehow. These are explained as following below. 1. Deadlock Detection : If resources have single instance : If cycle exist in the Resource Allocation Graph, then there exist deadlock in the… Read More »

Process Schedulers in Operating System

A scheduler is a type of system software that allows you to handle process scheduling. There are mainly three types of Process Schedulers: Long Term, Short Term, Medium Term. These are explained as following below. Long Term or job scheduler : Long term scheduler is also known as job scheduler. It chooses the processes from the pool (secondary… Read More »

Goals and Applications of Networks

A network consists of two or more nodes (e.g. computers) that are linked in order to share resources (such as printers and CDs), exchange files, or allow electronic communications. The computers on a network may be linked through cables, telephone lines, radio waves, satellites, or infrared light beams. Networking Elements : The computer network includes the following networking… Read More »

Dual Mode of Operating Systems

Dual-mode operation forms the basis for I/O protection, memory protection and CPU protection. Two modes are provided by the hardware – user and kernel mode. Mode bit is added to computer hardware to indicate the current mode. When system boots, hardware starts in kernel mode. The OS is loaded and then user process is started in user mode.… Read More »

Types of Network Topology

Network Topology is the representation of a network arrangement, consisting of several nodes i.e. sender and receiver nodes, and the lines connecting these nodes. Types of Network Topology : Let us look at the type of Network Topologies available. P2P Topology : Point-to-point topology is the easiest of all the network topologies. In this method, the network consists… Read More »