Posts

Showing posts from October, 2020

👉Computer Network topologies

Image
👉📓  What is a Topology Network Topology is the schematic description of a network arrangement, connecting various nodes (sender and receiver) through lines of connection. Network topologies describe the ways in which the elements of a network are mapped. They describe the physical and logical arrangement of the network nodes. ❖ Types of Network Topology   ➢ Bus Topology  Bus topology is a network type in which every computer and network device is connected to single cable. When it has exactly two endpoints, then it is called Linear Bus topology. Features of Bus Topology   1. It transmits data only in one direction.  2. Every device is connected to a single cable.  Advantages of Bus Topology  1. It is cost effective.  2. Cable required is least compared to other network topology.  3. Used in small networks.  4. It is easy to understand.  5. Easy to expand joining two cables together. Disadvantages of Bus Topology   1. Cables f...

👉Object Oriented Programming in C++

Image
 ðŸ‘‰ Object Oriented programming is a programming style that is associated with the concept of Class, Objects and various other concepts revolving around these two, like Inheritance, Polymorphism, Abstraction, Encapsulation etc. Class Here we can take  Human Being  as a class. A class is a blueprint for any functional entity which defines its properties and its functions. Like Human Being, having body parts, and performing various actions. Inheritance Considering  HumanBeing  a class, which has properties like hands, legs, eyes etc, and functions like walk, talk, eat, see etc.  Male  and  Female  are also classes, but most of the properties and functions are included in  HumanBeing , hence they can inherit everything from class  HumanBeing  using the concept of  Inheritance . Objects My name is Abhishek, and I am an  instance/object  of class  Male . When we say, Human Being, Male or Female, we just mean a ki...

👉C++ Programming Tutorial

 ðŸ‘‰Introduction to C++ C++, as we all know is an extension to C language and was developed by  Bjarne stroustrup  at bell labs. C++ is an intermediate level language, as it comprises a confirmation of both high level and low level language features. C++ is a statically typed, free form, multiparadigm, compiled general-purpose language. C++ is an  Object Oriented Programming language  but is not purely Object Oriented. Its features like  Friend  and  Virtual , violate some of the very important OOPS features, rendering this language unworthy of being called completely Object Oriented. Its a middle level language. Benefits of C++ over C Language The major difference being OOPS concept, C++ is an object oriented language whereas C language is a procedural language. Apart form this there are many other features of C++ which gives this language an upper hand on C laguage. Following features of C++ makes it a stronger language than C, There is Stronger ...

Introduction to Algorithms 👈

Image
👉  What is Algorithm? Algorithm Basics. The word  Algorithm  means “a process or set of rules to be followed in calculations or other problem-solving operations”. Therefore Algorithm refers to a set of rules/instructions that step-by-step define how a work is to be executed upon in order to get the expected results.  As one would not follow any written instructions to cook the recipe, but only the standard one. Similarly, not all written instructions for programming is an algorithm. In order for some instructions to be an algorithm, it must have the following characteristics: Clear and Unambiguous : Algorithm should be clear and unambiguous. Each of its steps should be clear in all aspects and must lead to only one meaning. Well-Defined Inputs : If an algorithm says to take inputs, it should be well-defined inputs. Well-Defined Outputs:  The algorithm must clearly define what output will be yielded and it should be well-defined as well. Finite-ness:  The a...