Wednesday, April 15, 2020

Network topology


q  topology is a  schematic  representation of the arrangement of a network, including Its nodes and connecting lines.
OR
The physical way the computers or nodes connect with each other is called topology.

Bus  topology


´  In the bus network topology, every workstation is connected to a main cable called the bus.
´  For this purpose, coordination is required to decide which computer has to use the line at what time.
´  In bus topology each computer is directly attached to one another through the main cable or bus.
´  The network needs fewer wires than a star, however entire network is disabled when a cable cut occurs.

Ring Topology:


´  In the ring network topology, the workstations are connected in a closed loop configuration.
´    Adjacent pairs of workstations are directly connected.
´  Other pairs of workstations are indirectly connected, the data passing through one or more intermediate nodes
´  The ring topology are logically ring but physically it may not be resemble like ring.
´  It is easy to coordinate access to other computers however entire network is disabled if a cable cut occurs.

Mesh Topology:


´  The mesh network topology employs either of two schemes, called full mesh and partial mesh.
´   In the full mesh topology, each workstation is connected directly to each of the others. 
´   In the partial mesh topology, some workstations are connected to all the others, and some are connected only to those other nodes with which they exchange the most data.

Tree Topology


´  The tree network topology uses two or more star networks connected together.
´  The central computers of the star networks are connected to a main bus.
´  Thus, a tree network is a bus network of star networks.

Star  topology:


´  In the star network topology, there is a central hub or server to which all the workstations are directly connected.
´  Every workstation is indirectly connected to every other through the central hub
´  the network are not like a star shape it may be irregular but there connection just look like a star, that is the reason this topology is called star topology or star network.
´  In term of cost of wire it take more wire than bus topology but only one computer is affected when a cable cut occurs



CLASSIFICATION OF COMPUTER NETWORK


Computer Networks are classified by four factors which are as follow:
 1)BY SIZE:
2) BY CONNECTIVITY:
3) BY MEDIUM:
4) BY MOBILITY:

´  Personal area network, or PAN
´    Local area network, or LAN
´    Metropolitan area network, or MAN
´    Wide area network, or WAN

Personal Area Network


´  personal area network, or PAN, is a computer network organized around an individual person within a single building.
´  This could be inside a small office or home.
´  A typical PAN would include one or more computers, telephones, peripheral devices, video game consoles and other personal entertainment devices.

Local Area Network


´  local area network, or LAN, consists of a computer network at a single site, typically an individual office building.
´  A LAN is very useful for sharing resources, such as data storage and printers.
´  LANs can be built with relatively inexpensive hardware, such as hubs, switch, network adapters and Ethernet cables.
´  The smallest LAN may only use two computers, while larger LANs can accommodate hundred of computers.
´  A LAN typically relies mostly on wired connections for increased speed and security, but wireless connections can also be part of a LAN.
´  High speed and relatively low cost are the defining characteristics of LANs.

Metropolitan Area Network


´  metropolitan area network, or MAN, consists of a computer network across an entire city, college campus or small region.
´   A MAN is larger than a LAN, which is typically limited to a single building or site.
´   Depending on the configuration, this type of network can cover an area from several miles to tens of miles.
´  A MAN is often used to connect several LANs together to form a bigger network.
´   When this type of network is specifically designed for a college campus, it is sometimes referred to as a campus area network, or CAN.

Wide Area Network


´  wide area network, or WAN, occupies a very large area, such as an entire country or the entire world.
´   A WAN can contain multiple smaller networks, such as LANs or MANs.
´  The Internet is the best-known example of a public WAN.




Computer Network


Two or more devices which are communicating with each other through some media are called computer network.
                                              OR
A system of interconnected computers and peripheral devices are called computer network. It can connect Computer, Scanner or Printer.

Types of computer network:


Peer-to- peer:


 peer-to-peer (P2Pnetwork is created when two or more PCs are connected and share resources without going through a separate server computer.
İt is also called P2P network.

client/server network


 A computer network in which one centralized, powerful computer (called the server) is a hub to which many less powerful personal computers or workstations (called clients) are connected.
The clients run programs and access data that are stored on the server

Advantages of computer network


q  The first major advantage of using computer network is to share resources.
q  The use of networks is in business side. Networks are used for advertising, production, shipping, planning, billing and accounting purposes.
q  Networks are very much useful at government level as federal government,  local government and military organization use networks for
 communication purposes.
q  In addition to this networks are being used in homes as well for example, to switch and control different devices from one place.
q  In education we have online libraries which we can visit at our home PC. This is all just due to the networks.




Monday, April 13, 2020

kanban



  • Flexibility in Planning
  • Limits Work-In-Progress (WIP) 
  • Pull Approach
  • Minimize Cycle Time 
  • Continuous Delivery
  •  Visual Metrics 

kanban VS scrum   video




LEAN SOFTWARE DEVELOPMENT (LSD)


Lean Principles:
  1. Eliminate Waste
  2. Amplify Learning
  3. Decide as Late as Possible
  4. Deliver as Fast as Possible
  5. Empower the Team
  6. Build Integrity In
  7. See the Whole 




Test driven development


  • It is just about writing the test before the program.
  • It’s a testing technique as well as a design Technique.
  •  In the end, there is no code without a test.
  • The developer can tell at any time.
  • Unit Tests and Refactoring are the tools of TDD.

Unit Tests:

´  Easy to read & understand.

´   Execute very quickly.
´   Independent of execution order.
´   Test specific aspects of a functionality.
´  Tests a very small section of code isolation.
     Rapid feedback

Refactoring


´  Take existing code & change it more efficient.
´  Change the internal structure of  code without changing its external
´  behavior. Ex :•ab + ac = a(b+c)
´   Same result, but the expression is simplified.

Advantages


´  Gets running code very quickly.
´  Development in small steps. This will make debugging easier since we will have small code chunks to debug. 
´  Produce fully testable code.
´  Design to the specification, don’t over engineer

Disadvantages


´  “Write test, write code to pass test, repeat” loop is   overly strict.
´   Setup requires some what complex wiring.
´  Causes people to take paths they wouldn’t otherwise




Why agile


Traditional Processes were not helping :
 Customers unhappy
 Requirement Changes are dealt through risk avoidance strategy
 i.e resist requirement change
 Eliminating change means business failure
These led to evolutions in the way we approach software development

Characteristic of agile:


  1. Produce Value Early
  2. Welcome Change
  3. Iterative Delivery
  4. Daily Business Collaboration
  5. Trust Motivated Team
  6. Face-to-Face Communication
  7. Produce Value Early
  8. Welcome Change
  9. Iterative Delivery
  10. Daily Business Collaboration
  11. Trust Motivated Team
  12. Face-to-Face Communication
Video on Agile