FTP is used for copying files from one host to another host location. FTP works on Port 20 and 21. Port 20 is used for data and Port 21 is used for connection control.TFTP is lighter than FTP and is used when a file transfer functionality is needed without FTP features. It works on Port 69 and follows the UDP protocol.Read through this article to find out more about FTP and TFTP and how they are different from each other.What is FTP?FTP stands for File Transfer Protocol. It is a client/server protocol for sending files to and from a host ... Read More
In JavaScript, the closure is an environment which helps us to access an outer function’s scope from an inner function. In JavaScript, when a function is created, the closure also created. In other words, we can say closure is a way which allows functions that is present inside outer functions to access the outer function’s scope. In this article we are focusing on some practical uses of Closures in JavaScript. Syntax function outerFunction(){ function updateProperty(){ } return updateProperty() } ... Read More
Both FTP and SFTP are file transfer protocols and they are used to transfer files from one system to another. FTP does not use any secure channel to transfer files, whereas SFTP uses SSH protocol to establish a control connection. SFTP is highly secure than FTP.Read through this article to find out more about FTP and SFTP and how they are different from each other.What is File Transfer Protocol (FTP)?FTP stands for File Transfer Protocol; it is a client/server protocol for sending files to and from a host computer. User names and passwords can be used to authenticate FTP.Some websites ... Read More
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
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP