Graphic design python turtle 🐢

from turtle import * import colorsys bgcolor('black') pensize(0) tracer(50) h=0 for i in range(300): c=colorsys.hsv_to_rgb(h,1,1) h+=0.9 color(c) forward(300) left(100) fd(i) goto(0,0) down() rt(90) begin_fill() circle(0) end_fill() rt(10) for j in range(5): rt(30) done() Please follow my blog and subscribe my channel for more videos and newly updates 👍👍👍👍👍 import turtle as t import colorsys t.bgcolor('black') t.tracer(100) h=0.4 def draw(ang,n): t.circle(5+n,60) t.left(ang) t.circle(5+n,60) for i in range(200): c=colorsys.hsv_to_rgb(h,1,1) h+=0.005 t.color(c) t.pensize(2) draw(90,i*2) draw(120,i*2.5) draw()

Framing and it's types

https://drive.google.com/file/d/1h3yY8tN8Jh7xkwO_qWplvvqbbwckU-Ch/view?usp=drivesdk 

In the above link you can check all the information about framing in detail. 

Framing

To service the network layer, data link layer uses the service provided to it by the physical layer. Physical layer accepts the raw bit stream and delivers it to destination. This bit stream may contain error i.e., number of bits received may not be equal to number of bits transmitted. various simple methods used for framing are-

  • a)        Character count
  • b)      Starting and ending character, with character stuffing
  • c)       Starting and ending flags, with bit stuffing.

The different types of framing protocols are as follows:-

  • 1)      Character-oriented Protocols
  • 2)      Bit-oriented protocols



1)      Character-oriented Protocols

The format of a frame in a character-oriented protocol . Data to be carried are 8-bit characters from a coding system like ASCII in a character-oriented protocol. 

2)      Bit-oriented protocols

The data section of a frame is a bits sequence to be interpreted by the upper layer as text, graphic, audio, video, and so on in a bit-oriented protocol. Although, in addition to headers (and possible trailers), we still required a delimiter to separate one frame from the other.

Comments

Popular posts from this blog

Protocol verification using finite state machine model in computer network

Make fire crackers using python turtle 🐢

Scope and Limitation of Machine Learning