Skip to main content

Posts

Showing posts from April, 2020

Operators in Python

Operators Operators are the symbols which perform the operation on some values. These values are known as operands. For example if we write a + b, the operator + acts on the two operand a and b, this is called binary operator. If an operator acts on a single operand then it is called unary operator. Example:- -a                            Unary Minus operator +a                           Unary Plus Operator a + b                      Binary Operator Operators are divided into eight parts: Unary Operator Arithmetic Operator Assignment Operator Relational Operator Logical Operator Identity Operator Membership Op...

Network Topology

Network Topology The approach of connecting different computers in a network is known as Topology. Network topology is an arrangement of layout in which various computers are connected to one another. On the basis of network topology, network can be classified into five main types: Bus Topology Ring Topology Star Topology Mesh Topology Tree Topology Bus Topology In Bus Topology a single cable known as backbone or bus carries all the data (traffic). Communication travels in both the directions along the line, and can be received by any node. All the computers, printers and other peripheral devices that are being shared are connected to the bus.  This topology is normally used for small network. Advantages:- Failure of any computer or device does not affect others. It is easy to install and economical, as it consumes a single communication cable. A new PC can be easily connected to the existing network with just a short cable. Disadvantages:- ...