Class Method in Python

Pradeep Elance
Updated on 17-Oct-2019 12:03:20

500 Views

A class method receives the class itself as its first argument. This way we are able to call the method inside a class without first creating an instance from the class. We just use the decorator @classmethod before the declaration of the method contained in the class and then we can directly access the method. Below are the main features of classmethids.A classmethod is bound to a class and does not depend on the instantiation of a class to be used.A classmethod can modify a class which in turn propagates to all instances of the class.Using the classmethodIn the below ... Read More

Join Several Partitions on Linux

Samual Sam
Updated on 17-Oct-2019 11:55:43

514 Views

In this article, we will create a single partition on Linux using 2 drives of 20 GB each to make a 40 GB single mount point so that we can store the data in one place with more space on the volume. Here, we are using a package called ‘mhddfs‘ which is a driver for Linux that combines several mount points into a virtual disk. This is a fuse based driver which provides an easy solution for large data storage that combines many small file systems into a single big virtual file system.Features of MhddfsWe can get System information and ... Read More

Jawbone UP3 vs Fitbit Charge HR

Samual Sam
Updated on 17-Oct-2019 11:55:21

144 Views

Jawbone and Fitbit are the two popular companies that design and develop awesome fitness trackers. More often than not, the products developed by these two companies have the tinge of perfection and look as immaculate as they should be. Having said that, the fitness tracker of Jawbone is the attention grabber and self-proclaimed “world’s most advanced tracker” called UP3. In the case of Fitbit, it is the cynosure of all eyes which is rightly called Charge HR. Approach any individual with average technical acumen, and ask him about the best fitness trackers, he would name either Jawbone UP3 or Fitbit ... Read More

Operating System Resource Management

Arnab Chakraborty
Updated on 17-Oct-2019 11:31:02

7K+ Views

An operating system (OS) is basically a collection of software that manages computer hardware resources and provides common services for computer programs. The operating system is a crucial component of the system software in a computer system.These are some few common services provided by an operating system −Program executionI/O operationsFile System manipulationCommunicationError DetectionResource AllocationProtectionIn the matter of multi-user or multi-tasking environments, resources such as main memory, CPU cycles and files storage are to be allocated to each user or job. Some major activities of an OS with respect to resource management are −The Operating System manages all kinds of resources ... Read More

Operating System Error Handling

Arnab Chakraborty
Updated on 17-Oct-2019 11:29:00

4K+ Views

An operating system (OS) is basically a collection of software that manages computer hardware resources and provides common services for computer programs. Operating system is a crucial component of the system software in a computer system.These are some few common services provided by an operating system −Program executionI/O operationsFile System manipulationCommunicationError DetectionResource AllocationProtectionErrors can occur anytime and anywhere in operating system. An error can occur in CPU, in I/O devices or in the memory hardware. Some major activities of an operating system with respect to error handling are−The Operating System constantly checks for possible errors.The Operating System takes an appropriate ... Read More

Process Communication in Operating System

Arnab Chakraborty
Updated on 17-Oct-2019 11:27:36

6K+ Views

Processes that executing concurrently in the operating system may be either independent processes or cooperating processes. if a process cannot affect or be affected by the other processes executing in the system then the process is said to be independent. So any process that does not share any data with any other process is independent. A process is said to be cooperating if it can affect or be affected by the other processes executing in the system. So it is clear that, any process which shares its data with other processes is a cooperating process.There are many reasons for providing ... Read More

File System Manipulation

Arnab Chakraborty
Updated on 17-Oct-2019 11:22:43

4K+ Views

An operating system (OS) is basically a collection of software that manages computer hardware resources and provides common services for computer programs. Operating system is a crucial component of the system software in a computer system.These are some few common services provided by an operating system −Program executionI/O operationsFile System manipulationCommunicationError DetectionResource AllocationProtectionA file represents a collection of related information. Computers may store files on the disk (secondary storage), for long-term storage purpose. Some Examples: magnetic tape, magnetic disk and optical disk drives like CD, DVD. They have its own properties like speed, capacity, data transfer rate and data access ... Read More

Operating System Input/Output (I/O)

Arnab Chakraborty
Updated on 17-Oct-2019 11:21:41

9K+ Views

The three main jobs of a computer are Input, Output, and Processing. In most of the cases, the most important job is Input / Output, and the processing is simply incidental. For an example, when we browse a web page or edit any file, our immediate attention is to read or enter some information, not for computing an answer. The fundamental role of the operating system in computer Input / Output is to manage and organize I/O operations and all I/O devices.The various devices that are connected to the computer need to be controlled and it is a key concern ... Read More

Program Execution in CPU

Arnab Chakraborty
Updated on 17-Oct-2019 11:19:43

2K+ Views

One may be amazed how the CPU is programmed. A special register is contained in CPU-the instruction register-whose bit pattern determines what the CPU will do. Once that action has been completed, the bit pattern in the instruction register can be changed, and the CPU will perform the operation specified by this next bit pattern.Most of the modern CPUs use an instruction queue. Some instructions are waiting in the queue, ready to be executed. Different electronic circuitry keeps the instruction queue full while the control unit is executing the instructions. But this is simply an implementation details that allows the ... Read More

Network Operating System and RTOS

Arnab Chakraborty
Updated on 17-Oct-2019 11:16:14

5K+ Views

An operating system (OS) is basically a collection of software that manages computer hardware resources and provides common services for computer programs. Operating system is a crucial component of the system software in a computer system. Network Operating System is one of the important type of operating system.Network Operating System runs on a server and gives the server the capability to manage data, users, groups, security, applications, and other networking functions. The basic purpose of the network operating system is to allow shared file and printer access among multiple computers in a network, typically a local area network (LAN), a private ... Read More

Advertisements