Both CSMA/CA and CSMA/CD are network protocols for transmission that operate in the Medium Access Control Layer, however there are significant differences in the way they operate. Read through this article to find out more about CSMA/CA and CSMA/CD and how they are different from each other.What is CSMA/CA?CSMA/CA is a network protocol for carrier transmission that stands for Carrier Sense Multiple Access with Collision Avoidance. It works in the same media access control layer as CSMA/CD. This protocol is effective before the collision.Algorithm of CSMA/CAThe algorithm of CSMA/CA is as follows −When a frame is ready, the transmitting station ... Read More
Memory management in JavaScript is much easier than in low-level languages like C or C++. Unlike low-level languages, JavaScript automatically detects which objects will be needed in later cases and which will be garbage that is occupying memory without any reason. In this article, we shall discuss how garbage collection (GC) works in JavaScript. There are a few important parts that we are going to discuss in detail− Reachability from root Interlinked Objects (interconnections between different objects) Unreachable Collections (Broken link) Reachability The first concept of memory management is reachability. In this mode, the garbage collector tries to ... Read More
Memory management is an essential task when writing a good and effective program in some programming languages. This article will help you to understand different concepts of memory management in JavaScript. In low-level languages like C and C++, programmers should care about the usage of memory in some manual fashion. On the other hand, Javascript automatically allocates memory when objects are created into the environment and also it cleans the memory when an object is destroyed. JavaScript can manage all of these on its own but this does not imply that the developers do not need to worry about the ... Read More
Vacuum tube and Transistor are types electronic switching devices used a variety of electronic devices and circuits such as computers, communication systems, power supplies, TV, radios, amplifiers, etc. However, both are significantly different from each other based on their technology and operation. In this article, we will highlight all the points that differentiate a vacuum tube from a transistor. Let's start with some basics of vacuum tubes and transistors. What is a Vacuum Tube? A vacuum tube is an electronic device used to control the current flowing in a circuit using a vacuum in a sealed glass tube. Basically, ... Read More
In every electrical system, we need to measure various electrical quantities such as current, voltage, power, energy, etc. For this purpose various types of measuring instruments have been developed to measure the respective quantity. Go through this article to find out more about wattmeter and energy meter. We also learn about the significant differences between a wattmeter and energy meter. One major difference between wattmeter and energy meter is that the wattmeter measures electrical power in the circuit, whereas the energy meter measures total amount of energy consumed by the load.What is a Wattmeter? A wattmeter is an ... Read More
Both Hubs and Bridges are network connecting devices and both of them broadcast data to every node on a network. Hubs operate at the Physical Layer and they do not perform packet filtering or addressing function; they send the data packets to all the connected devices. Bridges connect various devices in a network.A bridge operates at the data link layer to connect multiple networks. It can read the outmost section of a data packet to tell where the message is going. A bridge can be programmed to reject packets from a particular network, so it can be used to reduce ... Read More
An electric circuit that is used to start an electric motor is called a starter. Depending on the type of electric motor, there are different types of starters available. In this article, we will discuss the basics of three-point starters and four-point starters which are used for DC motor starting. We will also highlight how these two types of starters are different from each other. What is a Three Point Starter? As its name implies, a three point starter (shown in the above figure) is the one which has only three points (or terminals). A typical three point starter ... Read More
This tutorial will explain you what are the different characteristics of JavaScript 'Strict Mode'. As such, there are two different modes of programming in JavaScript. By default, the simple mode or sometimes known as the sloppy mode is enabled. In this mode, we do not need to follow strict rules while writing the code. On the other hand, the strict mode is also there. This mode enables some strict rules in the environment. Strict mode is not a subset of the sloppy mode but it also has different semantics than normal code. Syntax Strict modes can be ... Read More
A cell is a device which can convert chemical energy into electrical energy. A cell consists of two electrodes and chemical substances inside it. When the cell is connected in a circuit, the chemical reactions take place inside the cell and as a result of these chemical reactions, an electric current flows in the circuit. In this article, we will discuss about galvanic cells and electrolytic cells and how these two types of cells are different from each other.What is a Galvanic Cell?A galvanic cell is an electrochemical cell in which an electric is produced from spontaneous oxidation-reduction reactions.The galvanic ... Read More
Local Area Network (LAN) is used to connect a group of networked devices to allow communication between them, whereas Virtual LAN is used to enhance the performance of multiple LANs.Read through this article to find out more about LAN and VLAN and how they are different from each other.What is LAN?A local area network (LAN) is a network limited to a particular geographic area. A switch, or stack of switches, connects a group of computers and devices using the TCP/IP protocol's private addressing mechanism.Private addresses are distinct from those of other machines on a local network. Routers are used to ... Read More