Constructor and destructor are the member functions with the same name as their class. The former type constructor helps in initializing an object. Conversely, a destructor is different from the constructor which deletes the created constructor when it is of no use. Sometimes it is required to initialize some part of an object before it can be utilized. For example, we are operating on the stack, before we perform any action, the top of the stack must always be set to zero. This feature of … [Read more...]
Difference Between Synchronous and Asynchronous Transmission
In the previous article, we have discussed Serial and Parallel Transmission. As we know in Serial Transmission data is sent bit by bit, in such a way that each bit follows another. It is of two types namely, Synchronous and Asynchronous Transmission. One of the major differences is that in Synchronous Transmission, the sender and receiver should have synchronized clocks before data transmission. Whereas Asynchronous Transmission does not require a clock, but it adds a parity bit to the data … [Read more...]
Difference Between OOP and POP
Procedure-oriented Programming(POP) and Object-oriented programming(OOP) both are the programming approaches, which uses high-level language for programming. A program can be written in both the languages, but if the task is highly complex, OOP operates well as compared to POP. In POP, the ‘data security’ is at risk as data freely moves in the program, as well as, ‘code reusability’ is not achieved which makes the programming lengthy, and hard to understand. Large programs lead to more bugs, … [Read more...]
Difference Between Single and Multiple Inheritance
Inheritance is a method which can derive or construct new classes from the existing class. Here our main topic of discussion is the difference between single inheritance and multiple inheritance, two types of inheritance. In single inheritance, we do have only one base class, which is inherited by only one derived class. In multiple inheritance we have more than two base class which are combinely inherited by only one derived class. Inheritance strongly supports the concept of reusability, … [Read more...]
Difference Between TCP and UDP
TCP and UDP are the transport layer protocols that are responsible to provide end-to-end communication. However, TCP is a connection-oriented protocol whereas, UDP is a connection-less protocol. Do you know why we require these protocols? Well, the layer 3 protocol that works on the IP is usually connectionless, unacknowledgeable and unreliable. Thus, these protocols don't provide the guaranteed delivery of data. So, there was a need for a protocol that would resolve the problems like … [Read more...]
Difference Between Serial and Parallel Transmission
For transferring data between computers, laptops, two methods are used, namely, Serial Transmission and Parallel Transmission. There are some similarities and dissimilarities between them. One of the primary difference is that; in Serial Transmission, data is sent bit by bit whereas, in Parallel Transmission a byte (8 bits) or character is sent at a time. The similarity is that both are used to connect and communicate with peripheral devices. Furthermore, the parallel transmission is … [Read more...]
Difference Between Internet And Intranet
Most of us get confused between the terms Internet and Intranet. Although there is a lot of disparity between them, one of the differences is that the Internet is open to all and is accessible by everyone. Intranet requires authenticated login as an organization privately owns it. As the internet is open for all, there was a need to develop a network that would specifically work for a certain range like within an organization or private community, school, college, university, etc. This is the … [Read more...]
Difference Between Antivirus and Internet Security
The “Antivirus” and “Internet Security” are the software that protects the user from malicious programs by blocking and removing them. There are some similarities and dissimilarities between them. One of the major differences is that Antivirus protects the computer from viruses whereas, Internet Security provides protection from spyware, viruses, phishing, spam, and email attachments. Internet security is considered as an umbrella term for the division of computer security that handles the … [Read more...]
Difference Between Virus And Worms
Virus and Worms are malware that is usually created to steal crucial information from the victim's computer. These are the malicious programs, which enter our computers through CDs, Pen drives, email attachments and the files we download from the Internet. The major difference between the virus and worms is that a virus spreads only when the user opens the infected program whereas the worms spread by replicating themselves to the computers connected to the network. A class of software that we … [Read more...]
Difference Between LAN, MAN and WAN
The Network allows computers to connect and communicate with different computers via any medium. LAN, MAN, and WAN are the three types of the network designed to operate over the area they cover. There are some similarities and dissimilarities between them. One of the significant differences is in the geographical area they cover, i.e. LAN covers the smallest area; MAN covers an area larger than LAN and WAN comprises the largest of all. Furthermore, LAN networks rely on the hardware and … [Read more...]