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()

Protocol verification using finite state machine model in computer network

Protocol Verification Using Finite State Machine Model:-

The finite state machine is a mainly used in several protocol models with this technique, every protocol machine is always in a particular state at every time instant. Variables, including the program counter.

From every state, there are zero or more possible transition to other states. When some event happens, transition take place. In case of a protocol machine, a transition might take place if a frame is transmitted, if a frame arrives, if a timer expires, if an interrupt takes place, etc.

One particular state is designated as the initial state. This state corresponds to the description of the system when it starts running, or at some convenient starting place shortly thereafter. From the initial state, some, perhaps all, of the other states may be approached by a sequence of transition. this technique is called reachability analysis. This analysis can be helpful in determining whether a protocol is correct.

All processes are in their initial states at the starting of time. Then events start to happen, like frames becoming available for transmission or timers going off. To take an action and switch to a new state each event can cause one of the processes or the channel. One can construct the reachability graph and analyze the protocol, by carefully enumerating every possible successor to each state.


If you want to learn in detail so please click this link 😃😃

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


Comments

Popular posts from this blog

Make fire crackers using python turtle 🐢

Scope and Limitation of Machine Learning