Answer:
class Cat:
isHungry = None
play = Cat().isHungry = True
eat = Cat().isHungry = False
if play:
print("I am hungry, I cannot play")
else:
play = Cat().isHungry = False
if eat:
print("I am full, I cannot eat")
else:
eat = Cat().isHungry = True
Explanation:
Just simple if and else statements.
Use persuasion, meaning persuade them to stop
Answer:
following are the OSI Layers
1.physical layer
2.datalink layer
3.network layer
4.transport layer
5.session layer
6.presentation layer
7.application layer
Explanation:
physical layer is used to transmit media,signal and binary information
datalink layer is used for physical addressing MAC and LLC
network layer is used for path determination and ip
transport layer is for end to end communication and reliability
session layer is for interhost communication
presentation layer is for data representation and encryption
application layer is network process to application